Change By: Christian Ringele (27/Aug/14 12:22 PM)
Summary: AbstractJcrNodeAdapter: allow calling  updateChildren(Node) from outside the class.  Allow in security app storing a image on the user.
Attachment: SaveUserDialog.patch
Description: Use Case:
Adding a image to the user dialog in security app.

Problem:
info.magnolia.security.app.dialog.action.SaveUserDialogAction
Is not calling in the JcrNodeAdapter#applyChanges() as it needs to store the properties different (groups and roles). This is because applyChanges() calls besides the updateChildren(Node) also the updateProperties(node) method.

Problem:
As applyChanges() is not called, the updateChildren(Node) is also never called -> no dialog field value will be stored which creates a subnode instead of a property (example: DamUploadFieldDefinition).

Solution:
Make the method updateChildren(Node) public as also the updateProperties(node) is public.


See linked issue from
 The the info.magnolia.  security .  app : .dialog.action.SaveUserDialogAction.createOrUpdateUser(JcrNodeAdapter) can call the updateChildren(Node) explicit on the user node.
Component/s: security app
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to