[MAGNOLIA-4536] SaveHandlerImplTest fails due to problems with encoding Created: 19/Sep/12  Updated: 15/Mar/13  Resolved: 19/Sep/12

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 4.5.4
Fix Version/s: 4.5.5, 5.0

Type: Bug Priority: Neutral
Reporter: Espen Jervidalo Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS 10.6.x, 10.7.x, java6


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

SaveHandlerImplTest.testUpdateLinkWithSpecialCharacters fails under some circumstances due to encodings:
The created node
MgnlContext.getJCRSession("dms").getRootNode().addNode("testöäüćř").addNode("magnolia-logo");
will not be found by LinkUtil and the returned Link is therefor not converted by convertAbsoluteLinksToUUIDs.

Fixed by escaping the UTF-8 encoded umlauts.


Generated at Mon Feb 12 03:56:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.