Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29740

Unmarshalling of links when transforming Editor XHTML store CDATA when there are non-latin characters

      Steps to reproduce:

      1. Create a user that has a non latin character in his name, e.g. John Stærk
      2. Navigate to a confluence page
      3. Create a new comment
      4. Enter as the data a mention to John Stærk
      5. Set a breakpoint on line 122 of EditorLinkBodyUnmarshaller, i.e.
        if (StringUtils.equals(defaultAlias, linkBodyString))
      6. Click Save

      Expected Outcome:
      The default alias that contains the plain text representation of John Stærk should match the unicode representation, John Stærk. Either that, or the default alias should be the unicode representation at this point, resulting in the current representation matching.

      Actual Outcome:
      A blind comparison is done, which ignores whether it is unicode altogether, which interprets the values as different, and therefore determines that the body text should be stored (unnecessarily, as the default alias provides the necessary information)

      This has caused a bug to surface in Confluence Dashboard All Updates CONF-28169. This does not completely fix CONF-28169 as it only addresses the ID/label variance, not whether it should be an ID or a label. More details are in STRM-2133 which was incorrectly linked.

            [CONFSERVER-29740] Unmarshalling of links when transforming Editor XHTML store CDATA when there are non-latin characters

            Atlassian Update - September 2019

            Thank you for your interest in this ticket. The Confluence Server and Data Center team released a major upgrade to the editor in 6.14. Due to the age of this ticket and/or lack of updates, we suspect that this issue is no longer relevant or was resolved as a result of the upgrade and are now closing this ticket.

            If this issue is still a problem in your Confluence instance in version 6.15 or later, please tag me in your comment and we can reopen this ticket for review.

            You can read more about the editor upgrade in the 6.14 Release Notes.

            Thanks

            Makisa Appleton | Senior Product Manager, Confluence Server and Data Center

            Makisa Appleton added a comment - Atlassian Update - September 2019 Thank you for your interest in this ticket. The Confluence Server and Data Center team released a major upgrade to the editor in 6.14. Due to the age of this ticket and/or lack of updates, we suspect that this issue is no longer relevant or was resolved as a result of the upgrade and are now closing this ticket. If this issue is still a problem in your Confluence instance in version 6.15 or later, please tag me in your comment and we can reopen this ticket for review. You can read more about the editor upgrade in the 6.14 Release Notes . Thanks Makisa Appleton | Senior Product Manager, Confluence Server and Data Center

            Update to reflect changes in STRM-2133 which was incorrectly linked and repalce references to Activity Stream with Dashboard All Updates

            James Gorman added a comment - Update to reflect changes in STRM-2133 which was incorrectly linked and repalce references to Activity Stream with Dashboard All Updates

            James Gorman added a comment - - edited

            This issue is a part cause of CONF-28169

            James Gorman added a comment - - edited This issue is a part cause of CONF-28169

              Unassigned Unassigned
              kbarclay KBar (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: