-
Bug
-
Resolution: Fixed
-
High
-
8.2.3, 8.3.1, 8.5.5
-
8.02
-
10
-
Severity 2 - Major
-
11
-
Issue Summary
When a board is configured to load large number of versions, Jira will throw following Javascript error:
Cannot read property 'key' of undefined
For Firefox, the error will be:
Exception: TypeError: t.project is undefined
Environment
- Jira 8.2.3
- Jira 8.3.1
Steps to Reproduce
- Use Data Generator to create 400+ versions associated with issues from multiple projects.
- Create a Kanban board with a complex filter. Eg:
Project = "Sample Kanban Project" OR "Team" = MyTeam1 ORDER BY Rank ASC
- Save the filter and access the board.
Expected Results
The board loads all the versions from the projects and no Javascript error shown.
Actual Results
Following Javascript shown when users clicked on the Versions panel and no versions are shown:
TypeError: Cannot read property 'key' of undefined at t.sort (http://jira.megatron.com/vicky/s/9f56a5d58c111bc9e717d7de0ec9a795-CDN/ja95af/802003/7d70430a169e8519cad06ce4e13e018c/c4326ed06a07e0809f98015721255e8e/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-MY:2144:1799) at Array.sort () at t.getUnreleasedVersionList (http://jira.megatron.com/vicky/s/9f56a5d58c111bc9e717d7de0ec9a795-CDN/ja95af/802003/7d70430a169e8519cad06ce4e13e018c/c4326ed06a07e0809f98015721255e8e/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-MY:2144:2002) at Object.n.renderVersions (http://jira.megatron.com/vicky/s/9f56a5d58c111bc9e717d7de0ec9a795-CDN/ja95af/802003/7d70430a169e8519cad06ce4e13e018c/c4326ed06a07e0809f98015721255e8e/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-MY:3209:2046) at Object.n.updateView (http://jira.megatron.com/vicky/s/9f56a5d58c111bc9e717d7de0ec9a795-CDN/ja95af/802003/7d70430a169e8519cad06ce4e13e018c/c4326ed06a07e0809f98015721255e8e/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-MY:3209:1842) at Object.G.setVersionData (http://jira.megatron.com/vicky/s/9f56a5d58c111bc9e717d7de0ec9a795-CDN/ja95af/802003/7d70430a169e8519cad06ce4e13e018c/c4326ed06a07e0809f98015721255e8e/_/download/contextbatch/js/gh-rapid-work,jira.project.sidebar,atl.general,jira.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-MY:2971:6364)
Workaround
Reduced the number of versions retrieved by the board, by adjusting its JQL.
- mentioned in
-
Page Loading...