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

ObjectFactory constructor signature change breaks extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.13
    • 2.5.14
    • Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: