Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.1.6, 7.1.9
-
7.01
-
Severity 3 - Minor
-
Description
We can't use JIRA's Created vs Resolved gadget in other applications, like Confluence, because someone typo-ed the name of the function in a call to getPreferences().
My PMs reported that this breakage appeared in Confluence after I upgraded our JIRA from 6.3.9 to 7.1.6. When they try to add a JIRA Created vs Resolved gadget to a confluence page, the preview pane is blank and they can't finish the configuration that would allow them to insert the gadget.
With Chrome's developer tools, I found that an error on the page when I chose the gadget and just after the browser tried to render the preview panel in the gadget config screen. The error is "Uncaught ReferenceError: getPrefences is not defined." Which makes perfect sense because the function is named getPrefe*re*nces, not getPrefences
and then looked in the source and at line 372 in file
.../jira-components/jira-plugins/jira-gadgets-plugin/src/main/resources/gadgets/createdvsresolved-gadget.xml
I see this:
var preferences = getPrefences(gadget);
and it should be
var preferences = getPreferences(gadget);
It's missing the crucial "re" sylable.
Attachments
Issue Links
- causes
-
CONFSERVER-40257 Can't add the Created vs Resolved Chart macro
- Closed
-
JRASERVER-23217 JIRA 4.1.2 "Created vs Resolved Chart" gadget failed to render when adding it as external gadget to another instance
- Closed
-
JRASERVER-20944 Created vs Resolved chart never loads when accessed externally
- Gathering Impact
-
JRASERVER-21090 Created vs Resolved Chart is not rendered properly in Confluence Gadget
- Gathering Impact
- mentioned in
-
Page Loading...
- was cloned as
-
JSEV-669 Loading...