You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2014-11-24 11:36:44

josefelipe.sanchez
Member
Registered: 2014-11-24
Posts: 3

Data Injection: problems with user profile field

Hello everyone.

I'm starting to work with the Data Injection plugin, and after defining a new model for csv users import I got some troubles related to the 'profile' field, since neither setting it as a integer with the corresponding code in the glpi_profiles table or the name field is working.
When I try to start the import, the log file says that there is an error: 'Data not found' and the match 'profile=X' (with x equal either to the profile code). Seems that the plugin finds properly the row in glpi_profile table everytime, but is not able to link the pointed profile to the user who is being added.

Any help wil be awesome, because so far I have not found any reference to this issue in the forum or googling.

Thanks in advance.

Offline

#2 2014-11-24 12:37:20

josefelipe.sanchez
Member
Registered: 2014-11-24
Posts: 3

Re: Data Injection: problems with user profile field

Seems to be a problem with the mapping of 'profiles_id' field in 'glpi_users' table. This field seems to be useless since no row in the table has a value different from 0, so the plugin does the profile-user assignment in another way BUT while you are trying to import users with profile information it cannot be done using the 'profiles_id' field that is available in the model dessign.
Does anyone know a way to import the mapping between users and profiles properly?

Offline

#3 2014-11-25 11:24:06

josefelipe.sanchez
Member
Registered: 2014-11-24
Posts: 3

Re: Data Injection: problems with user profile field

Seriously no one ever had this problem?

Offline

#4 2024-09-18 14:48:46

srknkcn
Member
Registered: 2024-09-13
Posts: 3

Re: Data Injection: problems with user profile field

Me too but I can't solve the same problem.
I posted the same question last week.
No reply yet.
If you solve it. Can you give feedback from here.

Offline

Board footer

Powered by FluxBB