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
When a consumer now requeues then the following error will occur:
[error] Consuming interrupted by exception
[Doctrine\DBAL\Exception\NotNullConstraintViolationException]
An exception occurred while executing 'INSERT INTO enqueue (body, headers, properties, priority, queue, redelivered) VALUES (?, ?, ?, ?, ?, ?)' with params ["msg", "{\"content_type\":\"application\\\/json\",\
"message_id\":\"c0165f40-d05c-44f4-a3ae-2d8286a89b86\",\"timestamp\":1513248090,\"reply_to\":null,\"correlation_id\":null}", "{\"enqueue.topic_name\":\"xxx.vote.new\",\"enqueu
e.processor_name\":\"xxx-votes\",\"enqueue.processor_queue_name\":\"default\"}", 2, "enqueue.app.default", 1]:
SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value
[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value
[PDOException]
SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value
What am I doing wrong or is this bug related to here:
Hi there,
Thanks for this great queuing framework!
It runs in Magento2 very smoothly but I have to use DBAL backend which brings an error:
The automatically created
enqueue
DB table structure looks:When a consumer now requeues then the following error will occur:
What am I doing wrong or is this bug related to here:
enqueue-dev/pkg/dbal/DbalConsumer.php
Line 137 in 6fab552
when on requeuing the column
id
has been left out ... ?Thanks for help!
The text was updated successfully, but these errors were encountered: