Hi,
according to @Daniel Leng proposal we'd like to raise the question/issue below:
After we updated JIRA agile to the version 6.6.0 we face lots of javascript errors in all our agile boards only when using firefox (31,32,33a).
We are using latest version of the script runner (tested with 3.0.5 and 3.0.6) on JIRA 6.3.4
Open up work mode of any JIRA agile board and execute an action (e.g. change status of the issue) in firefox
"Exception: TypeError: j is null
Resource: https://jira.xing.hh/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_USc4g8e9/6332/47/a6e7ec965e52e68ee9a220d865c55c9b/_/download/contextbatch/js/jira.general/batch.js
Line: 16
Exception: TypeError: j is null
Resource: https://jira.xing.hh/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_USc4g8e9/6332/47/a6e7ec965e52e68ee9a220d865c55c9b/_/download/contextbatch/js/jira.general/batch.js
Line: 16"
The action is executed although the error message is shown. Thus this issue is not a blocker!
We temporarily disabled the script-runner module "Displays messages to the user generated from script workflow functions(userMessageUtil)"
We have the strong assumption that the script runner has any bad crosslinked javascript-handling with the newest agile boards. We do not use any scripted post functions, but according to this description the script runner polls at each screen refresh.
Anyone might help us out? @Jamie Echlin [Adaptavist] ?
Cheers
Carlo
Daniel, thanks for trying to reproduce. Carlo, F12 tools should be able to show you a javascript stacktrace, can you post that? Might be best to create an issue at http://jamieechlin.atlassian.net/browse/GRV.
I am actually unsure of how to reproduce the problem. In a test workflow, I added the following script post function: {code} import com.onresolve.scriptrunner.runner.util.UserMessageUtil UserMessageUtil.success("Transitioned!") {code} And then transitioned some issues on the Agile board, but I can't seem to reproduce the error in Firefox at all. (or any browser for that matter) Perhaps I'm missing something but I am unaware of it. Also, Carlo mentioned that he has no postfunction scripts that use the UserMessageUtil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.