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

Ajax 404 when deleting a file inside of a tab on edit screens #21

Closed
krisimmig opened this issue Jun 15, 2020 · 0 comments
Closed

Ajax 404 when deleting a file inside of a tab on edit screens #21

krisimmig opened this issue Jun 15, 2020 · 0 comments

Comments

@krisimmig
Copy link

We get a 404 error when trying to delete a file from a file field.

It only happens when we are using the tabs also on the edit screen with use TabsOnEdit;, else everything works fine.

It seems that there is an error in the nova/src/Http/Controllers/FieldDestroyController.php.

To reproduce:

  • add a new model like "FileTest" with just one column for a file name
  • add the nova model with Tabs and the file-field inside the tab
  • add the use TabsOnEdit; to the nova model

Now try to upload and delete the file again from the field in nova. There should be a 404 error in the network tab of the browser debug window.

Does anybody else have the same problem?

@dkulyk dkulyk closed this as completed Mar 18, 2021
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

No branches or pull requests

2 participants