-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.1-B2
-
Component/s: Data Management
-
Labels:None
-
Change Log Group:Fixed
-
Change Log Message:The exit code of "/tools/run_event.php" script was 0, even when error happened.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
Script "/tools/run_event.php" allows to execute arbitrary event of In-Portal from command line. It works in general, but I've found several issues during it's heavy use:
- no check is made to ensure, that script is executed from command line
- no exit code is provided in case of error