Cloning is broken for models which employ recursive nesting #7363

Closed
opened 2025-12-29 20:22:20 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Dec 15, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.4.0

Python version

3.8

Steps to Reproduce

  1. Create a location assigned to a site and tenant
  2. View the location and click the "clone" button

This bug affects the following models:

  • dcim.Location
  • dcim.Region
  • dcim.SiteGroup
  • tenancy.ContactGroup
  • tenancy.TenantGroup
  • wireless.WirelessLANGroup

Expected Behavior

The location form should pre-populate the site and tenant assigned to the location being cloned.

Observed Behavior

None of the relevant fields are pre-populated.

Originally created by @jeremystretch on GitHub (Dec 15, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.4.0 ### Python version 3.8 ### Steps to Reproduce 1. Create a location assigned to a site and tenant 2. View the location and click the "clone" button This bug affects the following models: * dcim.Location * dcim.Region * dcim.SiteGroup * tenancy.ContactGroup * tenancy.TenantGroup * wireless.WirelessLANGroup ### Expected Behavior The location form should pre-populate the site and tenant assigned to the location being cloned. ### Observed Behavior None of the relevant fields are pre-populated.
adam added the type: bugstatus: accepted labels 2025-12-29 20:22:20 +01:00
adam closed this issue 2025-12-29 20:22:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7363