-
Bug
-
Resolution: Fixed
-
Low
-
7.2.0, 7.4.3, 7.4.4, 7.4.7, 7.5.1, 7.6.2, 7.10.2, 7.11.2
-
None
-
13
-
Severity 3 - Minor
-
18
-
Issue Summary
Javascript error when creating Jira issue from highlighted text
Steps to Reproduce
In Jira
- Create a project
- Create a custom field
- Assign this field to the project's all screens
- Make the custom field compulsory
- Make the built-in 'Description' field optional
In Confluence
- Create a page with text
- Highlight text to create a Jira issue
Expected Results
Popup loads without any issue and user is able to create a Jira issue
Actual Results
Popup loads but Getting Required Fields loads indefinitely
Error found from Developer Tools console
onClick @ batch.js?healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US&user-logged-in=true:3151 (anonymous) @ batch.js?healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US&user-logged-in=true:4373 dispatch @ batch.js?locale=en-US:44 v.handle @ batch.js?locale=en-US:44 Show 51 more frames batch.js?locale=en-US:44 Uncaught Error: Syntax error, unrecognized expression: option[value='-1' at Function.re.error (batch.js?locale=en-US:44) at re.tokenize (batch.js?locale=en-US:44) at Function.re (batch.js?locale=en-US:44) at Function.c.find (batch.js?locale=en-US:64) at c.fn.init.find (batch.js?locale=en-US:44) at c.fn.init.c.fn.find (batch.js?locale=en-US:66) at i.<anonymous> (com.atlassian.confluence.plugins.confluence-jira-content:confluence-jira-content-resources.js?locale=en-US:284) at f (batch.js?locale=en-US:228) at i.trigger (batch.js?locale=en-US:228) at i._onModelEvent (batch.js?locale=en-US:228)
Workaround
Make description field compulsory
[CONFSERVER-59691] JavaScript `Syntax error, unrecognized expression: option[value='-1'` when creating Jira issue
Remote Link | New: This issue links to "Page (Confluence)" [ 776393 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 570133 ] |
Affects Version/s | New: 7.11.2 [ 94721 ] |
Affects Version/s | New: 7.5.1 [ 91990 ] |
Affects Version/s | New: 7.4.7 [ 93606 ] |
QA Demo Status | Original: Not Done [ 14330 ] | New: Done [ 14331 ] |
Description |
Original:
h3. Issue Summary
Javascript error when creating Jira issue from highlighted text h3. Steps to Reproduce h5. In Jira # Create a project # Create a custom field # Assign this field to the project's all screens # Change built-in 'Description' field to optional h5. In Confluence # Create a page with text # Highlight text to create a Jira issue h3. Expected Results Popup loads without any issue and user is able to create a Jira issue !image-2020-04-08-14-12-35-472.png|thumbnail! h3. Actual Results Popup loads but *Getting Required Fields* loads indefinitely !image-2020-04-08-14-18-16-525.png|thumbnail! Error found from *Developer Tools* console {noformat} onClick @ batch.js?healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US&user-logged-in=true:3151 (anonymous) @ batch.js?healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US&user-logged-in=true:4373 dispatch @ batch.js?locale=en-US:44 v.handle @ batch.js?locale=en-US:44 Show 51 more frames batch.js?locale=en-US:44 Uncaught Error: Syntax error, unrecognized expression: option[value='-1' at Function.re.error (batch.js?locale=en-US:44) at re.tokenize (batch.js?locale=en-US:44) at Function.re (batch.js?locale=en-US:44) at Function.c.find (batch.js?locale=en-US:64) at c.fn.init.find (batch.js?locale=en-US:44) at c.fn.init.c.fn.find (batch.js?locale=en-US:66) at i.<anonymous> (com.atlassian.confluence.plugins.confluence-jira-content:confluence-jira-content-resources.js?locale=en-US:284) at f (batch.js?locale=en-US:228) at i.trigger (batch.js?locale=en-US:228) at i._onModelEvent (batch.js?locale=en-US:228) {noformat} h3. Workaround Make description field compulsory |
New:
h3. Issue Summary
Javascript error when creating Jira issue from highlighted text h3. Steps to Reproduce h5. In Jira # Create a project # Create a custom field # Assign this field to the project's all screens # Make the custom field compulsory # Make the built-in 'Description' field optional h5. In Confluence # Create a page with text # Highlight text to create a Jira issue h3. Expected Results Popup loads without any issue and user is able to create a Jira issue !image-2020-04-08-14-12-35-472.png|thumbnail! h3. Actual Results Popup loads but *Getting Required Fields* loads indefinitely !image-2020-04-08-14-18-16-525.png|thumbnail! Error found from *Developer Tools* console {noformat} onClick @ batch.js?healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US&user-logged-in=true:3151 (anonymous) @ batch.js?healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US&user-logged-in=true:4373 dispatch @ batch.js?locale=en-US:44 v.handle @ batch.js?locale=en-US:44 Show 51 more frames batch.js?locale=en-US:44 Uncaught Error: Syntax error, unrecognized expression: option[value='-1' at Function.re.error (batch.js?locale=en-US:44) at re.tokenize (batch.js?locale=en-US:44) at Function.re (batch.js?locale=en-US:44) at Function.c.find (batch.js?locale=en-US:64) at c.fn.init.find (batch.js?locale=en-US:44) at c.fn.init.c.fn.find (batch.js?locale=en-US:66) at i.<anonymous> (com.atlassian.confluence.plugins.confluence-jira-content:confluence-jira-content-resources.js?locale=en-US:284) at f (batch.js?locale=en-US:228) at i.trigger (batch.js?locale=en-US:228) at i._onModelEvent (batch.js?locale=en-US:228) {noformat} h3. Workaround Make description field compulsory |
Fix Version/s | New: 7.12.0 [ 94703 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Closed [ 6 ] |
A fix for this issue is available to Server and Data Center customers in Confluence 7.12.0
Upgrade now or check out the Release Notes to see what other issues are resolved.