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

Creating Items Nested Many to Many causes duplication on Portal UI #7533

Closed
3 tasks done
ChristianBasiga opened this issue Aug 20, 2021 · 1 comment
Closed
3 tasks done

Comments

@ChristianBasiga
Copy link

Preflight Checklist

Describe the Bug

Displaying added relationship incorrectly. If delete one of duplicated entries, it will revert to latest added collection. Trying to save it will also fail.

Only way to avoid this issue, is add 1 nested relationship at a time, and then save at the root collection before next change.

Attached video:

Uploading IssueVideoProof.mp4…

To Reproduce

  1. Create Collection1 that has a one to many field with another Collection2 which has a many to many field with itself(Collection2).
  2. Create Item1 in Collecton 2 through Collection 1 one to many field.
  3. Edit Item1 while in Collection1 view
  4. Add item2 in many to many field of Collection 2 View
  5. Add item3 in many to many field of Collection 2 View
    Expectation: See item2, item3.
    Actual: item2, item2

What version of Directus are you using?

9.0.0-rc.87

What version of Node.js are you using?

14.17.3

What database are you using?

13

What browser are you using?

Chrome, Microsoft Edge

What operating system are you using?

Windows 10

How are you deploying Directus?

running locally

@rijkvanzanten
Copy link
Member

I believe this is caused by the same underlying issue as #3721

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants