stable

Clone or download

Read-only

request #8971: Avoid conflict with PHP 7 Error class

Fatal errors could be generated if a random number was generated and after that a method of the Tuleap error class called. This is due to the usage of the library php-paragonie-random-compat introduced by commit 6697cfa343798c6ac75bddb9e800cd23b628b80e. This library backports some parts of PHP 7 including the new class Error. Change-Id: I68f99039eb165e09134199242e16ce818fadb57f

Modified Files

Name
M plugins/docman/include/Docman_MetadataValueFactory.class.php +41 −7 Go to diff View file
M plugins/docman/include/soap.php +0 −1 Go to diff View file
M plugins/graphontrackers/include/data-access/GraphOnTrackers_Report.class.php +8 −10 Go to diff View file
M plugins/graphontrackers/include/data-access/GraphicReportFactory.class.php +7 −8 Go to diff View file
M plugins/graphontrackers/include/graphontrackersPlugin.class.php +1 −1 Go to diff View file
M plugins/graphontrackers/include/html-generators/GraphicEngineHtml.class.php +7 −8 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Report.class.php +7 −11 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphicReportV5Factory.class.php +7 −8 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Container_Fieldset.class.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +2 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_ReportFactory.class.php +6 −14 Go to diff View file
M plugins/tracker/tests/ArtifactTest_TO_MIGRATE.php +0 −11 Go to diff View file
M plugins/webdav/include/FS/WebDAVProject.class.php +1 −1 Go to diff View file
M src/common/frs/FRSFile.class.php +3 −7 Go to diff View file
M src/common/frs/FRSFileFactory.class.php +2 −2 Go to diff View file
M src/common/frs/FRSPackage.class.php +8 −11 Go to diff View file
M src/common/frs/FRSRelease.class.php +2 −3 Go to diff View file
D src/common/include/Error.class.php +0 −96 Go to diff View file
M src/common/include/GroupFactory.class.php +27 −15 Go to diff View file
M src/common/project/Group.class.php +54 −12 Go to diff View file
M src/common/reference/CrossReference.class.php +4 −6 Go to diff View file
M src/common/tracker/Artifact.class.php +41 −7 Go to diff View file
M src/common/tracker/ArtifactCanned.class.php +41 −4 Go to diff View file
M src/common/tracker/ArtifactFactory.class.php +41 −7 Go to diff View file
M src/common/tracker/ArtifactField.class.php +42 −12 Go to diff View file
M src/common/tracker/ArtifactFieldFactory.class.php +42 −10 Go to diff View file
M src/common/tracker/ArtifactFieldSet.class.php +8 −18 Go to diff View file
M src/common/tracker/ArtifactFieldSetFactory.class.php +40 −6 Go to diff View file
M src/common/tracker/ArtifactFile.class.php +41 −4 Go to diff View file
M src/common/tracker/ArtifactImport.class.php +46 −11 Go to diff View file
M src/common/tracker/ArtifactReport.class.php +40 −7 Go to diff View file
M src/common/tracker/ArtifactReportFactory.class.php +33 −9 Go to diff View file
M src/common/tracker/ArtifactType.class.php +40 −7 Go to diff View file
M src/common/tracker/ArtifactTypeFactory.class.php +41 −8 Go to diff View file
M src/common/user/UserImport.class.php +7 −14 Go to diff View file
M src/www/file/download.php +1 −1 Go to diff View file
M src/www/soap/frs/frs.php +15 −20 Go to diff View file
M src/www/soap/tracker/tracker.php +0 −1 Go to diff View file
M src/www/tracker/copy.php +0 −5 Go to diff View file
M src/www/tracker/detail.php +0 −5 Go to diff View file
M src/www/tracker/masschange_detail.php +0 −5 Go to diff View file
M src/www/tracker/mod.php +0 −6 Go to diff View file
M tests/simpletest/common/tracker/ArtifactImportTest.php +0 −1 Go to diff View file
M tests/simpletest/common/tracker/ArtifactTest.php +0 −1 Go to diff View file