Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-5894

CMS login causes ExtJS Javascript error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.22.01, 2.23.01-alpha
    • 2.22.02, 2.23.02-alpha
    • None
    • None

    Description

      The CMS logs a Javascript error when a user logs in. Steps to reproduce:

      1. open Firefox and enable the Firebug console
      2. start GoGreen locally with "mvn -Pcargo.run"
      3. log in to the CMS as admin with the English language selected

      Expected behavior: no Javascript errrors are logged
      Actual behavior: the following Javascript error is logged:

      "Ext is not defined"
      in ext-lang-en.js at line 15:
      Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';

      The error is caused by the wrong order in which the ExtJS javascript sources are loaded: ext-lang-en.js is loaded before ext-base.js and ext-all.js, so the Ext object does not exist when ext-lang-en.js is evaluated.

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              mdenburger Mathijs den Burger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: