Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Result: addToReferencing() ignores duplicated values #143

Merged
merged 2 commits into from Feb 10, 2019

Conversation

Projects
None yet
1 participant
@janpecha
Copy link
Collaborator

commented Nov 27, 2018

Following code

$book->addToTags(1);
$bookRepository->persist($book);

$book->addToTags(1);
$bookRepository->persist($book);

leads to Dibi\UniqueConstraintViolationException.


Fixed $entity->removeFromX() on SQLite3.

@janpecha janpecha added the Bug label Nov 27, 2018

@janpecha janpecha self-assigned this Nov 27, 2018

@janpecha janpecha added this to the Version 3.4.0 milestone Nov 27, 2018

@janpecha janpecha force-pushed the inlm:pr/bugfix-hasMany-addTo branch from 4060e1d to ff479df Dec 4, 2018

@janpecha janpecha changed the title WIP: Result: addToReferencing() ignores duplicated values Result: addToReferencing() ignores duplicated values Dec 4, 2018

@janpecha janpecha force-pushed the inlm:pr/bugfix-hasMany-addTo branch from ff479df to a9abead Feb 10, 2019

@janpecha janpecha merged commit a9abead into Tharos:develop Feb 10, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@janpecha janpecha deleted the inlm:pr/bugfix-hasMany-addTo branch Feb 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.