Details
-
Bug
-
Resolution: Obsolete
-
Low
-
5.2
-
Severity 3 - Minor
-
Description
Steps to reproduce:
- Create a user that has a non latin character in his name, e.g. John Stærk
- Navigate to a confluence page
- Create a new comment
- Enter as the data a mention to John Stærk
- Set a breakpoint on line 122 of EditorLinkBodyUnmarshaller, i.e.
if (StringUtils.equals(defaultAlias, linkBodyString))
- 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.
Attachments
Issue Links
- relates to
-
CONFSERVER-28169 All Updates replaces username with actual name in mentions only when the username has non latin characters
- Closed
- is related to
-
STRM-2133 Loading...