stable
Clone or download
Read-only
The unlock event should not be triggered when an new version is created and if the item is already unlocked
request #13802 The unlock event is raised in the history when we update an unlocked item via the new document plugin How to test : - Go to the new UI - Create a new version of an item - Go to the history page => You should not see the 'Unlocked document' line in the document history Change-Id: I393601df30d020ccfe879d5e3d9bc25a777207df
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/DocmanItemUpdator.php | +1 | −1 | Go to diff View file |
A | plugins/docman/phpunit/REST/v1/DocmanItemUpdatorTest.php | +166 | −0 | Go to diff View file |