[ 
http://jira.magnolia.info/browse/MAGNOLIA-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregory Joseph resolved MAGNOLIA-2237.
--------------------------------------

    Resolution: Fixed

done on trunk

> MockNodeData should mimic the way DefaultNodeData works
> -------------------------------------------------------
>
>                 Key: MAGNOLIA-2237
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2237
>             Project: Magnolia
>          Issue Type: Task
>            Reporter: Gregory Joseph
>            Assignee: Gregory Joseph
>             Fix For: 3.6
>
>
> Unfortunately, all get{Type} methods of DefaultNodeData do return null/""/0 
> when any exception is thrown (in most cases when the property does not exist, 
> but there is absolutely no differentiation). Until this is fixed, 
> MockNodeData should do the same.
> (the real fix should be letting the exception bubble up, but calling code 
> should be more preventive and check if the property exists before using it)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to