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

Jan Haderka reopened MAGNOLIA-4593:
-----------------------------------


{code}

+        Content node = null;
+        try{
+            node = 
getHierarchyManager(request).getContentByUUID(getUUID(request));
+        } catch (ItemNotFoundException e) {
+        // ignore node just ain't exist yet
+        } catch (RepositoryException e) {
+            log.warn("Exception caught", e);
+        }
{code}

IMHO you need to rethrow RepoException at this place as ExchangeException and 
fail the activation. If node to be activated can't be retrieved now it won't be 
retrievable later either.

> simultaneous activation of 1st and 2nd level page might cause failure to 
> activate due incorrect locking
> -------------------------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-4593
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4593
>             Project: Magnolia
>          Issue Type: Bug
>      Security Level: Public
>          Components: activation
>    Affects Versions: 4.4.8, 4.5.6
>            Reporter: Jan Haderka
>            Assignee: Ondřej Chytil
>            Priority: Blocker
>             Fix For: 4.4.10, 4.5.7
>
>
> When activating 1st level pages (home page) the root of the repo can't be 
> locked and no JCR lock is issued for activation. If 2nd level page that 
> exists under same path is activated at the same time, it would issue lock on 
> the parent (1st level page) and thus lock it during the activation causing 
> first activation to fail.

-- 
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/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to