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 made changes - 14/Dec/06 12:45 AM
Field Original Value New Value
Fix Version/s TBD [ 21773 ]
Craig McClanahan made changes - 16/Dec/06 01:42 AM
Link This issue contains SHALE-360 [ SHALE-360 ]
Repository Revision Date User Message
ASF #487748 Sat Dec 16 02:21:54 UTC 2006 craigmcc Make it possible to configure which URL mapping to use (for the specified or
default FacesServlet servlet) when manufacturing URLs for resource identifiers.
This should help reduce conflicts in scenarios when other libraries are in use
that require alternative URL mappings.

SHALE-266
Files Changed
MODIFY /shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/chain-config.xml
MODIFY /shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/web.xml
MODIFY /shale/framework/trunk/shale-remoting/src/main/java/org/apache/shale/remoting/impl/MappingImpl.java
MODIFY /shale/framework/trunk/shale-remoting/src/main/java/org/apache/shale/remoting/faces/MappingsHelper.java
MODIFY /shale/framework/trunk/shale-remoting/src/main/java/org/apache/shale/remoting/impl/MappingsImpl.java
MODIFY /shale/framework/trunk/shale-remoting/src/main/java/org/apache/shale/remoting/Constants.java
MODIFY /shale/framework/trunk/shale-remoting/src/main/java/org/apache/shale/remoting/Mappings.java

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).

Craig McClanahan made changes - 16/Dec/06 02:24 AM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s TBD [ 21773 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
Rahul Akolkar made changes - 23/Jan/07 04:40 PM
Fix Version/s 1.0.4 [ 21790 ]
Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
Jeff Turner made changes - 09/Aug/07 07:15 AM
Workflow Struts [ 38687 ] Struts - editable closed status [ 41723 ]
Craig McClanahan made changes - 25/Sep/08 04:26 AM
Comment [ http://www.bloglines.com/forums/read.php?24,258624
http://www.bloglines.com/forums/read.php?24,258622
http://www.bloglines.com/forums/read.php?24,258619
http://www.bloglines.com/forums/read.php?24,258617
http://www.bloglines.com/forums/read.php?24,258615
http://www.bloglines.com/forums/read.php?24,258612
http://www.bloglines.com/forums/read.php?24,258610
http://www.bloglines.com/forums/read.php?24,258607
http://www.bloglines.com/forums/read.php?24,258604
http://www.bloglines.com/forums/read.php?24,258600
http://www.bloglines.com/forums/read.php?24,258598
http://www.bloglines.com/forums/read.php?24,258595
http://www.bloglines.com/forums/read.php?24,258592
http://www.bloglines.com/forums/read.php?24,258588
http://www.bloglines.com/forums/read.php?24,258584
http://www.bloglines.com/forums/read.php?24,258581
http://www.bloglines.com/forums/read.php?24,258577
http://www.bloglines.com/forums/read.php?24,258575
http://www.bloglines.com/forums/read.php?24,258571
http://www.bloglines.com/forums/read.php?24,258568
http://www.bloglines.com/forums/read.php?24,258566
http://www.bloglines.com/forums/read.php?24,258560
http://www.bloglines.com/forums/read.php?24,258547
http://www.bloglines.com/forums/read.php?24,258544
http://www.bloglines.com/forums/read.php?24,258540
http://www.bloglines.com/forums/read.php?24,258537
http://www.bloglines.com/forums/read.php?24,258534
http://www.bloglines.com/forums/read.php?24,258532
http://www.bloglines.com/forums/read.php?24,258529
http://www.bloglines.com/forums/read.php?24,258526
http://www.bloglines.com/forums/read.php?24,258524
http://www.bloglines.com/forums/read.php?24,258522
http://www.bloglines.com/forums/read.php?24,258518
http://www.bloglines.com/forums/read.php?24,258502
http://www.bloglines.com/forums/read.php?24,258494
http://www.bloglines.com/forums/read.php?24,258484
http://www.bloglines.com/forums/read.php?24,258470
http://www.bloglines.com/forums/read.php?24,258453
http://www.bloglines.com/forums/read.php?24,258448
http://www.bloglines.com/forums/read.php?24,258443
http://www.bloglines.com/forums/read.php?24,258440
http://www.bloglines.com/forums/read.php?24,258437
http://www.bloglines.com/forums/read.php?24,258433
http://www.bloglines.com/forums/read.php?24,258428
http://www.bloglines.com/forums/read.php?24,258425
http://www.bloglines.com/forums/read.php?24,258423
http://www.bloglines.com/forums/read.php?24,258415
http://www.bloglines.com/forums/read.php?24,258410
http://www.bloglines.com/forums/read.php?24,258407
http://www.bloglines.com/forums/read.php?24,258405
http://www.bloglines.com/forums/read.php?24,258402
http://www.bloglines.com/forums/read.php?24,258400
http://www.bloglines.com/forums/read.php?24,258398
http://www.bloglines.com/forums/read.php?24,258395
http://www.bloglines.com/forums/read.php?24,258393
http://www.bloglines.com/forums/read.php?24,258391
http://www.bloglines.com/forums/read.php?24,258388
http://www.bloglines.com/forums/read.php?24,258386
http://www.bloglines.com/forums/read.php?24,258384
http://www.bloglines.com/forums/read.php?24,258382
http://www.bloglines.com/forums/read.php?24,258379
http://www.bloglines.com/forums/read.php?24,258377
http://www.bloglines.com/forums/read.php?24,258375
http://www.bloglines.com/forums/read.php?24,258372
http://www.bloglines.com/forums/read.php?24,258368
http://www.bloglines.com/forums/read.php?24,258366
http://www.bloglines.com/forums/read.php?24,258364
http://www.bloglines.com/forums/read.php?24,258360
http://www.bloglines.com/forums/read.php?24,258358
http://www.bloglines.com/forums/read.php?24,258353
http://www.bloglines.com/forums/read.php?24,258349
http://www.bloglines.com/forums/read.php?24,258346
http://www.bloglines.com/forums/read.php?24,258343
http://www.bloglines.com/forums/read.php?24,258341
http://www.bloglines.com/forums/read.php?24,258339
http://www.bloglines.com/forums/read.php?24,258336
http://www.bloglines.com/forums/read.php?24,258333
http://www.bloglines.com/forums/read.php?24,258330
http://www.bloglines.com/forums/read.php?24,258328
http://www.bloglines.com/forums/read.php?24,258326
http://www.bloglines.com/forums/read.php?24,258323
http://www.bloglines.com/forums/read.php?24,258320
http://www.bloglines.com/forums/read.php?24,258317
http://www.bloglines.com/forums/read.php?24,258314
http://www.bloglines.com/forums/read.php?24,258311
http://www.bloglines.com/forums/read.php?24,258308
http://www.bloglines.com/forums/read.php?24,258306
http://www.bloglines.com/forums/read.php?24,258302
http://www.bloglines.com/forums/read.php?24,258300
http://www.bloglines.com/forums/read.php?24,258296
http://www.bloglines.com/forums/read.php?24,258294
http://www.bloglines.com/forums/read.php?24,258291
http://www.bloglines.com/forums/read.php?24,258288
http://www.bloglines.com/forums/read.php?24,258285
http://www.bloglines.com/forums/read.php?24,258283
http://www.bloglines.com/forums/read.php?24,258281
http://www.bloglines.com/forums/read.php?24,258278
http://www.bloglines.com/forums/read.php?24,258276
http://www.bloglines.com/forums/read.php?24,258274
http://www.bloglines.com/forums/read.php?24,258271
http://www.bloglines.com/forums/read.php?24,258269
http://www.bloglines.com/forums/read.php?24,258266
http://www.bloglines.com/forums/read.php?24,258264
http://www.bloglines.com/forums/read.php?24,258261
http://www.bloglines.com/forums/read.php?24,258258
http://www.bloglines.com/forums/read.php?24,258256
http://www.bloglines.com/forums/read.php?24,258253
http://www.bloglines.com/forums/read.php?24,258249
http://www.bloglines.com/forums/read.php?24,258095
http://www.bloglines.com/forums/read.php?24,258094
http://www.bloglines.com/forums/read.php?24,258092 ]
Antonio Petrelli made changes - 08/Jan/09 08:56 AM
Workflow Struts - editable closed status [ 41723 ] Struts - editable closed status (temporary) [ 45922 ]
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
Workflow Struts - editable closed status (temporary) [ 45922 ] Struts - editable closed status [ 52605 ]