You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use dbal package 0.9.6 with mysql.
producer->send() does not add a record to the queue.
$this->context->getDbalConnection()->insert() in DbalProducer.php:118 returns 0 but no any exception thrown.
But if I comment out the third parameter with types, the message is added successfully.
The problem seems to be in the parameter 'redelivered' => Type::BOOLEAN,
When it's changed to 'redelivered' => Type::SMALLINT, everything works
I think it's also worth to check that insert() returned 1 and throw an exception otherwise.
And btw. it will be nice if you inherited all your exceptions from RuntimeException. Most of them I think caused by the wrong usage of library and there is no need to catch them in the app
Activity
otzy commentedon Jan 18, 2019
I think it's also worth to check that insert() returned 1 and throw an exception otherwise.
And btw. it will be nice if you inherited all your exceptions from RuntimeException. Most of them I think caused by the wrong usage of library and there is no need to catch them in the app
makasim commentedon Jan 18, 2019
that strange since there are some functional tests which pass.
Would you like to submit a PR?
[-]message is not added to the queue[/-][+][dbal] message is not added to the queue[/+]otzy commentedon Jan 21, 2019
I created PR. Not sure if the destination is correct though