Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.

Augury causing error with JIRA Software boards? #721

Closed
kcootedinh opened this issue Oct 4, 2016 · 11 comments
Closed

Augury causing error with JIRA Software boards? #721

kcootedinh opened this issue Oct 4, 2016 · 11 comments
Assignees
Labels
Milestone

Comments

@kcootedinh
Copy link

kcootedinh commented Oct 4, 2016

The latest version of Augury, 1.2.1, seems to interfere somehow with boards in JIRA Software, v7.1.8. With the extension enabled an error notification occurs when viewing a board. I can disable the extension and the board works fine, and as soon as re-enabled the board shows the error again.

I can't say what part of the board doesn't work either, everything seems to display fine.

I haven't noticed any issues with other sites / pages.

The error in the console is:
An exception has occurred in http://jira.instance/secure/RapidBoard.jspa?rapidView=3 at 1:2 --- Uncaught SyntaxError: Unexpected token )

After looking at the network tab in the Dev Tools, when Augury is turned on this extra request is sent just before the error occurs, though I'm not sure if it's related.

XHR finished loading: GET "http://jira.instance/rest/whitelist/1/check?url=http%3A%2F%2Fjira.instance&_=1475621771995".
XMLHttpRequest.send @ batch.js?agile_global_admin_condition=true&is-server-instance=true&is-system-admin=true&jag=true&ja…:928
send @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-AU:175
ajax @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-AU:169
c.(anonymous function) @ batch.js?atlassian.aui.raphael.disabled=true&locale=en-AU:160
(anonymous function) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&is-system-admin=true&jag=true&ja…:12183
postMessage (async)
ImmediateDefinition.canUsePostMessage @ ng-validate.js:32431
ImmediateDefinition @ ng-validate.js:32385
(anonymous function) @ ng-validate.js:32571
(anonymous function) @ ng-validate.js:32573
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:31780
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:18215
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:23304
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:29452
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:21365
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:18615
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:32819
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:13830
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:18347
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:32730
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:33675
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:47
__webpack_require__ @ ng-validate.js:20
(anonymous function) @ ng-validate.js:40
(anonymous function) @ ng-validate.js:43
batch.js:3 


@sumitarora sumitarora added the bug label Oct 12, 2016
@sumitarora
Copy link
Member

Seems related to this one: #681

@third774
Copy link

I'm also experiencing this issue.

@igor-ka
Copy link

igor-ka commented Oct 31, 2016

@kcootedinh and @third774 does this issue still happen? We think this might have been addressed in version 1.2.3 as part of a related bug fix. Let us know and we will help addressing it if needed.

@third774
Copy link

@igor-ka it looks like I'm still having the issue. Will try to get some more helpful info for you.

@third774
Copy link

third774 commented Oct 31, 2016

From what I can tell, they add a "message" event listener to the window, and it is trying to eval a string that it expects to contain javascript, but is empty. I'm assuming the event must be triggering from Augury?

Let me know if there's any other debugging info you're curious about.

The first screenshot shows the empty string it is trying to eval

image

The second screenshot is one step up in the call stack and shows the event listener.

image

@igor-ka
Copy link

igor-ka commented Oct 31, 2016

thank you for the additional info @third774. We will try to look into this either this or next sprint.

@igor-ka igor-ka added the ready label Oct 31, 2016
@igor-ka igor-ka added this to the 1.2.4 milestone Oct 31, 2016
@third774
Copy link

Spring or sprint? :P

@igor-ka
Copy link

igor-ka commented Oct 31, 2016

sprint ;)

@stevenkampen
Copy link
Contributor

stevenkampen commented Nov 3, 2016

@third774 I'm not having any luck reproducing this. With a new demo Jira board, everything appears to work fine, minus some errors in the console that persist even when Augury is disabled. Is there anything you can think of that might be particular to your situation?

@readme42
Copy link

readme42 commented Nov 4, 2016

@stevenkampen you asked here: #766 (comment)

I'm just looking at this issue but having trouble reproducing it. Since I know you just ran into it also, can you give me any context I might be missing? I've attempted with a fresh Jira trial, using scrum and kanban boards. Anything you can think of?

The error occurs in the standard agile sprint board, here are some screenshots.

I could arrange a teamviewer session if it would help.

jira0

jira1

@stevenkampen
Copy link
Contributor

@readme42 I can reproduce now, but strangely enough, this is only a warning in my system (no notification over the app). Interesting, but it shouldn't stop me from debugging the issue. Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants