Page lock/unlock error | Community
Skip to main content
December 29, 2015
Solved

Page lock/unlock error

  • December 29, 2015
  • 2 replies
  • 2238 views

Hi,

There is a user configured in AEM that has the author rights. Below steps were performed:

1. Create a page as Author and lock it
2. Close the page
3. Open the page and unlock the page by clicking the button that says "Unlock" on the sidekick

4. Note the message that says "Unlock Successful".
5. Click the button which now says "Lock" on the sidekick
6. Note the message "Unable to unlock page.(Unable to unlock page.)" which appears even though the button says "Lock".

Am i missing something here ? Why is there unsuccessful message displayed ?

In the logs below is the exception: 

29.12.2015 11:32:53.986 *ERROR* [0:0:0:0:0:0:0:1 [1451368973979] POST /bin/wcmcommand HTTP/1.1] com.day.cq.wcm.core.impl.commands.UnlockCommand Unable to unlock page.
com.day.cq.wcm.api.WCMException: Unable to unlock page.

Caused by: javax.jcr.lock.LockException: Node /content/geometrixx-outdoors/en/men/jcr:content is not locked

Thanks in advance :)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

I just tried the same steps you mentioned and encountered the same.

but when I closed the page and then tried 'Lock', it works !!

After this, I tried Lock, Unlock multiple times without closing the page it works without any problem.

So there seems to be a problem, when you 'Unlock' after closing the page and try locking it again. For now, you can try closing it again and meanwhile log a bug in the day care [1]

[1] https://daycare.day.com/public/contact.html

2 replies

kautuk_sahni
Community Manager
Community Manager
January 4, 2016

Hi 

Please refer to this article, i hope this could act as some help to you.

Link:- http://blogs.adobe.com/dmcmahon/2012/06/06/cq5-5-members-of-administrators-group-not-able-to-unlock-pages-from-other-users/

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
January 5, 2016

I just tried the same steps you mentioned and encountered the same.

but when I closed the page and then tried 'Lock', it works !!

After this, I tried Lock, Unlock multiple times without closing the page it works without any problem.

So there seems to be a problem, when you 'Unlock' after closing the page and try locking it again. For now, you can try closing it again and meanwhile log a bug in the day care [1]

[1] https://daycare.day.com/public/contact.html