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

Can't inject users with groups #310

Closed
kabassanov opened this issue Sep 13, 2022 · 2 comments
Closed

Can't inject users with groups #310

kabassanov opened this issue Sep 13, 2022 · 2 comments

Comments

@kabassanov
Copy link

kabassanov commented Sep 13, 2022

Hi,

There is a failure when one tries to inject users with groups from a csv file. The plugin wants a username and a groups_id, but when the Group_User relation is made, this groups_id is treated through findID as if it was a completename and of course, it doesn't return any ID.

The issue was wrongly mentionned in #306

@jcervantes-sipecom
Copy link

Hi, I have the same issue here, I'm getting this error when trying to Import/Inject Users with groups:

SQL Error "1366": Incorrect integer value: 'TALENTO HUMANO' for column `glpi`.`glpi_users`.`groups_id` at row 1 in query "INSERT INTO `glpi_users` (`name`, `realname`, `firstname`, `usertitles_id`, `locations_id`, `usercategories_id`, `groups_id`, `entities_id`, `is_active`, `profiles_id`, `password`, `authtype`, `auths_id`, `is_deleted`, `date_creation`, `date_mod`) VALUES ('[email protected]', 'USERLASTNAME', 'USERNAME', '47', '872', '3', 'TALENTO HUMANO', '87', '1', '28', 'USERPASSWORD', '1', '0', '0', '2024-02-06 12:17:41', '2024-02-06 12:17:41')"

I'm on GLPI 10.0.11 and Plugin version: 2.13.4 downloaded from Marketplace.

@stonebuzz
Copy link
Contributor

There has been no activity on this issue for some time and therefore it is considered stale

If this issue is related to a bug, please try to reproduce on latest release (GLPI and plugin). If the problem persist, feel free to open a new issue.

If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.

You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.

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

No branches or pull requests

3 participants