SequenceGenerator crashes with non-numeric value encountered when using XML Driver #5685

Closed
opened 2026-01-22 15:14:31 +01:00 by admin · 0 comments
Owner

Originally created by @alextech on GitHub (Sep 3, 2017).

Originally assigned to: @lcobucci on GitHub.

Using XML Driver causes crash at https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Id/SequenceGenerator.php#L81 during addition operation, because parser casts sequence parameters as strings, not integers.

Edit: because optional default values were missing.

Originally created by @alextech on GitHub (Sep 3, 2017). Originally assigned to: @lcobucci on GitHub. Using XML Driver causes crash at https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Id/SequenceGenerator.php#L81 during addition operation, ~because parser casts sequence parameters as strings, not integers.~ Edit: because optional default values were missing.
admin added the Bug label 2026-01-22 15:14:31 +01:00
admin closed this issue 2026-01-22 15:14:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5685