content lock issue - if a node is locked for editing by other user, the node can still be edited by a different user using the quick edit

CommentFileSizeAuthor
#7 content_locking_d7_edit.png55.95 KBWim Leers
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webchick’s picture

Project: Spark » Edit

Moving to the Edit queue. (Which is not easy these days, heh. #2164711: Moving an issue's project to a short, common project name requires dark magicks)

Wim Leers’s picture

Assigned: Unassigned » Gábor Hojtsy

Gábor worked on fixing this in Drupal 8. Assigning to him for guidance.

(In short: Drupal 7 uses a hack to do locking, there's no API for this. So Edit will have to use the same hack to be compatible with it, probably.)

Gábor Hojtsy’s picture

I think Edit will need to use the same timestamp checking to do this. Drupal 8 does the same timestamp checking, it is just more encapsulated, less of an evident hack really. Drupal 7 only has this feature for nodes, so Edit only needs to implement for nodes too. A little one-off thing. I don't know better unfortunately.

Gábor Hojtsy’s picture

Assigned: Gábor Hojtsy » Unassigned
Wim Leers’s picture

Wim Leers’s picture

Wim Leers’s picture

FileSize
55.95 KB

I forgot to upload the accompanying screenshot:

Status: Fixed » Closed (fixed)

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