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

Closed
opened 2025-12-29 21:27:28 +01:00 by adam · 0 comments
Owner

Originally created by @rhaludir on GitHub (Aug 27, 2024).

Originally assigned to: @jeremystretch on GitHub.

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

Originally created by @rhaludir on GitHub (Aug 27, 2024). Originally assigned to: @jeremystretch on GitHub. ### 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 2. 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 3. 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 2. 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](https://github.com/user-attachments/assets/b6bb014d-d9c6-4e90-ad21-bf4e40085465) 2. Breadcrumb path shows a nonsensical and inaccurate lineage. ![image](https://github.com/user-attachments/assets/342207c0-13e9-4315-8b64-a9b8af23569d)
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 21:27:28 +01:00
adam closed this issue 2025-12-29 21:27:28 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10145