Skip to content
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

Licence Import Successfully but nothing imports #375

Open
Aeolysis opened this issue Jan 4, 2024 · 4 comments
Open

Licence Import Successfully but nothing imports #375

Aeolysis opened this issue Jan 4, 2024 · 4 comments

Comments

@Aeolysis
Copy link

Aeolysis commented Jan 4, 2024

I've configured the import of licences with the data injection. The import completes and states is successfull, but if you check the Licences under Management then it's blank. As well as used items under user profiles where the licences were assigned, also blank.

Is there something i'm missing?

GLPI: 10.0.11
Data Injection: 2.13.4

image

image

@tdachev
Copy link

tdachev commented Jan 18, 2024

There seems to be a problem with the uniqueness of the field Name. The plugin will not import licences with the same name.

@milytxra
Copy link

milytxra commented Feb 7, 2024

same thing happens to me while trying to import Users, no idea why

@stonebuzz
Copy link
Contributor

Hi,

can you post here "mapping" and "model injection" configuration?

Best regards

@NoxWorld258
Copy link

NoxWorld258 commented Oct 23, 2024

Hi, i was able to confirm and reproduce when trying to insert licences.
This is extremely annoying and causes weird behaviour ( it says everything is fine, but didn't do a thing ; and when you have an error in your file, it doesn't tell you where and everything is marked as broken).

It also seems occurs if you set the "name" to additionnal info for the whole import and set anything.

I now have everything marked as broken and i don't really get why. I have a CSV , i put it in during the model creation. I bind field, everything seems fine. I validate. When i use the model with the file, errors everywhere (and no hint on what is really wrong).

Binding :
image
image

Part of my CSV :
`

<style> </style>
Nom ULIS ID ou Clé de Licence Date d'expiration de la licence Logiciel concerné Type de licence Statut
IntelliJ IDEA Ultimate X1 - LOGIN LOGIN LICENCEKEY 01-10-2025 IntelliJ IDEA Ultimate Utilisateur Déployé
`

Please Note the "Statut" exists in GLPI , i copy-pasted it from the lists.
Same goes for "Type de licence".
The model is able to create lines but not update, and can't create new enumerations (status or licence types for example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants