stable

Clone or download

Read-only

Create the new version in db and preserve the lock

part of story #12458 DnD on an existing file creates a new version Change-Id: I509b5bc5f5c9df42af05a735a78a70f059ad7dfb

Modified Files

Name
M plugins/docman/include/Upload/Version/DocumentOnGoingVersionToUploadDAO.php +18 −0 Go to diff View file
M plugins/docman/include/Upload/Version/VersionBeingUploadedInformationProvider.php +4 −3 Go to diff View file
M plugins/docman/include/Upload/Version/VersionDataStore.php +9 −3 Go to diff View file
A plugins/docman/include/Upload/Version/VersionUploadFinisher.php +224 −0 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +21 −5 Go to diff View file
M plugins/docman/phpunit/Upload/Version/VersionBeingUploadedInformationProviderTest.php +8 −12 Go to diff View file
A plugins/docman/phpunit/Upload/Version/VersionUploadFinisherTest.php +135 −0 Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanItemsTestFiles.php Go to diff View file