-
-
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
Unable to add asset model (v6.0.0-RC-1) #10536
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
I bet I messed something up in the Livewire changes; I'm seeing that specific controller pop up. I'll see if I can reproduce, then get it fixed. Thank you SO much for helping test our v6 RC! It really helps us get to a place where our 6.0.0 release will be really solid and reliable! |
@michaelredus TYSM for kicking the tires on the RC! We'll have a fix out for you shortly. <3 |
@uberbrady @snipe Not a problem at all, Snipe-IT is great software and I'm very excited to get to testing out version 6! Thank you both for all of your hard work on it. |
We're on this - I'm having a hard time reproducing it, but we'll get it fixed. |
I encounter this issue too |
Ok, I take out the condition that removes the functionality and added an early return if no |
Fixes #10536 Unable to add asset model (v6.0.0-RC-1)
Debug mode
Describe the bug
When clicking the "Create New" button on the view models page, I get an error 500. When in debug mode, the error is: Attempt to read property "fieldset_id" on null (View: C:\inetpub\wwwroot\snipe6\resources\views\models\edit.blade.php)
Reproduction steps
...
Expected behavior
The add an asset page opens.
Screenshots
Snipe-IT Version
6.0.0-RC-1
Operating System
Windows
Web Server
IIS 10
PHP Version
8.0
Operating System
Windows 10
Browser
Google Chrome
Version
97
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
This is a fresh install to test out v6.0.0. Snipe-IT was installed manually, following the installation guide. So far, I have enabled LDAP authentication and added one manufacturer with no error. I did edit the models table just to see if it did anything (the model added via the database did show up) but I have since rolled back to a snapshot from before I touched the database.
I have also ran the below commands, mentioned on the common issues page:
composer dump-autoload; php artisan cache:clear; php artisan config:clear; php artisan route:clear; php artisan debugbar:clear; php artisan event:clear; php artisan view:clear; php artisan optimize:clear; php artisan clear-compiled
The text was updated successfully, but these errors were encountered: