[PR #14065] [CLOSED] 14044 handle bulk rename if None name #14310

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14065
Author: @arthanson
Created: 10/18/2023
Status: Closed

Base: developHead: 14044-bulk-rename


📝 Commits (2)

  • 614519d 14044 handle bulk rename if None name
  • 860e880 Condense logic

📊 Changes

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

View changed files

📝 netbox/netbox/views/generic/bulk_views.py (+6 -3)

📄 Description

Fixes: #14044

Checks if name empty for bulk_rename - put at top of procedure as there is a bug (beyond the issue) where if you use regex you get '' (instead of None) for the name which can cause postgres duplicate error if in the same site.


🔄 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/14065 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 10/18/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `14044-bulk-rename` --- ### 📝 Commits (2) - [`614519d`](https://github.com/netbox-community/netbox/commit/614519db5c5c5e64e08658cedc2a1403d049acb0) 14044 handle bulk rename if None name - [`860e880`](https://github.com/netbox-community/netbox/commit/860e880e0e677756ede7549b026c7e5cfbc72212) Condense logic ### 📊 Changes **1 file changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/views/generic/bulk_views.py` (+6 -3) </details> ### 📄 Description ### Fixes: #14044 Checks if name empty for bulk_rename - put at top of procedure as there is a bug (beyond the issue) where if you use regex you get '' (instead of None) for the name which can cause postgres duplicate error if in the same site. --- <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 23:23:44 +01:00
adam closed this issue 2025-12-29 23:23:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14310