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

Sorting in backend removes relationship dependencies #3983

Closed
firstIssue opened this issue Feb 9, 2021 · 9 comments
Closed

Sorting in backend removes relationship dependencies #3983

firstIssue opened this issue Feb 9, 2021 · 9 comments
Labels
Milestone

Comments

@firstIssue
Copy link

When using the standard 'sort' field in a relational field, it just removes another relation when being drag/dropped.

I have a station with relation to scenes, those scenes again have relations to contents.
If I drag the scenes in their order and save, directus removes the relation to the content and generates a new empty one.


Project details

Directus Version: 9.0.0-rc.34
Environment: production
OS: Linux 4.15.0-88-generic
Node: 10.23.2

@rijkvanzanten
Copy link
Member

@firstIssue Would you be able to share a DB dump where this is happening? Saves me a bunch of time trying to reproduce your exact setup based on this:

I have a station with relation to scenes, those scenes again have relations to contents.

🙂

@firstIssue
Copy link
Author

firstIssue commented Feb 9, 2021

@firstIssue Would you be able to share a DB dump where this is happening? Saves me a bunch of time trying to reproduce your exact setup based on this:

I have a station with relation to scenes, those scenes again have relations to contents.

🙂

What format do you need

@firstIssue Would you be able to share a DB dump where this is happening? Saves me a bunch of time trying to reproduce your exact setup based on this:

I have a station with relation to scenes, those scenes again have relations to contents.

🙂

I hope this is the right format for you, not that familar with DB exporting and handling.
dump (1).zip

@rijkvanzanten
Copy link
Member

A SQL dump like you provided is perfect! That being said.. You shared an empty file 😁

@rijkvanzanten
Copy link
Member

I'll close this for now as I can't reproduce it, and the provided DB dump is totally empty..

@firstIssue Is this still happening for you? If so, can you share a db dump?

@firstIssue
Copy link
Author

Did you check the dump I sent you via mail? As this one here was the wrong one, the one per mail is 1,2MB. @rijkvanzanten

@benhaynes benhaynes reopened this Feb 24, 2021
@rijkvanzanten
Copy link
Member

Ah, I didn't realize that was you haha. Thanks! @firstIssue

@benhaynes
Copy link
Sponsor Member

@rijkvanzanten — Is this the same issue as: #3875

@rijkvanzanten
Copy link
Member

Could be, hard to tell from the known info on both

@rijkvanzanten
Copy link
Member

I believe this is fixed in #5484

@rijkvanzanten rijkvanzanten added this to the v9.0.0-rc.64 milestone May 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants