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

Confluence Mobile Will Not Load Pages until the Cache Is Flushed

    XMLWordPrintable

Details

    Description

      When using Confluence Mobile, a user will navigate to a page and it will see a spinning loading page. This loading page will never finish. At this point flushing either Web Resource Keys And Condition State Set or Web Resource Keys Condition List and have the user reload the page. At this point it will load it successfully.

      After testing, we found this always occurs when a user looks at a Confluence page that does not have a note macro, followed by a page that has certain macros. It will always cause this issue.

      Reproduction steps:

      1. Install Confluence
      2. Create a page
        1. Give this page a title (Ex. Page 1)
        2. Save it with no content
      3. Create a second page
        1. Give this page a title (Ex. Page 2)
        2. Use the note macro to create a note, with any text in it (Ex. "This is a note")
        3. Save this page
      4. Force your browser to use the mobile interface by going to <base_url>/plugins/servlet/mobile#dashboard/
      5. Open Page 1
      6. Go back to the dashboard
      7. Open Page 2
      8. See the Loading Screen and wait for however long you would like (it will never finish loading)
      9. Go to the Cache Statistics page (in another tab)
      10. Flush either Web Resource Keys And Condition State Set or Web Resource Keys Condition List
      11. Go back to the tab with the mobile interface, hit refresh, the page will load.

      Expected behavior

      Page 2 loads, and you see the page with the note macro

      Actual behavior

      Page 2 never loads, if you try to navigate to any other page (including back to the dashboard) it will still be stuck on the loading page. At this point, the cache needs to be flushed (either flush all, Web Resource Keys And Condition State Set, or Web Resource Keys Condition List.

      Macros That Cause This Behavior

      • Table Of Contents
      • Children Display
      • Info
      • Code
      • Expand
      • Note

      Macros That Do Not Cause This Behavior

      • Panel
      • Status

      Related Notes

      • This can be worked around by either:
        • Removing all note macros from Confluence
        • Setting the Web Resource Keys Condition List cache to 1. This will slow down Confluence (as resources aren't cached) and occasionally you will encounter the loading screen but it will resolve itself.
        • Flushing the cache when a user complains that they get the loading screen
      • You can find a workaround at Pages Stuck on Loading Screen When Using Confluence Mobile

      Attachments

        Issue Links

          Activity

            People

              pcurren Paul Curren
              sbrannen@atlassian.com Branno
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: