Skip to content

Bulk-edit of Tenant Groups breaks breadcrumb and table #17278

@rhaludir

Description

@rhaludir

Deployment Type

Self-hosted

NetBox Version

v4.0.6 (dockerized: 4.0.6-2.9.1), v4.0.9 (demo)

Python Version

3.10

Steps to Reproduce

  1. Have or create multi-level nested Tenant Groups.
    i.e.:
    Test1
  • Test1-1
    • Test1-1-1
    • Test1-1-2
  • Test1-2
  • Test1-3
  1. From the Tenant Group table view, multi-select tenant groups to move and click Edit Selected at the bottom.
    ✔️ - - Test1-1-1
    ✔️ - - Test1-1-2

  2. Select a new parent group for the selected groups.
    Parent: Test1-2

Expected Behavior

  1. Table view displays the modified Tenant Groups at the correct depth, with the correct parent
    i.e.:
    Test1
  • Test1-1
  • Test1-2
    • Test1-1-1
    • Test1-1-2
  • Test3
  1. Navigating to any tenant group displays an accurate breadcrumb path at the top of the page.
    Test1-1-1:
    Tenant Groups / Test1 / Test1-2 / Test1-1-1

Observed Behavior

  1. Table view has scrambled the Tenant Groups to show an inaccurate lineage and/or depth
    image

  2. Breadcrumb path shows a nonsensical and inaccurate lineage.
    image

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions