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

Computer asset user is not updated on partial inventory #17276

Closed
2 tasks done
g-bougard opened this issue Jun 10, 2024 · 0 comments
Closed
2 tasks done

Computer asset user is not updated on partial inventory #17276

g-bougard opened this issue Jun 10, 2024 · 0 comments
Milestone

Comments

@g-bougard
Copy link
Member

g-bougard commented Jun 10, 2024

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.15

Bug description

The user of a computer asset is not updated when a partial inventory is submitted.

This problem is really visible now because of new full-inventory-postone feature of latest agent.

It has been first reported in glpi-project/glpi-agent#687

Relevant log output

No response

Page URL

No response

Steps To reproduce

  1. Import a full inventory like this sample: computer-test-00.json
  2. Check a "test" computer exists with a user named "guillaume"
  3. Import a partial inventory for the same computer with this time a user named "alex", like this sample: computer-test-01.json
  4. Check "test" computer user is still "guillaume" where you expect "alex"
  5. Import a full inventory with user set to "alex", like this sample: computer-test-02.json
  6. Check "test" computer is now "alex" as expected

The user should still have been set on step 3 and is only set during step 5. The only difference between the 2 inventories is the "partial":"true" property during not working as expected step.

Your GLPI setup information

No response

Anything else?

No response

@g-bougard g-bougard changed the title Computer asset user is not update on partial inventory Computer asset user is not updated on partial inventory Jun 10, 2024
trasher added a commit to trasher/glpi that referenced this issue Jun 12, 2024
trasher added a commit to trasher/glpi that referenced this issue Jun 12, 2024
@trasher trasher added this to the 10.0.16 milestone Jun 19, 2024
@cedric-anne cedric-anne modified the milestones: 10.0.16, 10.0.17 Jun 27, 2024
@trasher trasher closed this as completed in f76b472 Jul 1, 2024
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

3 participants