Bug #39933 Low-Level Error messages
Submitted: 8 Oct 2008 14:10 Modified: 9 Jul 2013 8:56
Reporter: German Pizarro Email Updates:
Status: Closed Impact on me:
None 
Category:Eventum Severity:S3 (Non-critical)
Version:2.1.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: error, eventum, log, message, notice, warning

[8 Oct 2008 14:10] German Pizarro
Description:
Eventum has several places where isset should be used, to avoid Error messages of WARNING and NOTICE levels.

For example:

/reports/stalled_issues.php
Warning: Invalid argument supplied for foreach() in /<eventum-path>/include/class.report.php on line 69

popup.php from (modified) class.issue.php
PHP Notice:  Undefined index:  release in /<eventum-path>/include/class.issue.php on line 3493 

There are others these are just a couple.

Hopefully all these will be patched and no warning/notice/error messages should be displayed with normal usage.

How to repeat:
1. Enable error reporting in config.php 
ini_set("display_errors", 1);
error_reporting(E_ALL);

2. Open browser, Login Eventum.

3a. Use bulk update and view popup message.
3b. Check stalled_issues report, warning appears
3c. Navigate through Eventum, other warnings might appear

Suggested fix:
Verify if variables are set where necessary.
[22 Jan 2009 14:47] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 2.2, and inform about the results.
[23 Feb 2009 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[9 Jul 2013 8:56] Yngve Svendsen
Hi. Eventum is now a project independent of MySQL, and its new home (including bug tracking) is here: https://launchpad.net/eventum

I am closing this, and ask that the issue, if still relevant, be reported to the Launchpad bug tracker.