stable

Clone or download

Read-only

fix: Document tree should not crash if no artidoc

Prepare three tabs: 1. The document tree, with at least one artidoc in the hierarchy 2. The preview of an artidoc document 3. The artidoc itself As site administrator, disable or remove the plugin. Reload the three tabs. Expected results: 1. The document tree is displayed, without the item 2. The preview displays an error state 3. The artidoc page displays a Not found error Part of story #37542: display a read only Document Change-Id: Iab5f602b3049855d0896cee005b78d1d7d0b263d

Modified Files

Name
M plugins/docman/include/REST/v1/ItemRepresentationCollectionBuilder.php +5 −7 Go to diff View file
M plugins/docman/tests/unit/REST/v1/ItemRepresentationCollectionBuilderTest.php +20 −21 Go to diff View file