-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.2.0
Python version
3.8
Steps to Reproduce
- Create a new device
- Create an inventory item
- Edit inventory item
- Select same inventory item in Parent dropdown
- Click Save
Expected Behavior
Inventory item does not list itself in 'Parent' dropdown or, if not feasible, toast error instead of exception.
Observed Behavior
Server error:
<class 'mptt.exceptions.InvalidMove'>
A node may not be made a child of itself.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application