mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-714: Fix of DDC-167 creates FatalError when persisting a new entity #881
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 (Jul 22, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user mzach:
The resolution of DDC-167 introduced a new problem in UnitOfWork on line 612 (function persistNew()) as well - when I try to save an entity, I get an Exception from my error handler (who captues php errors):
The relevant code in UoW is:
We're using the SequenceGenerator
which doesn't return an array, so the array typehint fails and generates an error.
The fix, which worked for me, is attached.
@doctrinebot commented on GitHub (Jul 25, 2010):
Comment created by @beberlei:
This bug also leads to about 400 test failures in the Postgres ORM Testsuite :-)
@doctrinebot commented on GitHub (Jul 25, 2010):
Comment created by @beberlei:
Fixed! Thanks for reporting.
@doctrinebot commented on GitHub (Jul 25, 2010):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/193347de10bd18e8b6de