Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-836

Scriptrunner doesn't clean up MultiParentClassLoader on plugin enabled event

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.6.8
    • Component/s: None
    • Labels:
      None
    • Critical Points:
      1

      Description

      Scriptrunner doesn't clean up MultiParentClassLoader on plugin enabled event.
      MultiParentClassLoader stores result of plugin classloader resolution for @WithPlugin annotation. It got reset on plugin disabled event, but not on plugin enabled event.

      In case when WithPlugin annotation was used before referenced plugin is enabled, unsuccessful result of resolution is stored and it should be cleared if corresponding plugin is enabled, to allow MultiParentClassLoader attempt resolution again.

        Attachments

          Activity

            People

            Assignee:
            szaporozhtsev Sergey Zaporozhtsev [X] (Inactive)
            Reporter:
            szaporozhtsev Sergey Zaporozhtsev [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: