Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-15185

Users may receive Javascript errors when browsing Agile boards when profile is set to a non-English language

    XMLWordPrintable

Details

    Description

      Summary

      Using an account with a language other than English is selected as default language, when accessing the Jira Software Boards, the following error is thrown:

      Exception: Uncaught TypeError: Cannot read property '1' of null
      TypeError: Cannot read property '1' of null
      at getParamValue (http://172.22.200.130:8407/GHS-59407/s/64c9c39c64ce4696ceb92802a1ae0d03-CDN/-cama6b/72004/b6b48b2829824b869586ac216d119363/f3d689d08fda493b0fbf8499edfa7c95/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.global,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&atlassian.aui.raphael.disabled=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=ru-RU&nps-acknowledged=true&nps-not-opted-out=true&sd_operational=true:136674:58)
      at Function._format (http://172.22.200.130:8407/GHS-59407/s/64c9c39c64ce4696ceb92802a1ae0d03-CDN/-cama6b/72004/b6b48b2829824b869586ac216d119363/f3d689d08fda493b0fbf8499edfa7c95/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.global,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&atlassian.aui.raphael.disabled=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=ru-RU&nps-acknowledged=true&nps-not-opted-out=true&sd_operational=true:136763:20)
      at Function.AJS.format (http://172.22.200.130:8407/GHS-59407/s/64c9c39c64ce4696ceb92802a1ae0d03-CDN/-cama6b/72004/b6b48b2829824b869586ac216d119363/f3d689d08fda493b0fbf8499edfa7c95/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.global,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&atlassian.aui.raphael.disabled=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=ru-RU&nps-acknowledged=true&nps-not-opted-out=true&sd_operational=true:136772:20)
      at Object.GH.SwimlaneView.getIssueCountLabel (http://172.22.200.130:8407/GHS-59407/s/64c9c39c64ce4696ceb92802a1ae0d03-CDN/-cama6b/72004/b6b48b2829824b869586ac216d119363/f3d689d08fda493b0fbf8499edfa7c95/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.global,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&atlassian.aui.raphael.disabled=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=ru-RU&nps-acknowledged=true&nps-not-opted-out=true&sd_operational=true:78719:20)
      at Object.GH.SwimlaneView.getSwimlaneTitle (http://172.22.200.130:8407/GHS-59407/s/64c9c39c64ce4696ceb92802a1ae0d03-CDN/-cama6b/72004/b6b48b2829824b869586ac216d119363/f3d689d08fda493b0fbf8499edfa7c95/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.global,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&atlassian.aui.raphael.disabled=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=ru-RU&nps-acknowledged=true&nps-not-opted-out=true&sd_operational=true:78725:33)
      

      In Firefox, the error will be: Exception: TypeError: j is null

      Steps to Reproduce

      1. Access the instance
      2. Ensure the profile is set to another language, such as Russian or French
      3. Go to http://xx/secure/RapidBoard.jspa?rapidView=324
      4. Error will be thrown

      Expected Results

      No error will be thrown

      Actual Results

      Following error is thrown

      Notes

      This is a bug in localisation.
      Instead of having Unicode for

      1<

      which is:

      1\u003c
      

      Instead, it has XML/HTML value for that:

      1&lt;
      

      Workaround

      To use the default English for the time being

      Attachments

        Issue Links

          Activity

            People

              kkolonko Kamil Kolonko
              amasut Azfar Masut (Inactive)
              Votes:
              59 Vote for this issue
              Watchers:
              83 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: