stable
Clone or download
Read-only
part of story #13417 Finish PATCH update hardcoded metadata In order to limit huges: try/catch with potential fail to catch and display rightfull Exception for docman Metadata we should have a object wo deals with it. No functionnal changes, Exception should works like before Change-Id: I94af760716831b17435444988282b98e321d4668
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php | +6 | −45 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanFoldersResource.php | +14 | −230 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemCreator.php | +8 | −43 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanLinksResource.php | +3 | −43 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanWikiResource.php | +4 | −44 | Go to diff View file |
M | plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFileUpdator.php | +1 | −7 | Go to diff View file |
M | plugins/docman/include/REST/v1/Links/DocmanLinkUpdator.php | +1 | −6 | Go to diff View file |
A | plugins/docman/include/REST/v1/Metadata/HardCodedMetadataException.php | +92 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Metadata/HardcodedMetadataObsolescenceDateRetriever.php | +2 | −4 | Go to diff View file |
M | plugins/docman/include/REST/v1/Metadata/HardcodedMetdataObsolescenceDateChecker.php | +4 | −4 | Go to diff View file |
D | plugins/docman/include/REST/v1/Metadata/InvalidDateComparisonException.php | +0 | −29 | Go to diff View file |
D | plugins/docman/include/REST/v1/Metadata/InvalidDateTimeFormatException.php | +0 | −29 | Go to diff View file |
M | plugins/docman/include/REST/v1/Metadata/ItemStatusMapper.php | +5 | −8 | Go to diff View file |
D | plugins/docman/include/REST/v1/Metadata/ItemStatusUsageMismatchException.php | +0 | −29 | Go to diff View file |
D | plugins/docman/include/REST/v1/Metadata/ObsolescenceDateDisabledException.php | +0 | −28 | Go to diff View file |
D | plugins/docman/include/REST/v1/Metadata/StatusNotFoundBadStatusGivenException.php | +0 | −29 | Go to diff View file |
D | plugins/docman/include/REST/v1/Metadata/StatusNotFoundNullException.php | +0 | −28 | Go to diff View file |
M | plugins/docman/include/REST/v1/Wiki/DocmanWikiUpdator.php | +1 | −6 | Go to diff View file |
M | plugins/docman/phpunit/Metadata/HardcodedMetadataObsolescenceDateRetrieverTest.php | +2 | −1 | Go to diff View file |
M | plugins/docman/phpunit/Metadata/HardcodedMetdataObsolescenceDateCheckerTest.php | +4 | −2 | Go to diff View file |
M | plugins/docman/phpunit/Metadata/ItemStatusMapperTest.php | +8 | −7 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php | +4 | −3 | Go to diff View file |