Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9102

Ability for plugins to override existing xwork actions

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      There is no clean way of overriding existing xwork actions through the plugin infrastructure.

      The recommended solution (discussed in this thread) is reproducing the pages package in the atlassian-plugin.xml, or making the change directly in xwork.xml.

      The solutions is not appropriate for plugins because:

      • copy-pasting the pages packages from xwork.xml would require having a version of the plugin for each version of confluence that has changes on xwork.xml
      • Replacing the class in xwork.xml would not work either, because it is read upon startup, before the plugins are loaded, thus the loader does not find the new class (lots of exceptions thrown)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cab5e2ae7e1f Roberto Dominguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: