[ http://jira.magnolia.info/browse/MAGNOLIA-1256?page=comments#action_12969 
] 
            
CAPITAINE Harold commented on MAGNOLIA-1256:
--------------------------------------------

Hi Gregory,

I haven't worked on these patchs, but I often work with hierarchymanager.
So if you create a content for a defined path, you have to call 
hierarchymanager.save() if you want to really save it on the workspace.
I suppose if you do node.save(), it saves everything that have been done under 
this node.

What I say is maybe wrong, but it's the only way for me to save a new node in a 
workspace.

Hope to be helpful.

Regards.

> MgnlGroupManager, MgnlRoleManager, MgnlUserManager fail to create groups, 
> roles, and users respectively via their associated create... methods.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1256
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1256
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0 Final
>            Reporter: Chris Miner
>         Assigned To: Sameer Charles
>         Attachments: patch.txt, stacktrace.txt
>
>
> the group and role managers try to create content rather than groups or 
> roles.  All the classes call the save method on the newly created node, which 
> fails due to the apparent fact that it isn't allowed to call save on a newly 
> created node.  See attached patch and stack.

-- 
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://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to