Anonymous | Login | Signup for a new account | 2021-03-05 18:50 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 | ||||
0001555 | SiT! | incidents | public | 2011-06-07 19:49 | 2011-06-24 18:03 | ||||
Reporter | ivan | ||||||||
Assigned To | ivan | ||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | Current GIT | ||||||||
Target Version | 3.90beta1 | Fixed in Version | Current GIT | ||||||
Summary | 0001555: rand error when adding incidents | ||||||||
Description | mt_rand(): max(-1) is smaller than min(0) in /home/ivan/src/ericthefish-sit/lib/incident.inc.php @ line 370 mt_rand() suggest_reassign_userid() | ||||||||
Additional Information | Incident is still created but not re-assigned to anybody - stays with person who logged. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
paulh (administrator) 2011-06-07 20:02 |
Confirmed this could happen, from a quick read of the code looks like it would happen if there where no engineers set to accepting |
ivan (administrator) 2011-06-24 17:34 |
Tried to repro this and with no user accepting the incident is moved to the Unassigned queue (in holding queue) as expected. |
ivan (administrator) 2011-06-24 18:03 |
Git 84a4c8b: Fix for Mantis 1555 rand error when adding incidents. |
![]() |
|||
Date Modified | Username | Field | Change |
2011-06-07 19:49 | ivan | New Issue | |
2011-06-07 19:50 | ivan | Additional Information Updated | View Revisions |
2011-06-07 20:02 | paulh | Note Added: 0003894 | |
2011-06-07 20:02 | paulh | Status | new => confirmed |
2011-06-24 17:34 | ivan | Note Added: 0004066 | |
2011-06-24 18:00 | ivan | Assigned To | => ivan |
2011-06-24 18:00 | ivan | Status | confirmed => assigned |
2011-06-24 18:03 | ivan | Note Added: 0004067 | |
2011-06-24 18:03 | ivan | Status | assigned => resolved |
2011-06-24 18:03 | ivan | Fixed in Version | => Current GIT |
2011-06-24 18:03 | ivan | Resolution | open => fixed |
Copyright © 2000 - 2021 MantisBT Team |