stable

Clone or download

Read-only

fix request #27928: Fatal error in Docman Embedded Widget

* Create an embedded document in a project * On a dashboard, add a widget "Document viewer" * ➡️ the document is displayed * Go to the project settings, and disable the service Documents * Refresh the dashboard * ➡️ no fatal error should be displayed in the interface or in the log about Docman_Embedded_Widget ``` PHP Fatal error: Uncaught Error: Call to a member function getUrl() on null in /usr/share/tuleap/plugins/docman/include/Docman_Widget_Embedded.class.php:95 ``` Change-Id: Ie5488e2bfec7707bf2ea8b11250660b978ca73f5

Modified Files

Name
M plugins/docman/include/Docman_Widget_Embedded.class.php +15 −10 Go to diff View file