stable

Clone or download

Read-only

Date metadata are always formatted as a date or set to null when there is no value

This brings consistency to the API: the user does not have to expect either null, '0' or an ISO-8601 date. Part of story #13463: Split PATCH docman_items_type/id route Change-Id: I693f74bed9f204ec2df13894f649bd55f632e4d2

Modified Files

Name
M plugins/docman/include/Docman_ItemFactory.class.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFilesPATCHRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/EmbeddedFileVersionCreator.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanFilesPATCHRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanPOSTFilesRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanEmptyPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPATCHRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/HardcodedMetadataObsolescenceDateRetriever.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataRepresentationBuilder.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/PUTMetadataRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiPATCHRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/Metadata/HardcodedMetadataObsolescenceDateRetrieverTest.php +1 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/MetadataRepresentationBuilderTest.php +42 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanEmbeddedTest.php +0 −1 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanFilesTest.php +0 −1 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanLinksTest.php +0 −1 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanWikiTest.php +0 −1 Go to diff View file
M plugins/docman/tests/rest/DocmanMandatoryMetadata/DocmanHardcodedMetadataTest.php +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookDocumentAdditionalMetadataList.spec.js +31 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookDocumentAdditionalMetadataList.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/constants.js +2 −2 Go to diff View file