mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-425: E_NOTICE in Doctrine/ORM/UnitOfWork.php when using DateTime w/ DQL #530
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 @doctrinebot on GitHub (Mar 15, 2010).
Jira issue originally created by user jakajancar:
I'm trying to do the following:
Which results in
E_NOTICE (8): Undefined index: 0000000051c01e2c00000000e1c5cc8d
in Doctrine/ORM/UnitOfWork.php:1916
@doctrinebot commented on GitHub (Mar 15, 2010):
Comment created by romanb:
Reproduced successfully and scheduled for BETA1.
@doctrinebot commented on GitHub (Mar 29, 2010):
Comment created by romanb:
You can now use explicit binding types to work around this issue:
The DQL parser can not yet automatically infer the type of the bound parameter from the field (e.someDatetimeField) during parsing because this is non-trivial. Maybe this will change in the future.
@doctrinebot commented on GitHub (Mar 29, 2010):
Issue was closed with resolution "Fixed"