I've found a problem in this module.
When you open the Edit form of a node, the module work well and lock this node and prevent other user from editing it.
if you click again on the edit tab link, the unlock message appears and the node is unlock although you stay in the edit form.

CommentFileSizeAuthor
#3 content_lock.patch632 bytesatouchard

Comments

EugenMayer’s picture

Status: Active » Postponed (maintainer needs more info)

What is the "edit tab"?

nicomar31’s picture

Hi,
It's the link to the upper of the form to go to edit form.
I'm about to solve the problem and will deliver the corresponding patch.
thanks.

atouchard’s picture

StatusFileSize
new632 bytes

Yes this link is considered like an external URL by the plugin onUserExit.
The word 'edit' of this URL (/node/xxxx/edit) must be added to internal URL parameters in content_lock_init.js

EugenMayer’s picture

Status: Postponed (maintainer needs more info) » Needs review

i will have a look, thanks for the patch

EugenMayer’s picture

Version: 6.x-1.x-dev » 6.x-1.0
Status: Needs review » Fixed

thanks for the patch. Iam sorry for the huge delay, quiet busy with the other modules. Patch applied, will be part of 1.1

EugenMayer’s picture

released in 6.2.0 rather then in 1.1. 1.0 will be discontinued

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.