Unable to clear scope assignment from prefix #11163

Closed
opened 2025-12-29 21:41:10 +01:00 by adam · 1 comment
Owner

Originally created by @abrahamvegh on GitHub (May 11, 2025).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.3.0

Python Version

3.11

Steps to Reproduce

  1. Edit an existing prefix
  2. Assign a Scope type and Scope
  3. Save
  4. Edit the same prefix
  5. Use the clear-button to clear the selection
  6. Attempt to save

Expected Behavior

The prefix should successfully save, clearing the scope assignment.

Observed Behavior

The prefix is unable to be saved due to a form validation error.

Image
Originally created by @abrahamvegh on GitHub (May 11, 2025). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.3.0 ### Python Version 3.11 ### Steps to Reproduce 1. Edit an existing prefix 2. Assign a `Scope type` and `Scope` 3. Save 4. Edit the same prefix 5. Use the `clear-button` to clear the selection 6. Attempt to save ### Expected Behavior The prefix should successfully save, clearing the scope assignment. ### Observed Behavior The prefix is unable to be saved due to a form validation error. <img width="763" alt="Image" src="https://github.com/user-attachments/assets/6d757abb-b5f6-49aa-9383-78659b9f4c4e" />
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 21:41:10 +01:00
adam closed this issue 2025-12-29 21:41:10 +01:00
Author
Owner

@jnovinger commented on GitHub (May 12, 2025):

Thanks for the report @abrahamvegh ! In the meantime, you can use the multi-edit functionality and select the Set Null for Scope type/Scope to clear the selection.

@jnovinger commented on GitHub (May 12, 2025): Thanks for the report @abrahamvegh ! In the meantime, you can use the multi-edit functionality and select the `Set Null` for Scope type/Scope to clear the selection.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11163