[MAGNOLIA-6639] RenamePropertiesTasks fails when there is special characters in the property name like a dash Created: 20/Apr/16  Updated: 09/Feb/17  Resolved: 23/May/16

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 5.4.5
Fix Version/s: 5.4.7, 5.5

Type: Bug Priority: Major
Reporter: Teresa Miyar Assignee: Sang Ngo Huu
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: 1h
Time Spent: 1d 2.5h
Original Estimate: 1.5d

Issue Links:
dependency
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
Sprint: Saigon 45
Story Points: 3

 Description   

Wrap property in info.magnolia.module.delta.RenamePropertiesTask#doExecute:69 with splash [] to resolve this issue:

final String queryString = "SELECT * FROM [nt:base] AS t WHERE (ISSAMENODE(t, '" + path + "') OR ISDESCENDANTNODE(t, '" + path + "')) AND t.[" + oldName + "] is not null";

Generated at Mon Feb 12 04:16:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.