Skip to content

Duplicate “Add” buttons on child object list views #20252

@pheus

Description

@pheus

Deployment Type

Self-hosted

NetBox Version

v4.4.0

Python Version

3.10

Steps to Reproduce

Minimal example (Prefixes → Child Prefixes):

  1. Create a parent prefix (e.g., 10.0.0.0/8).
  2. Open the parent prefix’s detail view.
  3. Navigate to the Child Prefixes view for that prefix.
  4. Observe two buttons at the top right: a contextual Add Prefix button and a generic Add button.

Also reproducible on other child views (examples):

  • Prefixes → Child Ranges
  • Racks → Non-racked Devices
  • Device → Contacts

Expected Behavior

Only one add action should be presented: the contextual add button for the specific child view (e.g., Add Prefix on Child Prefixes).

Observed Behavior

Both a contextual add button (e.g., Add Prefix) and a generic Add button are displayed. The generic Add button opens the create form without pre-populating the parent context.

Image

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions