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

ObjectFactory constructor signature change breaks extensions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.13
    • Fix Version/s: 2.5.14
    • Component/s: Core
    • Labels:
      None

      Description

      Commit 6f91d0776a545c911ca4f2875ed9976614711ef9 changed the signature of the ObjectFactory constructor, breaking all classes that extend ObjectFactory (as per https://struts.apache.org/docs/objectfactory.html). This affects eg the guice-servlet Struts plugin.

      This was not listed on the 2.5.13 version notes as a breaking change, and breaking changes should preferably be avoided in critical security updates.

        Attachments

        1. WW-4849_analyze.png
          100 kB
          Yasser Zamani

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              thrawnca Mitth'raw'nuruodo
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: