[ 
http://jira.magnolia-cms.com/browse/MGNLDATA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Haderka updated MGNLDATA-86:
--------------------------------

        Fix Version/s: 1.4
    Affects Version/s: 1.4-m1
                       1.4.1-rc1
          Description: 
Any activation after activating types fails with exception like:
{code}
      2009-11-10 12:21:52,201 ERROR 
a.module.admininterface.commands.ActivationCommand: can't activate
      javax.jcr.ItemNotFoundException: 6fb2ac75-1fd3-4ce2-a4c1-9bdcb57cd5eb
        at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:306)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:250)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:515)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:575)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:544)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:855)
        at 
info.magnolia.cms.core.DefaultHierarchyManager.getContentByUUID(DefaultHierarchyManager.java:465)
        at 
info.magnolia.module.admininterface.commands.BaseRepositoryCommand.getNode(BaseRepositoryCommand.java:57)
        at 
info.magnolia.module.admininterface.commands.ActivationCommand.execute(ActivationCommand.java:83)
        at 
info.magnolia.commands.MgnlCommand.executePooledOrSynchronized(MgnlCommand.java:173)
        at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:160)
        ...
{code}

The problem is caused by Type activation command not releasing resources 
properly.

  was:
the *items* structure is not possible to activate (their types are already 
activated) and the following error appears when
* the new simple/hierachical type is used
* the already existed simple type is used
* get ItemNotFoundException which refers to nonexistent uuid:
{code}
      2009-11-10 12:21:52,201 ERROR 
a.module.admininterface.commands.ActivationCommand: can't activate
      javax.jcr.ItemNotFoundException: 6fb2ac75-1fd3-4ce2-a4c1-9bdcb57cd5eb
        at 
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:306)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:250)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:515)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:575)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:544)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:855)
        at 
info.magnolia.cms.core.DefaultHierarchyManager.getContentByUUID(DefaultHierarchyManager.java:465)
        at 
info.magnolia.module.admininterface.commands.BaseRepositoryCommand.getNode(BaseRepositoryCommand.java:57)
        at 
info.magnolia.module.admininterface.commands.ActivationCommand.execute(ActivationCommand.java:83)
        at 
info.magnolia.commands.MgnlCommand.executePooledOrSynchronized(MgnlCommand.java:173)
        at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:160)
        ...
{code}
* In general that uuid appears in very case when the activation is not 
successful (when I've tested it for the second time, the uuid get changed but 
in every case the error message refers to the same uuid). Quite strange is that 
once the website/dms versioning is allowed, all mentioned above (except the 
items which use given company type) is possible to activate.  And really 
strange is that when the versioning is reverted to be disallowed again, the 
activation still works without above problems (again excepth the use of company 
type).  

* also unable to activate an example which use the given hierarchical type 
{{company}} - tested on the existing example of Big-Flower-Inc. and on the 
newly created one.

p.s. it happens with data-1.4-rc1 (haven't seen it list of affected versions)

             Assignee: Jan Haderka  (was: Philipp Bärfuss)

> unable to activate items of given type when no workflow/versioning is used
> --------------------------------------------------------------------------
>
>                 Key: MGNLDATA-86
>                 URL: http://jira.magnolia-cms.com/browse/MGNLDATA-86
>             Project: Magnolia Data Module
>          Issue Type: Bug
>    Affects Versions: 1.4-m1, 1.4.1-rc1
>            Reporter: Zdenek Skodik
>            Assignee: Jan Haderka
>             Fix For: 1.4
>
>
> Any activation after activating types fails with exception like:
> {code}
>       2009-11-10 12:21:52,201 ERROR 
> a.module.admininterface.commands.ActivationCommand: can't activate
>       javax.jcr.ItemNotFoundException: 6fb2ac75-1fd3-4ce2-a4c1-9bdcb57cd5eb
>               at 
> org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:306)
>               at 
> org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:250)
>               at 
> org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:515)
>               at 
> org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:575)
>               at 
> org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:544)
>               at 
> org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:855)
>               at 
> info.magnolia.cms.core.DefaultHierarchyManager.getContentByUUID(DefaultHierarchyManager.java:465)
>               at 
> info.magnolia.module.admininterface.commands.BaseRepositoryCommand.getNode(BaseRepositoryCommand.java:57)
>               at 
> info.magnolia.module.admininterface.commands.ActivationCommand.execute(ActivationCommand.java:83)
>               at 
> info.magnolia.commands.MgnlCommand.executePooledOrSynchronized(MgnlCommand.java:173)
>               at 
> info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:160)
>               ...
> {code}
> The problem is caused by Type activation command not releasing resources 
> properly.

-- 
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]>
----------------------------------------------------------------

Reply via email to