stable

Clone or download

Read-only

Event Add is for by default in ItemRepresentationVisitor

part of story #24197 search for Documents with criteria Rest routes should not be broken Breadcrumb of elements in folders are still displayed With this change we ensure that `build` method will always be called and that `$event_adder->addLogEvents` (needed for logging access to document history) won't be forgotten at object instantiation Change-Id: I98e8037d58ce931b479eed1e4c5a4874938085fd

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanItemsResource.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationVisitor.php +11 −34 Go to diff View file
M plugins/docman/tests/unit/REST/v1/ItemRepresentationCollectionBuilderTest.php +10 −7 Go to diff View file
M plugins/docman/tests/unit/REST/v1/ItemRepresentationVisitorTest.php +15 −11 Go to diff View file