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

Partial inventory duplicates VPN networkport #18062

Closed
2 tasks
trasher opened this issue Oct 15, 2024 · 1 comment · Fixed by #18074
Closed
2 tasks

Partial inventory duplicates VPN networkport #18062

trasher opened this issue Oct 15, 2024 · 1 comment · Fixed by #18074
Labels
Milestone

Comments

@trasher
Copy link
Contributor

trasher commented Oct 15, 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.16

Bug description

When a partial inventory updates an existing port (related to a VPN that have an IP change for example), the existing port is not removed nor updated, it ends with an extra port on asset.
There is certainly several other cases.

Relevant log output

No response

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

@trasher trasher added this to the 10.0.17 milestone Oct 15, 2024
trasher added a commit to trasher/glpi that referenced this issue Oct 16, 2024
trasher added a commit to trasher/glpi that referenced this issue Oct 17, 2024
trasher added a commit that referenced this issue Oct 18, 2024
closes #18062

Fix partial network ports inventory
Add tests to reproduce
Add tests on simple IP change (partial and full)
Handle IP removal from partial inventory, if ports are provided
Typo
@cedric-anne
Copy link
Member

Fixed by #18074

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

Successfully merging a pull request may close this issue.

2 participants