You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/07/22 22:55:17 UTC

DO NOT REPLY [Bug 35833] New: - Non-resource action message only works for the first message in the messages list.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35833>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35833

           Summary: Non-resource action message only works for the first
                    message in the messages list.
           Product: Struts
           Version: 1.2.7
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ErrorMessage
          Severity: blocker
          Priority: P1
         Component: Custom Tags
        AssignedTo: dev@struts.apache.org
        ReportedBy: chadwickboggs@yahoo.com


MessagesTag.java line 205 checks ActionMessage.isResource for the first
messages, but line 254, which process the rest of the messages, fails to perform
this check.  The bug that results is that non-resource messages are only
possible for the first message.  Simple change line 254 to the follow to fix
this bug: "String msg = !report.isResource() ? report.getKey() :"

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org