Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2524

Non-resource action message only works for the first message in the messages list.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.2.7
    • 1.2.8
    • Tag Libraries
    • None
    • Operating System: All
      Platform: All
    • 35833

    Description

      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() :"

      Attachments

        Activity

          People

            Unassigned Unassigned
            chadwickboggs@yahoo.com Chadwick Boggs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: