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
The text was updated successfully, but these errors were encountered:
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
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 worksThe text was updated successfully, but these errors were encountered: