[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Bärfuss resolved MAGNOLIA-3018.
---------------------------------------
Fix Version/s: 4.3 Beta 1
(was: 4.3)
Resolution: Fixed
> content API cleanup: Content.getNodeData() should handle exceptions properly
> ----------------------------------------------------------------------------
>
> Key: MAGNOLIA-3018
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3018
> Project: Magnolia
> Issue Type: Sub-task
> Components: core
> Reporter: Philipp Bärfuss
> Assignee: Philipp Bärfuss
> Fix For: 4.3 Beta 1
>
>
> Content.getNodeData(name) doesn't define any throws declaration. To be
> compliant to the former implementation (4.2) we will do the following:
> - PathNotFound: return EmptyNodeData instance
> - AccessDenied: return EmptyNodeData instance
> setValue will fail always, but getString(), .. methods will return default
> values.
> Because of the amount of usages we decided against adding a throws
> declaration. We might rethink that in the future but for now it is far the
> safest/cleanest solution.
--
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/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------