Struts 2
  1. Struts 2
  2. WW-2477

tags declaring dynamic-attributes=true but not implementing DynamicAttributes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: Other
    • Labels:
      None
    • Environment:

      any

      Description

      When a tag is declared having <dynamic-attributes>true</dynamic-attributes>, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. If the tag's class does not implement this interface, then the application server will throw a 500 any time a page is accessed that contains the "unsafe" tag.

      1. first_commit.patch
        6 kB
        Wes Wannemacher

        Activity

        Wes Wannemacher created issue -
        Hide
        Wes Wannemacher added a comment -

        I will try to commit this myself.

        Show
        Wes Wannemacher added a comment - I will try to commit this myself.
        Wes Wannemacher made changes -
        Field Original Value New Value
        Attachment first_commit.patch [ 13705 ]
        Wes Wannemacher made changes -
        Assignee Wes Wannemacher [ wesw@wantii.com ]
        Hide
        Wes Wannemacher added a comment -

        Tags updated, updated test added.

        Show
        Wes Wannemacher added a comment - Tags updated, updated test added.
        Wes Wannemacher made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1.1 [ 21863 ]
        Resolution Fixed [ 1 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 44903 ] Struts - editable closed status (temporary) [ 46490 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status (temporary) [ 46490 ] Struts - editable closed status [ 49733 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
        Lukasz Lenart made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        20h 54m 1 Wes Wannemacher 10/Feb/08 18:30
        Resolved Resolved Closed Closed
        1722d 3h 41m 1 Lukasz Lenart 28/Oct/12 22:12

          People

          • Assignee:
            Wes Wannemacher
            Reporter:
            Wes Wannemacher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development