[MAGNOLIA-4742] The AddPermissionTask stores an incorrect "permission path" when the path parameter ends with "/" and includingSubNodes is true. (on 4.5.* series) Created: 19/Dec/12  Updated: 03/Jan/13  Resolved: 20/Dec/12

Status: Closed
Project: Magnolia
Component/s: updatemechanism
Affects Version/s: 4.4.9, 4.5.7
Fix Version/s: 4.4.10, 4.5.8

Type: Bug Priority: Critical
Reporter: Christopher Zimmermann Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-4716 The AddPermissionTask stores an incor... Closed
Template:
Patch included:
Yes
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   

For example if path was "/", and includingSubNodes is true, then path is set to "//*" which was then incorrect.
It should check if path argument is "/" and sets path approppriately.

There is actually no patch included - but I set it because the problem is solved in 5.0 Alpha1 version.

Matteo Pelucco also reported this problem on December 19 in this forum post:
http://forum.magnolia-cms.com/forum/thread.html?threadId=5f0c27c3-1b95-412d-abd6-d818cb9a9b40



 Comments   
Comment by Christopher Zimmermann [ 19/Dec/12 ]

In 4716, the issue is solved - look at git commits for solution in 5.0 version.

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