Closed ravensgulls closed 2 years ago
👋 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.
Is it possible that you're importing stuff that's checked out to locations that don't yet exist? The logic around that piece isn't as sturdy as I'd like.
The locations were created when importing the users. I've checked to make sure they all exist.
Hrm. Well, it's blowing up on a findOrFail
call, and, importer-wise, I see that only on the ItemImporter
where it tries that is on Location. It's also possible that we have some kind of poopy case-sensitivity in there, or something? That'd be a bug on our part if we did, but it's definitely well within the realms of possibility.
Debug mode
Describe the bug
When trying to import assets I get the error stated in title. It only happens after importing users into the database on a fresh snipe install. Seems like its looking for a model that doesn't exist. No assets appear in the the GUI after error happens.
Reproduction steps
Expected behavior
Assets are uploaded and viewable from browser GUI.
Screenshots
Snipe-IT Version
v5.3.2 build 6508 (g7ce5993f5)
Operating System
Ubuntu
Web Server
Apache
PHP Version
7.4.3
Operating System
Windows
Browser
Chrome
Version
96
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response