-
Bug
-
Resolution: Unresolved
-
Medium (View bug fix roadmap)
-
None
-
9.12.0, 10.3.0
-
9.12
-
1
-
Severity 2 - Major
-
0
-
Issue Summary
Jira markup will render an error such as "Color value is invalid" or "Border style is not a valid CSS2 border style" when there is invalid values in the markup
Steps to Reproduce
- Create an issue and set the description in text mode to include {color: blue !important}
- Set the description to Visual mode
Expected Results
The description should ignore the second word and correctly render with the colour blue.
Actual Results
Hi, Testing bug color: Color value is invalid Thanks
Workaround
Remove the invalid markup
Versions Tested
Version | Is Affected? |
---|---|
10.3.3 | Yes |
10.3.5 | Yes |
10.4.0 | Yes |
10.5.0 | Yes |
Other Notes
This is a related to the following bug:
- This also can occur with borderStyle or any markup that has very strict regex
- JSDSERVER-15531: Tickets are getting incorrect description/comment like "Color value is invalid" when the email to create the embedded HTML that contains CSS style sheet.
- is related to
-
JSDSERVER-15531 Tickets are getting incorrect description/comment like "Color value is invalid" when the email to create the embedded HTML that contains CSS style sheet.
-
- Closed
-
- links to
[JRASERVER-78840] Jira markup renders error text when it does not recognise certain element names
Support reference count | Original: 2 | New: 1 |
UIS | Original: 8 | New: 0 |
Introduced in Version | New: 9.12 |
Description |
Original:
h3. Issue Summary
Jira markup will render an error such as "Color value is invalid" or "Border style is not a valid CSS2 border style" when there is invalid values in the markup h3. Steps to Reproduce # Create an issue and set the description in text mode to include \{color: blue !important} # Set the description to Visual mode h3. Expected Results The description should ignore the second word and correctly render with the colour blue h3. Actual Results {code:java} Hi, Testing bug color: Color value is invalid Thanks {code} h3. Workaround Remove the invalid markup h3. Versions Tested ||Version||Is Affected?|| |10.3.3|Yes| |10.3.5|Yes| |10.4.0|Yes| |10.5.0|Yes| h3. Other Notes This is a related to the following bug: * This also can occur with borderStyle * [ |
New:
h3. Issue Summary
Jira markup will render an error such as "Color value is invalid" or "Border style is not a valid CSS2 border style" when there is invalid values in the markup h3. Steps to Reproduce # Create an issue and set the description in text mode to include \{color: blue !important} # Set the description to Visual mode h3. Expected Results The description should ignore the second word and correctly render with the colour blue. h3. Actual Results {code:java} Hi, Testing bug color: Color value is invalid Thanks {code} h3. Workaround Remove the invalid markup h3. Versions Tested ||Version||Is Affected?|| |10.3.3|Yes| |10.3.5|Yes| |10.4.0|Yes| |10.5.0|Yes| h3. Other Notes This is a related to the following bug: * This also can occur with borderStyle or any markup that has very strict regex * [ |
Component/s | Original: Create Request [ 34394 ] | |
Component/s | New: Issue - Comments [ 12030 ] | |
Key | Original: JSDSERVER-16137 | New: JRASERVER-78840 |
Affects Version/s | Original: 10.3.5 [ 110897 ] | |
Affects Version/s | Original: 10.3.3 [ 110413 ] | |
Affects Version/s | Original: 10.5.0 [ 110315 ] | |
Affects Version/s | Original: 10.4.0 [ 110312 ] | |
Affects Version/s | New: 9.12.0 [ 105807 ] | |
Affects Version/s | New: 10.3.0 [ 109301 ] | |
Project | Original: Jira Service Management Data Center [ 15611 ] | New: Jira Data Center [ 10240 ] |
Description |
Original:
h3. Issue Summary
When the email contains embedded HTML that contains a CSS style sheet, the text is replaced with "Color value is invalid" h3. Steps to Reproduce # Configure a Mail Channel # Sent an email with html - Tested with the same text from the bug {code:java} Hi, Testing bug {color: revert !important} Thanks {code} h3. Expected Results The description contains the Table with CSS style sheet color in it. h3. Actual Results {code:java} Hi, Testing bug color: Color value is invalid Thanks {code} h3. Workaround Consider attempting to disable the HTML parsing within your Service Desk configuration: # Navigate to {color:#0747a6}_https://<BASE_URL>/secure/admin/SDMailInfo.jspa_{color} # Select "No, remove the formatting by converting HTML messages to plain text". Depending on the nature of the HTML received by Jira, this action could potentially reduce the amount of undesirable content added. This workaround will not print HTML content in its desired form, but it is very rare that a user uses HTML in an email. h3. Versions Tested ||Version||Is Affected?|| |10.3.3|Yes| |10.3.5|Yes| |10.4.0|Yes| |10.5.0|Yes| h3. Other Notes This is a regression of the following bug: * [ |
New:
h3. Issue Summary
Jira markup will render an error such as "Color value is invalid" or "Border style is not a valid CSS2 border style" when there is invalid values in the markup h3. Steps to Reproduce # Create an issue and set the description in text mode to include \{color: blue !important} # Set the description to Visual mode h3. Expected Results The description should ignore the second word and correctly render with the colour blue h3. Actual Results {code:java} Hi, Testing bug color: Color value is invalid Thanks {code} h3. Workaround Remove the invalid markup h3. Versions Tested ||Version||Is Affected?|| |10.3.3|Yes| |10.3.5|Yes| |10.4.0|Yes| |10.5.0|Yes| h3. Other Notes This is a related to the following bug: * This also can occur with borderStyle * [ |
Summary | Original: Tickets are getting incorrect description/comment like "Color value is invalid" when the email to create the embedded HTML that contains CSS style sheet. | New: Jira markup renders error text when it does not recognise certain element names |
UIS | Original: 1 | New: 8 |
Support reference count | Original: 1 | New: 2 |
UIS | New: 1 |