-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Agent tag not reset when no more set #23721
Copy link
Copy link
Open
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Disable plugins
- I reproduce the issue with all plugins disabled
Is there an existing issue for this?
- I have searched the existing issues
Version
11.0.6
Bug description
After a submitted inventory with tag set has been submitted, the tag is kept if tag is removed from the following inventory.
Relevant log output
Page URL
No response
Steps To reproduce
- Import an inventory with tag set: tag-issue-with-tag.json
- Check the asset in glpi and see it has a tag
- Import an inventory from the same asset and with the same deviceid but this time with no tag: tag-issue-no-tag.json
- Check the asset in glpi and see the previous tag has been kept
This is also the case with xml inventory: tag-issue-with-tag.xml vs tag-issue-no-tag.xml
Your GLPI setup information
No response
Anything else?
This only happens when deviceid remains the same. The use case is when you reconfigure an agent on a computer to remove the previously tag and after it submitted at least one inventory.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels