-
Bug
-
Resolution: Fixed
-
Low
-
2.10.3, 3.0, 3.1, 3.2, 3.2.1
-
None
Steps to reproduce
- First attach an image to a new Confluence page
- Next, create the following markup in the page:
!spaceKey:PageTitle^ImageName.gif|width="606"!
- The image will be displayed as usual
- However, when you edit the page again and do some roundtrips (Wiki-markup -> Rich Text editor), the Wiki Markup becomes:
!spaceKey:PageTitle^ImageName.gif|width=606"606"!
- More round-trips causes more duplicate values for the width parameter:
!spaceKey:PageTitle^ImageName.gif|width=606"606""606""606"!
- At this point, you are still allowed to edit and save the page.
- However, when there's a page title change, you are not allowed to save the page anymore. You will get an Oops page with the following error:
org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. at org.apache.xerces.dom.CoreDocumentImpl.createAttribute(Unknown Source)
- Screenshots:
RenamingPage.png
AfterRenamingRichText.png
AfterSaving.png
- Screenshots:
- You are also not allowed to switch to Wiki Markup editor to fix the markup.
CantAccessWikiMarkup.png
Workaround
- Don't use the quotes for the value. For example:
!spaceKey:PageTitle^ImageName.gif|width=606!
- is related to
-
CONFSERVER-6992 Markup umbrella issue - errors switching between modes or rendering escaped content
-
- Closed
-
-
CONFSERVER-13434 Image size settings are corrupted on round tripping
-
- Closed
-
[CONFSERVER-19917] Round-trips after entering image markup with width parameter (with quoted value) along with a page rename causes INVALID_CHARACTER_ERR error
Workflow | Original: JAC Bug Workflow v3 [ 2900281 ] | New: CONFSERVER Bug Workflow v4 [ 2994954 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2795291 ] | New: JAC Bug Workflow v3 [ 2900281 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2725408 ] | New: JAC Bug Workflow v2 [ 2795291 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389008 ] | New: JAC Bug Workflow [ 2725408 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2266206 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389008 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209872 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2266206 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2195358 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209872 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1934008 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2195358 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1733629 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1934008 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1684764 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1733629 ] |