Content2BeanUtil.setNodeDatas(Content node, Object bean, String[] excludes)
does nothing
----------------------------------------------------------------------------------------
Key: MAGNOLIA-2401
URL: http://jira.magnolia.info/browse/MAGNOLIA-2401
Project: Magnolia
Issue Type: Bug
Components: core
Affects Versions: 3.6.1
Reporter: Will Scheidegger
Assignee: Philipp Bracher
Attachments: content2beanutils.patch
When you call Content2BeanUtil.setNodeDatas(Content node, Object bean, String[]
excludes) you will note that no node datas are being set. This is due to the
fact, that the method does convert the bean into a Map and filters out the
values for the keys in excludes but then returns without doing anything else.
It _should_ however call Content2BeanUtil.setNodeDatas(Content node, Map map)
afterwards.
Patch file for the bug fix is attached.
--
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/
----------------------------------------------------------------