Skip to content

Conversation

@albertcat
Copy link
Contributor

This PR tries to fix the problem that when adding an attachment to a translated Trix field, Nova throws a 404 error because the field translations_<field>_<lang> does not exists:

image

The proposed fix create the expected fields by Nova when there is an file-attachment request, allowing the request going throught when the field existance is checked with the call findFieldByAttribute on Laravel\Nova\Http\Controllers\FieldAttachmentController.

@freekmurze freekmurze merged commit c51f2ca into spatie:main Jul 19, 2024
@freekmurze
Copy link
Member

Thanks!

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.

2 participants