I have problem that email reply was not recognized.
The reason is the ticket number in subject not recognized.
To trace into source codes, I saw that
in the Thread::lookupByEmailHeaders(&$mailinfo, &$seen=false)
class.thread.php line 1441 : && ($ticket = Ticket::lookupByNumber($match[1]))
this one Ticket::lookupByNumber($match[1]) returns 0. The $match[1] is correct ticket number which same as number in database.
trace into Ticket::lookupByNumber and getIdByNumber. I am stuck on class.ticket.php line 3411
$query = static::objects()
->filter(array('number' => $number));
I dont know how to debug this one to see why it failed.
any suggestion please?