Uploaded image for project: 'SR for Confluence - Development'
  1. SR for Confluence - Development
  2. SRCONF-713

404 on lazy loading gears.gif for script macros

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 5.4.50
    • Fix Version/s: 6.3.0
    • Component/s: None
    • Labels:
    • Sprint:
      SR4C Sprint 136, SR4C Sprint 137, SR4C Sprint 138
    • Critical Points:
      2.2

      Description

      Steps to Reproduce

      • Configure a new Script Macro with the following groovy, to simulate a macro which takes a few seconds to load:
      Thread.sleep(5000)
      '<button>Hello <b>world</b></button>!'
      
      • Enable Lazy Loading
      • Save the macro and save the page
      • View the page

      Expected Result

      Gears icon appears while macro is loading, followed by successful load.

      Actual Result

      The macro loads properly but while waiting, there is no gears icon due to a 404.

      StackTrace

      Failed to load resource: the server responded with a status of 404 () :4001/s/en_GB/7901/4635873c8e185dc5df37b4e2487dfbef570b5e2c/5.6.7/_/download/resources/com.onresolve.confluence.groovy.groovyrunner:lazy-loaded-macro-resources/gears.gif:1 Failed to load resource: the server responded with a status of 404 ()

       

        Attachments

          Structure

            Activity

              People

              Assignee:
              twortham Tiffany Wortham
              Reporter:
              tgough Tony Gough
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel