mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2252: Trying to delete ManyToMany relatrionship with composite keys. #2833
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 (Jan 22, 2013).
Jira issue originally created by user yokoloko:
Hi,
When i try to delete some entities attached to an entity I've got the following message.
My entity is specified as follow.
I delete the related entities
I tried on doctrine 2.1.7 and the last doctrine version and same thing happens.
Please find attached the error log.
@doctrinebot commented on GitHub (Jan 22, 2013):
Comment created by @ocramius:
[~yokoloko] is the schema validated by the cli tools?
@doctrinebot commented on GitHub (Jan 22, 2013):
Comment created by yokoloko:
Yes it's validated by the cli tools, if you are talking about the orm:validate-schema command.
@doctrinebot commented on GitHub (Jan 23, 2013):
Comment created by yokoloko:
I think the problem is that my @Id are entities.
@doctrinebot commented on GitHub (Jan 23, 2013):
Comment created by @ocramius:
[~yokoloko] can you abstract it away into a test?
@doctrinebot commented on GitHub (Jan 23, 2013):
Comment created by yokoloko:
Here is my test case.
I put it IN Doctrine\Test\ORMJT.
I don't really know if you need something else, please let met know.
And i've got the following error
@doctrinebot commented on GitHub (Jan 23, 2013):
Comment created by @ocramius:
Thank you so far, this makes it much easier to work with it!
@doctrinebot commented on GitHub (Jan 26, 2013):
Comment created by yokoloko:
Interesting fact, if I only have one column in my jointable it works fine.
eg.
@doctrinebot commented on GitHub (Feb 7, 2013):
Comment created by yokoloko:
Ok here is my two cents solution. passes the tests.
@doctrinebot commented on GitHub (Mar 5, 2013):
Comment created by yokoloko:
Hi, any update on this issue?
@doctrinebot commented on GitHub (Mar 5, 2013):
Comment created by @ocramius:
[~yokoloko] will be checking this tomorrow
@doctrinebot commented on GitHub (Mar 14, 2013):
Comment created by yokoloko:
Everything ok with the check?
@doctrinebot commented on GitHub (Apr 16, 2013):
Comment created by @FabioBatSilva:
Fixed by :
cef20890dc@doctrinebot commented on GitHub (Apr 16, 2013):
Issue was closed with resolution "Fixed"