Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1855

"Loading" button never disappears when no one is logged in in some browsers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1.0
    • 2.1.1
    • Web Interface
    • None
    • Google Chrome 36.0.1985.125 m
      Firefox ESR 24.2
    • Patch

    Description

      I saw this in the following browsers:

      Google Chrome 36.0.1985.125 m
      Firefox ESR 24.2

      I debugged this in my browser to a problem in main.js handling the case when the archiva_login cookie is not set (and so $.cookie('archiva_login') is not defined). In that case, Archiva is trying to parse an undefined value and failing. This causes getUserFromLogicCookie (and startArchivaApplication(...) to terminate abnormally. As a result, the Loading div never gets hidden.

      I've created a patch which fixes the issue for me.

      Patch is for apps\archiva\js\archiva\main.js

      Attachments

        1. fix.patch
          0.4 kB
          Jeffrey Hagelberg

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              jnhagelb Jeffrey Hagelberg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: