App resources get loaded twice

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 8.8.0
    • Affects Version/s: 7.16.0
    • Component/s: Core - Web Resources
    • None
    • 7
    • Severity 3 - Minor

      Summary

      A Vendor encountered an apparent but that makes their plugin resources be loaded and executed twice in some Confluence versions >= 7.16.0 and < 8.0.0, and if other certain macros are also on the page.

      Steps to reproduce

        • Add a "Multivote macro"
        • Add any UI macro from Refined (e.g., "UI Button")
      • Save the page

      Expected result: everything works as expected, as if only one of the macros is present on the page
      Actual result: Multivote resources are loaded and executed twice and all REST calls to MV are executed twice

      The vendor elaborates that as this behaviour is not seen in all Confluence versions, there may be a bug present regarding web resource loading in combination with Webpack and the Atlassian webresource-webpack-plugin that both apps use.

            Assignee:
            Guilherme Jansen (Inactive)
            Reporter:
            Guilherme Jansen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: