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

Error 'm.field[0] is undefined on page' when configuring a board I don't have permission to configure.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.0.8, 6.6.0, 7.13.18, 9.0.0, 9.8.0, 8.20.21, 9.4.5
    • OnDemand, any browser apparently, but at least chrome on windows/linux/mac

    Description

      Issue Summary

      When a user doesn't have permission to configure the board, there is an error shown on configure board page.
      The error doesn't break any functionality.
      The error can be spotted on any subpage of the Configuration Page e.g. "General", "Card Columns" ...

      Steps to Reproduce

      As Administrator:

      1. Create a standard JSW project.
      2. Go to the board configuration panel. On Active Sprint Page -> Click the button "Board"(right corner of the page) -> Pick the option "Configure".
      3. Got to a subpage of the Configuration Page called "Card colours".
      4. Setup and add at least one Colour based on "Queries"
      5. Create a user that doesn't have administration permission on created project.

      As the created user:

      1. Go to the board configuration panel. On Active Sprint Page -> Click the button "Board"(right corner of the page) -> Pick the option "Configure".
      2. Observer error on the bottom of the page
      3. On the "Card colours" page there is no panel to add a new Colour query. This is the reason why Java Script is failing. Code snippets can be found in the internal comment belove.

      Expected Results

      Error is not shown on the bottom page of the board configuration page.

      Actual Results

      There is an error at bottom of the board configuration page.

      * m.updateColumnLineCount@http://localhost:8080/s/929d795f00d57fae884a433f9cc304c5-CDN/-j8if1x/990000/1dlckms/5b92ca8b35080e472c11f27d4310f149/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,-_super/batch.js?agile_global_admin_condition=true&flexboards=true&jag=true&jaguser=true&locale=en-PL:6488:18586
      * m.parse@http://localhost:8080/s/929d795f00d57fae884a433f9cc304c5-CDN/-j8if1x/990000/1dlckms/5b92ca8b35080e472c11f27d4310f149/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,-_super/batch.js?agile_global_admin_condition=true&flexboards=true&jag=true&jaguser=true&locale=en-PL:6488:12349
      * initialize@http://localhost:8080/s/929d795f00d57fae884a433f9cc304c5-CDN/-j8if1x/990000/1dlckms/5b92ca8b35080e472c11f27d4310f149/_/download/contextbatch/js/gh-rapid-exception,greenhopper-rapid-non-gadget,gh-rapid-config,atl.general,jira.global,-_super/batch.js?agile_global_admin_condition=true&flexboards=true&jag=true&jaguser=true&locale=en-PL:6605:12966
      * b.delay/<@http://localhost:8080/s/a39c21faaf1c613184d96cfd0d0c0db1-CDN/-j8if1x/990000/1dlckms/ba2f610a431259f99c24bb1ebe875333/_/download/contextbatch/js/_super,-co
      m.atlassian.plugins.atlassian-plugins-webresource-rest:data-collector-perf-observer,-jira.webresources:resource-phase-checkpoint-init/batch.js?locale=en-PL:944:189

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              1f04b9b65b31 Andrew Ardill
              Votes:
              9 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: