Anonymous | Login | Signup for a new account | 2021-02-24 17:15 GMT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000717 | SiT! | triggers | public | 2009-06-04 08:28 | 2009-08-16 14:40 | ||||
Reporter | Bonkie | ||||||||
Assigned To | kieran | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Apple iMac | OS | Mac OSX | OS Version | 10.5 | ||||
Product Version | |||||||||
Target Version | 3.50 | Fixed in Version | 3.50 | ||||||
Summary | 0000717: Bug in auto.php considering the 'Mark for Closure' items in the support system | ||||||||
Description | When having a item on 'Marked for Closure' in the SiT! system and the time has been past it wont close the item at all. So we have fixed it with a temporary addition to the auto.php. Our addition starts at line 58 of auto.php Addition: ///// SOMETIMES THERE IS JUST AN LITTLE UPDATE STATEMENT NEEDED :-) $SQL = "UPDATE `{$dbIncidents}` SET lastupdated='{$now}', "; $SQL .= "closed='{$now}', status='".STATUS_CLOSED."', closingstatus='4', "; $SQL .= "timeofnextaction='0' WHERE status='".STATUS_CLOSING."' "; $SQL .= "AND (({$now} - lastupdated) > '{$closure_delay}') "; $SQL .= "AND (timeofnextaction='0' OR timeofnextaction<='{$now}')"; $doQuery = mysql_query($SQL) or die(mysql_error()); //////////////////////////////// END UPDATE //////////////////////////////// Hopefully you guys can fix this in a correct way or just use our solution (which is also correct) | ||||||||
Steps To Reproduce | Just run auto.php and see if it closes (i bet it wont) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
![]() |
|
ivan (administrator) 2009-06-05 10:49 |
Thanks Bonkie, looks like some recent code for billing might have removed the important bit of code that made that work. :-/ |
kieran (administrator) 2009-06-13 09:55 |
Fixed in trunk r5450. Thanks for the patch! |
ivan (administrator) 2009-08-16 14:40 |
Released in 3.50rc1 |
![]() |
|||
Date Modified | Username | Field | Change |
2009-06-04 08:28 | Bonkie | New Issue | |
2009-06-04 08:28 | Bonkie | File Added: auto.php | |
2009-06-05 10:49 | ivan | Note Added: 0001167 | |
2009-06-05 10:49 | ivan | Status | new => confirmed |
2009-06-13 09:55 | kieran | Note Added: 0001196 | |
2009-06-13 09:55 | kieran | Assigned To | => kieran |
2009-06-13 09:55 | kieran | Status | confirmed => resolved |
2009-06-13 09:55 | kieran | Resolution | open => fixed |
2009-06-13 09:55 | kieran | Fixed in Version | => Current SVN |
2009-08-15 21:31 | ivan | Target Version | => 3.50 |
2009-08-16 13:15 | ivan | Fixed in Version | Current SVN => 3.50 |
2009-08-16 14:40 | ivan | Note Added: 0001729 | |
2009-08-16 14:40 | ivan | Status | resolved => closed |
Copyright © 2000 - 2021 MantisBT Team |