SiT! Bugs - SiT!
View Issue Details
0001328SiT!inbound emailpublic2010-05-21 15:382011-06-12 16:25
nicdev 
ivan 
normalminoralways
resolvedfixed 
3.60 LTS 
3.90beta1Current GIT 
0001328: Inbound email limited to recognise only up to incident # 99999
The inbound email script can only recognise [incidentid] less than or = 99 999 due to:

// Extract Incident ID
        if (preg_match('/\[(\d{1,5})\]/', $subject, $m))
No tags attached.
related to 0000049resolved paulh Custom incident reference 
Issue History
2010-05-21 15:38nicdevNew Issue
2010-05-22 15:56paulhNote Added: 0003171
2010-05-22 15:56paulhStatusnew => confirmed
2010-08-27 15:11nicdevStatusconfirmed => assigned
2010-08-27 15:11nicdevAssigned To => ivan
2010-08-27 15:11nicdevNote Added: 0003380
2010-08-27 15:11nicdevStatusassigned => feedback
2010-08-27 16:15ivanNote Added: 0003381
2010-11-30 21:06paulhNote Added: 0003488
2010-11-30 21:06paulhAssigned Toivan =>
2010-11-30 21:06paulhStatusfeedback => confirmed
2010-11-30 21:06paulhRelationship addedrelated to 0000049
2010-12-04 12:15paulhNote Added: 0003494
2011-06-08 23:07ivanAssigned To => ivan
2011-06-08 23:07ivanStatusconfirmed => assigned
2011-06-09 08:40ivanTarget Version => 3.90beta1
2011-06-12 16:25ivanNote Added: 0003915
2011-06-12 16:25ivanStatusassigned => resolved
2011-06-12 16:25ivanFixed in Version => Current GIT
2011-06-12 16:25ivanResolutionopen => fixed

Notes
(0003171)
paulh   
2010-05-22 15:56   
Yeap can confirm

Theres no reason really to limit this to 5 chars, perhaps remove this limit for 3.62
(0003380)
nicdev   
2010-08-27 15:11   
Ivan, did we ever do this for 3.62??
(0003381)
ivan   
2010-08-27 16:15   
Nope, not that I know of. Still outstanding AFAIK.
(0003488)
paulh   
2010-11-30 21:06   
Need to increase from 5 digits
(0003494)
paulh   
2010-12-04 12:15   
incident_id_from_subject() in lib/incident.inc.php also needs changing as this has the same regex - perhaps auto should use this function?
(0003915)
ivan   
2011-06-12 16:25   
Fixed in Git bd3b8e4: Recognise incident numbers with more than 5 digits in subject lines of incoming mail, also use the function incident_id_from_subject() which was written (Thanks Kieran) but unused for some reason.