stable

Clone or download

Read-only

Repair docman export

The tool is broken in multiple ways: - it relies on Logger instead of LoggerInterface - it does not know how to autoload - it uses URLVerification whereas it is a cli script You should now be able to export the content of a docman. src/utils/php-launcher.sh \ plugins/docman/bin/DocmanExport/export.php \ <project-id> \ /path/to/target/dir Check to project access is not broken when you browse documents on the web interface. Part of request #14507: XML import/export : docman Change-Id: Idf2ea6f98089c33fc11dc284cccf4398acef467b

Modified Files

Name
M plugins/docman/bin/DocmanExport/Docman_XMLExport.class.php +1 −1 Go to diff View file
M plugins/docman/bin/DocmanExport/Docman_XMLExportVisitor.class.php +1 −1 Go to diff View file
M plugins/docman/bin/DocmanExport/XMLExport.class.php +1 −1 Go to diff View file
M plugins/docman/bin/DocmanExport/export.php +1 −0 Go to diff View file
M plugins/docman/include/Docman_PermissionsManager.class.php +33 −29 Go to diff View file
M plugins/docman/phpunit/PermissionManager/Docman_PermissionsManagerTest.php +36 −34 Go to diff View file
M plugins/docman/phpunit/PermissionManager/PermissionsManagerPerfTest.php +16 −15 Go to diff View file