[MAGNOLIA-4493] Align MockNode with chapter 10.4.2.4 of JCR 2.0 spec (No Null Values) Created: 26/Jul/12  Updated: 26/Jul/12  Resolved: 26/Jul/12

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.5.3
Fix Version/s: 4.5.4, 5.0

Type: Bug Priority: Neutral
Reporter: Daniel Lipp Assignee: Daniel Lipp
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

 Description   

10.4.2.4 No Null Values defines that setting a property to null is equivalent to removing that property. This is neither supported in MockNode nor in PropertyUtil. The later one is actually throwing a NPE when called with Node != null, String != null but Object==null.


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