Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1.0
-
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