stable

Clone or download

Read-only

PUT folder metadata

part of story #12634 Add custom metadata in modal user can specify custom metadata list and can choose for each possible metadata who will inherits its value: - all its item - only its folder - nobody Change-Id: I3c9a0e9030e4070c6166222e81d670b145f12c8a

Modified Files

Name
M plugins/docman/include/Metadata/ItemImpactedByMetadataChangeCollection.php +26 −3 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/CustomMetadataRepresentationRetriever.php +53 −3 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataToUpdate.php +18 −5 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataUpdator.php +42 −7 Go to diff View file
A plugins/docman/include/REST/v1/Metadata/PUTCustomMetadataRepresentation.php +32 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/PUTMetadataFolderRepresentation.php +4 −0 Go to diff View file
M plugins/docman/phpunit/Metadata/CustomMetadataRepresentationRetrieverTest.php +16 −9 Go to diff View file
M plugins/docman/phpunit/Metadata/ItemImpactedByMetadataChangeCollectionTest.php +38 −4 Go to diff View file
M plugins/docman/phpunit/REST/v1/Metadata/MetadataUpdatorTest.php +8 −1 Go to diff View file
M plugins/docman/tests/rest/Metadata/CustomMetadataTest.php +100 −0 Go to diff View file