stable

Clone or download

Read-only

Extract recursivity core logic into a dedicated unit tested object

part of story #13463 Split PATCH docman_items_type/id route No functional changes. this patch will help me to reuse the existing code for PUT folder/id/metadata Change-Id: Ia5c2d171c4774b69d56dc659e420a9d88bd63efe

Modified Files

Name
M plugins/docman/include/Docman_Actions.class.php +26 −30 Go to diff View file
A plugins/docman/include/Metadata/ItemImpactedByMetadataChangeCollection.php +67 −0 Go to diff View file
A plugins/docman/include/Metadata/MetadataRecursiveUpdator.php +145 −0 Go to diff View file
A plugins/docman/include/Metadata/NoItemToRecurseException.php +27 −0 Go to diff View file
A plugins/docman/phpunit/Metadata/ItemImpactedByMetadataChangeCollectionTest.php +36 −0 Go to diff View file
A plugins/docman/phpunit/Metadata/MetadataRecursiveUpdatorTest.php +135 −0 Go to diff View file