Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4180

Model sets twice if result type Chain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.3.15.1
    • 2.3.20
    • Core Interceptors
    • None

    Description

      We encountered the major issue after upgrade Struts to 2.3.15.1.
      We have action that implements ModelDriven. The result type is chain that forwards to another action.
      In the first action we update some of the model properties and then store model in session.
      The problem occurs just before calling method from chain action. Struts calls model setters second time and overrides all previous changes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ydench Yuri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: