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

Editing multiple languages simultaneously results in loss of reference records #59

Open
madc opened this issue Nov 8, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@madc
Copy link
Contributor

madc commented Nov 8, 2024

Describe the bug

We are using the flexible editor inside a translated page. The editor is setup to use multiple relation blocks.
Our editor used the split view to edit pages. If thy only edited a single language, everything works as expected.
But if both languages got edited, all reference records (in the _nodes collection) for one language got deleted on save.

image

The the record in the relation table still exists, but the relationship got deleted.

Duplication dields in the _nodes collection are set according to documentation:
image

To Reproduce

  • Use the flexible editor inside a translated record
  • edit both languages (in split view?)
  • save and re-open

Flexible Editor Version:
v1.8.1

Directus Version:
11.1.2

@madc
Copy link
Contributor Author

madc commented Nov 11, 2024

Let me know, if there is any additional information, I can provide.

@MaximilianAzendorf
Copy link

Also having this issue. Really annoying because it makes editing multiple languages a real pain. Sadly I don't have the needed insight into directus to make a PR for a fix.

@formfcw formfcw added the bug Something isn't working label Nov 24, 2024
@formfcw
Copy link
Owner

formfcw commented Nov 24, 2024

Thanks for reporting this.
I was able to reproduce it and it is a tricky one.
Hope to get this fixed soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants