Skip to content

Conversation

@janpecha
Copy link
Collaborator

@janpecha janpecha 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 pr/bugfix-hasMany-addTo branch from 4060e1d to ff479df Compare December 4, 2018 16:46
@janpecha janpecha changed the title WIP: Result: addToReferencing() ignores duplicated values Result: addToReferencing() ignores duplicated values Dec 4, 2018
@janpecha janpecha force-pushed the pr/bugfix-hasMany-addTo branch from ff479df to a9abead Compare February 10, 2019 16:09
@janpecha janpecha merged commit a9abead into Tharos:develop Feb 10, 2019
@janpecha janpecha deleted the pr/bugfix-hasMany-addTo branch February 10, 2019 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant