stable

Clone or download

Read-only

Backend should not permit user to submit required metadata without any values

part of story #12634 Add custom metadata in modal Given user provides a metadata, and given at least one of its values is required but not provided by user, Then an error must be raised Change-Id: Iec7a98b605ae9e80045338ab23d6e18c1c0a81d6

Modified Files

Name
M plugins/docman/include/Metadata/CustomMetadataException.php +17 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/CustomMetadataRepresentationRetriever.php +10 −1 Go to diff View file
M plugins/docman/phpunit/Metadata/CustomMetadataRepresentationRetrieverTest.php +108 −0 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +6 −0 Go to diff View file