stable
Clone or download
Read-only
This is a part of story #12638 Add always there metadata date in new/update item modal You can test the patch via the explorer You can check in the table plugin_docman_new_document_upload if the status and obsolescence date are correctly set in the DB The tests are pretty similar than the commit 7bef9075290d00e8300fc448196f4a5d52020a1e Change-Id: I457e386ae03c7c0fad7ae877e375557d4e9386b0
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/db/install.sql | +2 | −0 | Go to diff View file |
A | plugins/docman/db/mysql/updates/2019/201904181357_add_upload_file_status_and_obsolescence_date_columns.php | +54 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanFoldersResource.php | +28 | −9 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemCreator.php | +24 | −2 | Go to diff View file |
M | plugins/docman/include/REST/v1/Files/DocmanPOSTFilesRepresentation.php | +12 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Metadata/HardcodedMetadataObsolescenceDateRetriever.php | +1 | −1 | Go to diff View file |
M | plugins/docman/include/Upload/Document/DocumentOngoingUploadDAO.php | +13 | −9 | Go to diff View file |
M | plugins/docman/include/Upload/Document/DocumentToUploadCreator.php | +9 | −3 | Go to diff View file |
M | plugins/docman/include/Upload/Document/DocumentUploadFinisher.php | +11 | −10 | Go to diff View file |
M | plugins/docman/phpunit/Metadata/HardcodedMetadataObsolescenceDateRetrieverTest.php | +0 | −10 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php | +88 | −0 | Go to diff View file |
M | plugins/docman/phpunit/Upload/Document/DocumentToUploadCreatorTest.php | +25 | −5 | Go to diff View file |
M | plugins/docman/phpunit/Upload/Document/DocumentUploadFinisherTest.php | +11 | −9 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanItemsTestFoldersTest.php | +46 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/docmanWithActivatedMetadata/DocmanHardcodedMetadataTest.php | +162 | −1 | Go to diff View file |