Check_Reminders.php Email Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eventum |
Invalid
|
Low
|
Unassigned |
Bug Description
Hi all,
I've just set up eventum notifications. I'm getting emails through correctly, so everything seems to be in order. However I'm also being notified about an error via email also.
Contents are as follows;
Hello,
An error was found on line '731' of script '/var/eventum_
The error message passed to us was:
'DB Error: syntax error'
A more detailed error message follows:
'SELECT
AND iss_sta_id = 15
AND iss_closed_date IS iss_closed_date
AND iss_trigger_
A backtrace is available:
APP_PATH/
Reminder:
--
Sincerely yours,
Automated Error_Handler Class
I've done a bit of googling and searched your forums but I've not seen this reported. Any thoughts?
Kind Regards,
Nick Phillips
Changed in eventum: | |
importance: | Undecided → Low |
status: | New → Invalid |
Same problem for us, except the SQL is simpler and easier to spot. Here's a snippet:
SELECT
iss_id
FROM
issue
WHERE
iss_prj_id=2
AND iss_sta_id IS 10
The "AND iss_sta_id IS 10" is invalid SQL. It should be "AND iss_sta_id=10".
More specifically, the IS is wrong. It should be an equals sign.