I'm using the Importer History and running a test import on 4 assets using the asset tag, name and date which says it's successful and no errors. I expected this to then populate my existing four assets with "Checked Out To" user and also the "Check Out Date" date
When going to view the assets the checked out to and check out date is blank. I'm looking for a way to populate all my assets to users and dates as we are migrating over from a spreadsheet. Is this possible? It's my understanding this is what the importer history is specifically for? I have googled and tested but not finding much on this subject so any help will be much appreciated.
storage/logs and your webserver's logs.Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
Following this I stumbled across https://github.com/snipe/snipe-it/issues/4890 - is this relevant to my issue ? It describes what happens to me, imported data cannot be checked in.
What do you have set as your username format in your General Settings?
firstname lastname and I am importing the csv with the username tag populated with the AD usernames (so firstname.lastname). I've got LDAP synced so figured snipe would match it with my import usernames and then check out the asset to the user.
Can you pull from the latest release (just released tonight) and see if that helps? We fixed a bug in username creation
Thank you. Sorry to be a pain but I'm a Linux and Github newb. How do I pull the latest release down ? It's CentOS if that helps. I've googled about and looks like I have to run the git pull command ?
I'll then reimport and test to let you know!
php upgrade.php from the project root should do it if you installed via git an your permissions are okay
Okay so I've ran the pull successfully and reimported via the importer history but it just kept giving my whoops page. I turned on debugging and got this:
in User.php (line 333)
at HandleExceptions->handleError(8, 'Undefined offset: 1', '/var/www/html/snipeit/app/Models/User.php', 333, array('format' => 'firstname.lastname', 'users_name' => 'joe.bloggs', 'first_name' => 'joe.bloggs'))in User.php (line 333)
Any ideas ?
Hi.
Sorry ignore above. I tinkered about some more and I think it's now working. Will continue to test some sample data. I've also used your sample asset import csv file which seems to work well. Thanks for your help @snipe
Awesome! Glad to hear you're all sorted. In the future, if you've resolved your issue, please try to remember to close your ticket - it helps us out a lot. (We have to manage a lot of tickets.)
