admin UI only bug
avatar b2z
b2z
21 Oct 2016

Github Issues Log is throwing Critical errors:

Uncaught Exception processing issue webhook {"exception":"[object] (RuntimeException(code: 0): JTracker\Database\AbstractDatabaseTable::load can not bind. at

avatar b2z b2z - open - 21 Oct 2016
avatar zero-24
zero-24 - comment - 21 Oct 2016

Is this a cutted amessage as it sops with 'at'? ;)

avatar mbabker
mbabker - comment - 21 Oct 2016

No, that's all the message was. Until 05b98ac

avatar mbabker
mbabker - comment - 23 Oct 2016

Something's handling invalid data. It's erroring out trying to bind a key value of 210083 (as an example) to the issues table. None of the issues have six digit numbers, either as a local ID or GitHub. Our activities table isn't up to that yet (183503 is the last ID there). It's not a GitHub activity ID; those are in the millions.

avatar mbabker
mbabker - comment - 28 Oct 2016

I'm now thoroughly confused. The webhook opening #903 failed with this same type of error. See https://gist.github.com/mbabker/9466b20ef96362ffa364c302c11ec27c for the hook and response. The ID it's groaning about in the error response isn't part of the webhook payload.

avatar mbabker
mbabker - comment - 30 Oct 2016

Figured this one out. When I opened #904 another message got added to the log about not being able to bind ID 212411. That's the ID of the open activity for that record. So our code at https://github.com/joomla/jissues/blob/master/src/App/Tracker/Controller/Hooks/ReceiveIssuesHook.php#L147-L170 has issues when activity records are inserted after the issue record then we try to create an IssuesTable instance relying on the last insert ID from the database.

avatar mbabker mbabker - change - 8 Feb 2017
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-02-08 19:44:10
Closed_By mbabker
avatar mbabker mbabker - close - 8 Feb 2017

Add a Comment

Login with GitHub to post a comment