stable

Clone or download

Read-only

story #8090: limit number of artifacts during export

Add a threshold to limit cpu/memory consumption if there are too many artifacts to export. Admin can force the export with the suitable flag. Please note that command line arguments have changed, for more information see : export_project_xml.php -h Change-Id: Ic2249ead474d38271ff87d80d9d92151a58703ad

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/XMLExport.php +28 −4 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/XMLExportTooManyArtifactsException.php +21 −0 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +16 −6 Go to diff View file
M plugins/tracker/tests/Artifact/XMLExportTest.php +27 −1 Go to diff View file
M src/utils/export_project_xml.php +48 −9 Go to diff View file