History | Log In     View a printable version of the current page.  
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 09:37 AM   Updated: 03/Jul/07 08:36 PM
Component/s: Tiles 1 Plugin
Affects Version/s: 1.3.5
Fix Version/s: 1.3.6

Flags: Patch, Important


 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 - 25/Aug/06 10:07 AM
Thanks for reporting this.

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

Niall Pemberton - 25/Aug/06 10:37 AM
Fixed, thanks for pointing this out

Wendy Smoak - 25/Aug/06 10:44 AM
Do you think this should prevent 1.3.5 from going GA?

Niall Pemberton - 25/Aug/06 11:32 AM
Not IMO.