Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.8.0, 8.3.2
-
7.08
-
21
-
Severity 3 - Minor
-
8
-
Description
Summary
Editing comment from the Issue Detailed View will result in "Cannot read property 'id' of null" error if the comment was created from the Issue Detailed View.
Environment
Jira Version tested: 7.8.0
Browser version tested: Chrome
Steps to Reproduce
- Go to a Jira Board active Sprint
- Select any issue to open the Issue Detailed View
- Add a comment
- Attempt to Edit the comment
Expected Results
Issue is editable
Actual Results
The below exception is thrown in the UI:
Details Exception: Uncaught TypeError: Cannot read property 'id' of null Resource: http://localhost:8780/jira780/s/3d213fb8d31d51cf2412d56fed1f890a-T/1wgny5/78000/b6b48b2829824b869586ac216d119363/e12dad59dbfa82e221ef40599630a548/_/download/contextbatch/js/com.pyxis.greenhopper.jira:gh-rapid-inline-editable,-_super,-gh-rapid,-greenhopper-rapid-non-gadget,-atl.general,-jira.project.sidebar/batch.js?agile_global_admin_condition=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-GB&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true Line: 4186 Column: 84 Environment Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Stack trace TypeError: Cannot read property 'id' of null at Class.dialog.options.onDialogFinished (http://localhost:8780/jira780/s/3d213fb8d31d51cf2412d56fed1f890a-T/1wgny5/78000/b6b48b2829824b869586ac216d119363/e12dad59dbfa82e221ef40599630a548/_/download/contextbatch/js/com.pyxis.greenhopper.jira:gh-rapid-inline-editable,-_super,-gh-rapid,-greenhopper-rapid-non-gadget,-atl.general,-jira.project.sidebar/batch.js?agile_global_admin_condition=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-GB&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true:4186:84) at Class._handleSubmitResponse (http://localhost:8780/jira780/s/9941dec7e85c7e6d331cedf08d55fd96-CDN/1wgny5/78000/b6b48b2829824b869586ac216d119363/fa15fc6016ad30471688941a28c0d801/_/download/contextbatch/js/_super/batch.js?locale=en-GB:70201:51) at Object.complete (http://localhost:8780/jira780/s/9941dec7e85c7e6d331cedf08d55fd96-CDN/1wgny5/78000/b6b48b2829824b869586ac216d119363/fa15fc6016ad30471688941a28c0d801/_/download/contextbatch/js/_super/batch.js?locale=en-GB:70047:42) at Object.completeHandler [as complete] (http://localhost:8780/jira780/s/9941dec7e85c7e6d331cedf08d55fd96-CDN/1wgny5/78000/b6b48b2829824b869586ac216d119363/fa15fc6016ad30471688941a28c0d801/_/download/contextbatch/js/_super/batch.js?locale=en-GB:44734:29) at fire (http://localhost:8780/jira780/s/9941dec7e85c7e6d331cedf08d55fd96-CDN/1wgny5/78000/b6b48b2829824b869586ac216d119363/fa15fc6016ad30471688941a28c0d801/_/download/contextbatch/js/_super/batch.js?locale=en-GB:2804:30) at Object.fireWith (http://localhost:8780/jira780/s/9941dec7e85c7e6d331cedf08d55fd96-CDN/1wgny5/78000/b6b48b2829824b869586ac216d119363/fa15fc6016ad30471688941a28c0d801/_/download/contextbatch/js/_super/batch.js?locale=en-GB:2922:7) at done (http://localhost:8780/jira780/s/9941dec7e85c7e6d331cedf08d55fd96-CDN/1wgny5/78000/b6b48b2829824b869586ac216d119363/fa15fc6016ad30471688941a28c0d801/_/download/contextbatch/js/_super/batch.js?locale=en-GB:9277:21) at XMLHttpRequest.callback (http://localhost:8780/jira780/s/9941dec7e85c7e6d331cedf08d55fd96-CDN/1wgny5/78000/b6b48b2829824b869586ac216d119363/fa15fc6016ad30471688941a28c0d801/_/download/contextbatch/js/_super/batch.js?locale=en-GB:10048:8)
Notes
This seems to not occur if the comment was created from the Jira issue view directly.
Workaround
Canceling the error message and the edit dialog, we see that the edit did take place.