Project

General

Profile

Actions

Bug #26776

open

Inventory properties from hooks should be removed when hook is deleted

Added by François ARMAND 14 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Today, if we remove an inventory hook that creates a property, and send a new inventory, then the property is not deleted on the node.

This is very surprising and defy principle of least surprise, where you would expect that for these inventory properties, what is in the inventory is the reality.
Moreover, it forces user to deploy a new hook to clean-up properties, which is extremelly tedious: first update script to clean property, then once you are sure the property is cleaned, delete the script on the node.

So, make the inventory the reality, just mirror what is in it.

No data to display

Actions

Also available in: Atom PDF