HTMLEscapingPropertyWrapper and possibly other wrappers do not conform to the
JCR API.
--------------------------------------------------------------------------------------
Key: MAGNOLIA-4539
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4539
Project: Magnolia
Issue Type: Bug
Security Level: Public
Components: core
Affects Versions: 4.5.4
Reporter: Grégory Joseph
Assignee: Philipp Bärfuss
Priority: Major
{{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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------