Issue Details (XML | Word | Printable)

Key: SHALE-266
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Prashant Kadam
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

More than one pattern of URL mappings for Faces Servlet ignored.

Created: 31/Aug/06 02:20 AM   Updated: 25/Sep/08 04:26 AM
Return to search
Component/s: Remoting
Affects Version/s: 1.0.3
Fix Version/s: 1.0.4

Issue Links:
Incorporates
 


 Description  « Hide
There was already a bug filed related to this issue:

http://issues.apache.org/struts/browse/SHALE-178

I have Shale version 1.03 and still this is a issue. I stepped throught the source code and came across a bug in org.apache.shale.remoting.impl.MappingImpl source. In method --> public String mapResourceId(FacesContext context, String resourceId) only the first pattern is considered.





 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig McClanahan added a comment - 16/Dec/06 02:24 AM
In addition to the earlier fix provided for SHALE-178, it is now possible to specify the zero relative index of the URL pattern to use when generating URLs for resource identifiers. Specify this with a context init parameter named "org.apache.shale.remoting.FACES_SERVLET_MAPPING_INDEX". If not specified, the default value is zero (meaning the first, or only, mapping will be used).