You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Jeffrey Hagelberg (JIRA)" <ji...@codehaus.org> on 2014/07/23 20:24:10 UTC

[jira] (MRM-1855) "Loading" button never disappears when no one is logged in in some browsers

Jeffrey Hagelberg created MRM-1855:
--------------------------------------

             Summary: "Loading" button never disappears when no one is logged in in some browsers
                 Key: MRM-1855
                 URL: https://jira.codehaus.org/browse/MRM-1855
             Project: Archiva
          Issue Type: Bug
          Components: Web Interface
    Affects Versions: 2.1.0
         Environment: Google Chrome 36.0.1985.125 m
Firefox ESR 24.2
            Reporter: Jeffrey Hagelberg
         Attachments: fix.patch

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



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)