If a user tries to access an element of the document manager without enough rights a fatal error is raised.
Issue has been introduced during the development of
story #10408 (
gerrit #11874).
Trace:
Catchable fatal error: Argument 1 passed to Error_PermissionDenied::buildInterface() must be an instance of PFUser, none given, called in /usr/share/tuleap/plugins/docman/include/view/Docman_View_PermissionDeniedError.class.php on line 27 and defined in /usr/share/tuleap/src/common/error/Error_PermissionDenied.class.php on line 84
Call Stack
# Time Memory Function Location
1 0.0000 238752 {main}( ) ../index.php:0
2 0.0416 8112384 DocmanPlugin->process( ) ../index.php:29
3 0.0476 9284064 Controler->process( ) ../docmanPlugin.class.php:378
4 0.0536 9581464 Docman_Controller->viewsManagement( ) ../Controler.class.php:61
5 0.0541 9615680 Docman_View_PermissionDeniedError->display( ) ../Docman_Controller.class.php:1770
6 0.0542 9631584 Error_PermissionDenied->buildInterface( ) ../Docman_View_PermissionDeniedError.class.php:27