[MAGNOLIA-7705] PropertyUtil#setProperty should handle property cardinality changes Created: 10/Jan/20  Updated: 13/Jan/20  Resolved: 10/Jan/20

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 6.2

Type: Improvement Priority: Neutral
Reporter: Michael Duerig Assignee: Michael Duerig
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)
Sprint: UI Framework 14
Story Points: 1

 Description   

Using PropertyUtil#setProperty to set a multi valued property to a single value or vice versa currently throws a RepositoryException. I suggest to enhance the method to gracefully handle such cases.


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