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
Upload Files in Item shows 2 added Files when uploading 1 #10542
Comments
This may be related/regressed from the PR #10368 as well. Seems like Files interface worked on v9.2.1. |
Thanks for following up! Unfortunately I think that PR may not be the correct approach as the issue should stem from M2M relation (it's what Files interface uses under the hood), so we may need to look for a fix from that angle instead of being files-interface-specific. |
Is there a workaround available for this behaviour? Our customers keep deleting files since they think they are duplicates. Thanks |
I'm not aware of a configuration workaround. #12082 means to resolve this though, so a fix is underway 👍🏻 |
This also happens to me on the latest community version |
@azrikahar nice! Thank you :) |
Preflight Checklist
Describe the Bug
UI shows 2 added files when uploading just one file.
When adding multiple files, this happens for every file.
To Reproduce
I clicked on "Upload File" and chose 1 File to upload.
After saving it's just 1 File again.
Errors Shown
none
What version of Directus are you using?
9.2.2
What version of Node.js are you using?
inside Docker: 16.13.1
What database are you using?
Postgres 12
What browser are you using?
Vivaldi
What operating system are you using?
Windows
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: