Code of Conduct
Is there an existing issue for this?
GLPI Version
11.0.8
Plugin version
2.15.10
Bug description
When importing Computers using the Data Injection plugin, the "Group" field only accepts a single group value.
If multiple group names are provided in the CSV field, the plugin concatenates the entire content and treats it as a single group name instead of creating multiple Computer-to-Group relationships.
This occurs regardless of the separator used.
Tested separators:
- Semicolon (;)
- Comma (,)
- Pipe (|)
- Space
- LF (
\n)
- CRLF (
\r\n)
Expected behavior:
The plugin should either:
- Support importing multiple groups from a single field using a configurable separator, or
- Explicitly document that only one group per field is supported.
Actual behavior:
The plugin imports the entire field value as a single group.
Example:
CSV value:
Exchange Domain Servers;Exchange Install Domain Servers;Exchange Servers
Result:
A single Group value is created/searched with the full text instead of assigning three separate groups.
Relevant log output
Page URL
No response
Steps To reproduce
Steps To Reproduce
- Create a Computer import model using Data Injection.
- Map a CSV column to the Group field.
- Create a CSV containing:
Name,Group
TEST-PC,"GroupA;GroupB;GroupC"
- Run the import.
- Open the imported Computer.
Result
Only one Group relation is created and the whole field content is treated as a single group value.
Expected
The Computer should be linked to:
Your GLPI setup information
No response
Anything else?
Additional tests performed
- ";" separator
- "," separator
- "|" separator
- Space separator
- LF-separated values
- CRLF-separated values
All tests produced the same result.
Single group imports work correctly
Example:
Name,Group
TEST-PC,"GRP_AseguramientoRDP"
Result
The relationship is created successfully.
The problem only occurs when attempting to assign multiple groups during Data Injection import.
This feature would be very useful when importing assets from Active Directory, where computers commonly belong to multiple AD groups and those memberships need to be reflected in GLPI group relationships.
Code of Conduct
Is there an existing issue for this?
GLPI Version
11.0.8
Plugin version
2.15.10
Bug description
When importing Computers using the Data Injection plugin, the "Group" field only accepts a single group value.
If multiple group names are provided in the CSV field, the plugin concatenates the entire content and treats it as a single group name instead of creating multiple Computer-to-Group relationships.
This occurs regardless of the separator used.
Tested separators:
\n)\r\n)Expected behavior:
The plugin should either:
Actual behavior:
The plugin imports the entire field value as a single group.
Example:
CSV value:
Exchange Domain Servers;Exchange Install Domain Servers;Exchange Servers
Result:
A single Group value is created/searched with the full text instead of assigning three separate groups.
Relevant log output
Page URL
No response
Steps To reproduce
Steps To Reproduce
Result
Only one Group relation is created and the whole field content is treated as a single group value.
Expected
The Computer should be linked to:
Your GLPI setup information
No response
Anything else?
Additional tests performed
All tests produced the same result.
Single group imports work correctly
Example:
Result
The relationship is created successfully.
The problem only occurs when attempting to assign multiple groups during Data Injection import.
This feature would be very useful when importing assets from Active Directory, where computers commonly belong to multiple AD groups and those memberships need to be reflected in GLPI group relationships.