Description
It is possible to create two-way associations for products. When connecting two product models and updating a variant through the administration, something strange happens: The variant is also connected to the model as association. This goes so far that possibly all variants are connected to a model and persisted into database even though no association was changed in administration.
Version
Akeneo v7.x
Steps to reproduce
- Create a two-way association
- Create two product models, each with at least one variant
- Connect both models through the two-way association
- Switch to a product variant
- Click on Save
- Open the the other product model and check associations => Product model contains the variant
How it should work
If a variant is already part of the association through the model, the variant should not be added again as association.
Description
It is possible to create two-way associations for products. When connecting two product models and updating a variant through the administration, something strange happens: The variant is also connected to the model as association. This goes so far that possibly all variants are connected to a model and persisted into database even though no association was changed in administration.
Version
Akeneo v7.x
Steps to reproduce
How it should work
If a variant is already part of the association through the model, the variant should not be added again as association.