Issue Details (XML | Word | Printable)

Key: STR-2935
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Niall Pemberton
Reporter: Scott Van Wart
Votes: 0
Watchers: 0
Operations

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

Tiles resource chain-config.xml missing RemovedCachedMessages and SetOriginalURI

Created: 25/Aug/06 04:37 PM   Updated: 04/Jul/07 03:36 AM
Component/s: Tiles 1 Plugin
Affects Version/s: 1.3.5
Fix Version/s: 1.3.6

Flags: Important, Patch


 Description  « Hide
diff -Naur struts-1.3.5.orig/src/tiles/src/main/resources/org/apache/struts/tiles/chain-config.xml struts-1.3.5/src/tiles/src/main/resources/org/apache/struts/tiles/chain-config.xml
--- struts-1.3.5.orig/src/tiles/src/main/resources/org/apache/struts/tiles/chain-config.xml 2006-08-05 16:21:34.000000000 -0300
+++ struts-1.3.5/src/tiles/src/main/resources/org/apache/struts/tiles/chain-config.xml 2006-08-25 13:35:57.000000000 -0300
@@ -87,6 +87,8 @@
                                    point in the chain without modifying the
                                    standard definition.
 
+ processCachedMessages RemoveCachedMessages
+
            processMapping SelectAction (which also does processPath)
 
            processRoles AuthorizeAction
@@ -128,6 +130,9 @@
       <command
           className="org.apache.struts.chain.commands.servlet.SetContentType"/>
 
+ <!-- Remove messages cached in the Session -->
+ <command
+ className="org.apache.struts.chain.commands.RemoveCachedMessages"/>
 
       <!-- Identify the ActionConfig for this request -->
       <command


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Niall Pemberton added a comment - 25/Aug/06 05:07 PM
Thanks for reporting this.

Looks like the SetOriginalUriCommand is also missing from the tiles version of the chanin-config.xml

Niall Pemberton added a comment - 25/Aug/06 05:37 PM
Fixed, thanks for pointing this out

Wendy Smoak added a comment - 25/Aug/06 05:44 PM
Do you think this should prevent 1.3.5 from going GA?

Niall Pemberton added a comment - 25/Aug/06 06:32 PM
Not IMO.