[PR #3215] [CLOSED] Make VLAN deletable even if it has a prefix associated to it #12521

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3215
Author: @hellerve
Created: 5/24/2019
Status: Closed

Base: developHead: bug/3211


📝 Commits (1)

  • 6651bbd ipam: make Prefix.vlan deletable

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 netbox/ipam/models.py (+1 -1)

📄 Description

Fixes: #3211

This PR fixes #3211 by changing the on_delete property to SET_NULL.

The tests seem to run just fine still, though this is a change in behavior, so beware!

Cheers


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/3215 **Author:** [@hellerve](https://github.com/hellerve) **Created:** 5/24/2019 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `bug/3211` --- ### 📝 Commits (1) - [`6651bbd`](https://github.com/netbox-community/netbox/commit/6651bbd5d597363dd1fe1f82075a6737555ac98e) ipam: make Prefix.vlan deletable ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/models.py` (+1 -1) </details> ### 📄 Description ### Fixes: #3211 This PR fixes #3211 by changing the `on_delete` property to `SET_NULL`. The tests seem to run just fine still, though this _is_ a change in behavior, so beware! Cheers --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:22:03 +01:00
adam closed this issue 2025-12-29 22:22:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12521