Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-62034

ApplicationUsers' static methods will call components from pico with incorrect class loader if called from plugin

    XMLWordPrintable

    Details

      Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      ApplicationUsers is our recommended way do to deal with ApplicationUser class in plugins. However when call from within plugin it will use plugin's classloader to access JIRA's components from pico. Normally when plugin accesses those components class loader is changed to webapp class loader.

      This can cause many different problems. Also this probably means that plugins need to import much more packages than it would normally be required.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              pbugalski Pawel Bugalski (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: