[MAGNOLIA-4706] PropertyUtil.renameProperty() removes property when asked to rename to same name Created: 03/Dec/12  Updated: 16/May/13  Resolved: 15/May/13

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.5.6
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Tobias Mattsson 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
Sprint: Beta 2

 Description   

It needs to do a check first and if the property already has the name its been asked to be renamed to it should do nothing.

It should also return the new Property so users of the method don't have to query for it afterwards if they need it.


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