Uploaded image for project: 'XWork'
  1. XWork
  2. XW-130

UnsupportedOperationException when ChainingInterceptor is used and addActionError is called.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.0
    • 1.0
    • Interceptors
    • None

    Description

      When the ChainingInterceptor is used to chain between two actions that extends ActionSupport the method getActionErrors returns an unmodifiable collection (from ValidationAwareSupport) and puts it on the second action with setActionErrors. Then it is not possible to use the addActionError method on the second action because an UnsupportedOperationException is thrown.

      Attachments

        Activity

          People

            jcarreira Jason Carreira
            magnus Magnus Torfason
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: