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

Error when deleting an item in a Fieldcollection #5323

Closed
papillo-dev opened this issue Nov 23, 2019 · 0 comments · Fixed by #5422
Closed

Error when deleting an item in a Fieldcollection #5323

papillo-dev opened this issue Nov 23, 2019 · 0 comments · Fixed by #5422
Assignees

Comments

@papillo-dev
Copy link

@papillo-dev papillo-dev commented Nov 23, 2019

Bug Report

When I delete an item in a Fieldcollection with PHP, the link to a Many-To-One-Relational is removed in another item. Version: v6.3.2

MyCode:
$kontingentFc = $kunde->getKontingente();
$kontingentFc->remove($data['index']);
$kunde->setKontingente($kontingentFc);
$kunde->save();

A screenshot before and after removal.
Bildschirmfoto 2019-11-23 um 09 54 50

Bildschirmfoto 2019-11-23 um 09 55 03

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