The problem seems to be either some other piece of your code making changes in 
mgnlVersion workspace or corrupted node in mgnlVersion workspace.

There should be no need to save the root node in this workspace.

Does this problem persists also after restart of the authoring instance?

If so, you have few options:
- delete whole mgnlVersion workspace (you will loose all the content versions)
- try to delete only affected node - either using magnolia-tools, or by 
creating jcr tree for this workspace and granting yourself permissions to it 
(by default even superuser doesn't have access)
- open support issue to have support advise you on the above solutions

HTH,
Jan

On Jan 14, 2011, at 1:57 PM, frank rittinger wrote:

> Hello list,
>  
> I have a problem activating a node. It fails with the attached error message 
> and the following stack trace:
>  
> 2011-01-14 11:31:52,945 ERROR 
> info.magnolia.cms.core.version.BaseVersionManager : failed to copy 
> versionable node to version store, reverting all changes made in this session
> 2011-01-14 11:31:52,946 ERROR 
> olia.module.admininterface.commands.VersionCommand: can't version
> javax.jcr.nodetype.ConstraintViolationException: / needs to be saved as well.
>         at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1064)
>         at info.magnolia.cms.core.DefaultContent.save(DefaultContent.java:528)
>         at 
> info.magnolia.cms.core.version.CopyUtil.copyToversion(CopyUtil.java:108)
>         at 
> info.magnolia.cms.core.version.BaseVersionManager.createVersion(BaseVersionManager.java:194)
>         at 
> info.magnolia.cms.core.version.BaseVersionManager.addVersion(BaseVersionManager.java:164)
>         at 
> info.magnolia.cms.core.DefaultContent.addVersion(DefaultContent.java:477)
>         at 
> info.magnolia.module.admininterface.commands.VersionCommand.execute(VersionCommand.java:82)
> …
>  
> I have no clue on what the real problem is, since all other nodes could be 
> activated without problems.
>  
> Any hints?
>  
> Regards,
>  
> Frank
>  
> 
> _____________________________________________________________________
> 
> Vorstand: Ralf Heller, Udo Mobes 
> Vorsitzende des Aufsichtsrates: Kirsten Heller 
> Sitz der Gesellschaft: Gruenwaelderstrasse 10-14, D-79098 Freiburg 
> Amtsgericht Freiburg HRB 6218
> 
> Versand am 14.01.2011 13:57 von rittinger frank
> Validation-Code: 2023763634375
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> <activation-error.png>




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to