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

[5.x] Fix assets not being uploadable when not using dynamic folders #10865

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

jasonvarga
Copy link
Member

When you have an assets field that does not have the new dynamic feature enabled and no folder set (so you
are intending the assets to go directly in the container) it results in a validation error.

The issue was that slashes were being stripped so the required folder should have been '/' but it became ''
resulting in a validation error.

Bug introduced in #10808
Fixes #10856

@jasonvarga jasonvarga merged commit e2e7b25 into 5.x Sep 30, 2024
16 checks passed
@jasonvarga jasonvarga deleted the fix-non-dynamic-asset-folder branch September 30, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assets not directly uploadable via assets field (without dynamic folder feature enabled)
1 participant