-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Cannot create new assets #2633
Comments
I'm having the same issue - have you attempted to create the same asset twice with the same name? I get a non-unique error, and I'm checking my database now to see if the record exists, and is just not being displayed. Also, did you upgrade to version 3.x recently? |
We've tried creating the same asset repeatedly, and it never properly saves or brings me to the All Assets page. We receive no error messages at all. When we click Save at the bottom, the page appears to just refresh with no alerts or assets created. We've been on 3.x since about August, and the current version we've been on for about a week. The issue has been going on since before the most recent version, but this is the first we've experienced this error since upgrading to 3.x in August. |
What happens when you tail the laravel log as you're experiencing the error? Also, can you please show me the DB structure of your assets table? |
Hi there, thanks for the reply. We took a snapshot of this instance, so we can go back at any time, but to troubleshoot this we reverted the front end to an earlier version while leaving the database untouched. That seemed to fix the problem. The laravel output is below; #106 [internal function]: MisterPhilip\MaintenanceMode\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) assets table structure – copy and pasting this into a text editor will format it properly again. MariaDB [snipeit]> describe assets; Thanks!!! |
Hi there - this was already fixed on develop. In the meantime, you can run |
Expected Behavior (or desired behavior if a feature request)
When we create a new asset we expect it to save and return to the All Assets page
Actual Behavior
We create a new asset, and the page simply refreshes without saving the asset. We receive no error messages and all required fields are filled out. Also all custom fields have been removed.
Please confirm you have done the following before posting your bug report:
Please provide answers to these questions before posting your bug report:
app/storage/logs
and your webserver's logs. - noneThe text was updated successfully, but these errors were encountered: