-
Notifications
You must be signed in to change notification settings - Fork 54
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
Imported CSV results in missing items #436
Comments
Hi @RobolabUACJ You have a quote into name
for a quick workaround, you can remove this quote (adadpt the name) the import should work fine |
Thank you for the reply, @stonebuzz However, it seems like the import is still only adding around 1.1k items, instead of the full 1508 from the list. |
can you redo a test by doing two imports rather than one (on a large volume of data)? |
Just to be sure, you mean separating the main CSV into two CSV files and import the two separately? |
yes =) |
Tried splitting the items in half, with only 755 in one file and 753 in the other. |
I think I possibly found out why many items are missing after importing. Let's say I have Item X, and that item gets repeated 10 times, while those 10 same items only change in the Inventory/Asset number. All items get ignored when importing the CSV file, except for one, which tends to be either the first one or the last one from the same item. In the original CSV file you can see I have several Drivers GWESC25A listed, each one with an Inventory/Asset number of GWE-01 all the way up to GWE-12. However, in the imported CSV I only got GWE-12, 03, 08 and 09. It seems, from what I gathered that those four got imported since those specific ones had changed in either Locations or Comments. If the same item has the same entries in all columns except for the Inventory/Asset number, they get ignored. |
Can you provide the model configuration (first tab) and the configured mapping? |
Code of Conduct
Is there an existing issue for this?
GLPI Version
10.0.16
Plugin version
2.14.0
Bug description
I have a backup of a previous GLPI installation that I wanted to import into the newest GLPI in another machine.
I exported the old GLPI inventory as a CSV file with semicolon used as separator.
I used the gif in the main repository page to import the CSV into this new GLPI installation.
However, upon trying to import the CSV, I end up with a lot of items missing.
The original item list had 1508 items, while after the CSV import the list is only around 1.1k items, with a lot missing or others being duplicated.
I tried saving the CSV with commas as separators and changing the separator in the plugin too, tried some other import options but nothing works so far. I always end up with missing items, and sometimes it's different ones being missing on different imports.
Here's the original exported CSV from my older glpi install:
glpiOriginal.csv
I'm not sure what I could be missing to properly import all 1508 items properly, but any help towards making this import work would be greatly appreciated. It's worth mentioning that the import log shows no errors whatsoever.
Let me know if there's anything else needed.
Relevant log output
Page URL
No response
Steps To reproduce
Your GLPI setup information
Anything else?
No response
The text was updated successfully, but these errors were encountered: