stable

Clone or download

Read-only

fix: tooltip on reference to an unknown doc

If you write a cross reference to a document with an id that does not exist, like `doc #987654321` then the tooltip should not be weird. Currently an error web page is displayed, instead we should not display anything. Discovered during story #40114: Have better Cross References in Artidoc Change-Id: I18cfbe5ea126f6e5eb1c91acb62cc57ffee332f4

Modified Files

Name
M plugins/docman/include/Docman_Controller.class.php +6 −2 Go to diff View file
A plugins/docman/include/view/Docman_View_AjaxReferenceTooltipNoContent.class.php +32 −0 Go to diff View file
M tests/psalm/tuleap-baseline.xml +1 −0 Go to diff View file