-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
type: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.4.7
Python version
3.8
Steps to Reproduce
- Creating a json file for import in netbox with 2 tags
- Importing a file to inventory items
- Importing a file to inventory items again
The following files were used as the imported file:
- similar files
- with changed values
The json file used to import:
{
"description": "1.818 TB",
"device": "some device",
"label": "SATA:4",
"manufacturer": "WDC",
"name": "some name",
"part_id": "some part_id",
"role": "disk",
"serial": "some serial",
"tags": "ugood,active"
}
Expected Behavior
In step 2, a new inventory item is created.
In step 3, the previously created inventory item is updated.
Observed Behavior
In step 2, a new inventory item is created
In step 3, a new inventory item is created with identical values
When only 1 tag is used - inventoryitem is updated
Also, if you update via the rest api, the inventory item is also updated
Metadata
Metadata
Assignees
Labels
type: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application