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

M2A sorting fails with image field #9759

Closed
3 tasks done
fabianbeiermeire opened this issue Nov 12, 2021 · 3 comments
Closed
3 tasks done

M2A sorting fails with image field #9759

fabianbeiermeire opened this issue Nov 12, 2021 · 3 comments
Assignees

Comments

@fabianbeiermeire
Copy link

Preflight Checklist

Describe the Bug

M2A sorting fails if an image is use in the related collection.

To Reproduce

Create M2A-Field with a related Collection that uses an image.

Errors Shown

[
{
"message": ""storage" is required",
"extensions": {
"code": "FAILED_VALIDATION",
"field": "storage",
"type": "required"
}
},
{
"message": ""filename_download" is required",
"extensions": {
"code": "FAILED_VALIDATION",
"field": "filename_download",
"type": "required"
}
}
]

What version of Directus are you using?

9.0.1

What version of Node.js are you using?

v14.18.1

What database are you using?

SQLite 3.36.0

What browser are you using?

Brave (Chrome), Safari

What operating system are you using?

macOS

How are you deploying Directus?

running locally

@Oreilles
Copy link
Contributor

Thank you for reporting this issue, could you provide the API query that caused it ?

@joselcvarela
Copy link
Member

Hey @Oreilles, I am currently working on sorting and relationships #9832
I can take from here, if you don't mind 👍

@joselcvarela joselcvarela self-assigned this Nov 16, 2021
@joselcvarela joselcvarela linked a pull request Dec 1, 2021 that will close this issue
@joselcvarela joselcvarela removed a link to a pull request Dec 27, 2021
@joselcvarela
Copy link
Member

joselcvarela commented Dec 28, 2021

Hello @fabianbeiermeire
This seems to be fixed now. Tried with both Postgres and SQLite.

m2a_sorting.mov

If you think this is not solved yet, feel free to reach us in order to reopen.

@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

3 participants