-
Bug
-
Resolution: Fixed
-
Major
-
4.5.4
-
None
Node.getProperty('x') should throw a PathNotFoundException if the x property doesn't exist - according to javadoc. In Magnolia, I get an instance of HTMLEscapingPropertyWrapper, which ends up blowing an NPE when i try to getString(). Not the expected behavior.
I wasn't able to trace back where the null comes from in the first place, but it kinda sounds like there might be other side-effects/misinterpretation of the api with our wrappers, etc. Please investigate and ensure proper and consistent behavior.
Acceptance criteria