mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
SequenceGenerator crashes with non-numeric value encountered when using XML Driver #5685
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.