-
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
v2.11.7
Python version
3.6
Steps to Reproduce
- Create a manufacturer called "Unknown"
- Go to Devices > Device Types > Import (
/dcim/device-types/import/) - Paste in the following YAML and click Submit
manufacturer: Unknown
model: Packet Shooter 9000
slug: packet-shooter-9000
u_height: 1
front-ports:
- name: F1
description: foo
label: FP1
rear-ports:
- name: R1
type: 8p8c
description: bar
label: RP1
Expected Behavior
Error returned showing data validation problem (some things are missing, like front-port type and front-port to rear-port association)
Observed Behavior
GUI goes to /dcim/device-types/28/ but reports "The requested page does not exist."
This is not a caching bug:
- invalidating the cache makes no difference
select * from dcim_devicetype where id=28;returns no rows
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