mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2808: Notice: Undefined index: joinColumns in Doctrine/ORM/Persisters/BasicEntityPersister.php line 1527 with many-to-many relation and contains criteria #3508
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 (Nov 21, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user warrior:
Field Annotation:
Criteria definition:
Throws error when apply this criteria to not-loaded collection (via persistent collection). Do not throws any errors when works with ArrayCollection.
The error is
It seems that annotationMapptings array doesn't contains joinColumns in root, it contains this key under joinTable key. May be fix would be (line 1527)
Update:
After this fix I got the next error:
Seems that you doesn't support contains method in this persister
@doctrinebot commented on GitHub (Nov 21, 2013):
@doctrinebot commented on GitHub (Feb 9, 2014):
Comment created by @beberlei:
Contains is not supported in ORM 2.3, only stating with 2.5
@doctrinebot commented on GitHub (Feb 9, 2014):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Feb 19, 2014):
Comment created by @deeky666:
[~beberlei] I think this is not only related to 2.5. The original issue describe here refers to a PHP warning "Notice: Undefined index: joinColumns in Doctrine/ORM/Persisters/BasicEntityPersister.php line 1527" which has nothing todo with contains support IMO. See related issue: DDC-2988
@doctrinebot commented on GitHub (Mar 16, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1307] was labeled:
https://github.com/doctrine/doctrine2/pull/1307