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

inconsistancy between many_to_many models #1385

Open
gcolson opened this issue Mar 5, 2021 · 1 comment
Open

inconsistancy between many_to_many models #1385

gcolson opened this issue Mar 5, 2021 · 1 comment

Comments

@gcolson
Copy link

gcolson commented Mar 5, 2021

Hi,

I have two content types C1 and C2, whith a many-to-many relation between them. I have one C1 entry named E1 and one C2 entry named E2.
Using the editor UI, if i add a relation between E2 and E1 by editing the E2 entry, the relation is added in the E1 object, as expected.
However, if I delete this relation by editing the E2 entry (using the trash icon), the E1 entry still has a reference to the E2 content entry.

I think this is a bug.

I'm using v4.0.1

@greyskin
Copy link

greyskin commented Aug 10, 2021

I've tested this and I am unable to reproduce your issue.

Just to confirm, when you say, "if I delete this relation by editing the E2 entry (using the trash icon)", do you mean that you delete the E1 entry from the many_to_many field in E2 or do you mean that you delete the entire E2 entry altogether?

I have tested both of the above scenarios and both result in the expected result, i.e. the E2 entry disappearing from the many_to_many field in the E1 entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants