[MAGNOLIA-3526] Test: AdminTreeMVCHandlerTestUtf8 is never executed Created: 21/Jan/11  Updated: 13/Dec/11  Resolved: 13/Apr/11

Status: Closed
Project: Magnolia
Component/s: admininterface, testing
Affects Version/s: None
Fix Version/s: 4.4.3, 4.5

Type: Bug Priority: Neutral
Reporter: Magnolia International Assignee: Tobias Mattsson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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
Date of First Response:

 Description   

AdminTreeMVCHandlerTestUtf8 is never executed, because its class name does not match the conventions.

In the magnolia-ioc branch, I renamed this test to AdminTreeMVCHandlerUTF8Test, and noticed testSaveUTF8ValueCommandContext fails.

Can someone look into this ?

 Unexpected method call isExist("/foo/utf8-------------citt---------------------------------------"):
    isExist("/foo/utf8!?#{}$!£%()=@cittàèìòù??????? ?????? ????????? ????[]; +"): expected: 1, actual: 0


 Comments   
Comment by Tobias Mattsson [ 13/Apr/11 ]

Test case renamed and previously failing test now expects that AdminTreeMVCHandler escapes the supplied node name to be escaped by dashes to form a valid node name.

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