Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-79630

Create compat-lib to handle basic compat API for Webwork/Struts

    XMLWordPrintable

Details

    Description

      Issue Summary

      Since Struts 2 upgrade is a breaking change, plugins would require a compatibility layer to keep a single version running across 7.x/8.x of Confluence.

      We can provide it to cover >90% of the cases. This would help in reducing friction in Vendor adoption of 8.0

      Few compatibility layers required inside confluence-compat-lib would need to cater for:

      • Constants
      • ActionContext/ServletActionContext
      • VelocityUtils bridge for static methods(if needed)

      This is reproducible on Data Center: (yes) 

      Steps to Reproduce

      1. Use Struts based Confluence 8.0

      Expected Results

      Single version of plugin using ServletActionContext can work with both Confluence 7.x and 8.x

      Actual Results

      Currently, two different versions are required.

      Workaround

      Currently there is no known workaround for this behavior. Plugins would need two versions for compatibility.

      Attachments

        Issue Links

          Activity

            People

              8d92d18aad77 Bhanu Darisi
              ggautam Ganesh Gautam
              Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: