[PR #16408] [MERGED] 16400 - Problem to restore configuration from history #14846

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16408
Author: @Julio-Oliveira-Encora
Created: 6/4/2024
Status: Merged
Merged: 6/5/2024
Merged by: @arthanson

Base: developHead: 16400-Problem_to_restore_configuration_from_history


📝 Commits (1)

  • 2501049 Fixed error when the active Config is deleted and rest only one to restore.

📊 Changes

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

View changed files

📝 netbox/core/views.py (+1 -1)

📄 Description

Fixes: #16400

Before accessing data in the current_config, check if current_config is None.


🔄 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/16408 **Author:** [@Julio-Oliveira-Encora](https://github.com/Julio-Oliveira-Encora) **Created:** 6/4/2024 **Status:** ✅ Merged **Merged:** 6/5/2024 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `develop` ← **Head:** `16400-Problem_to_restore_configuration_from_history` --- ### 📝 Commits (1) - [`2501049`](https://github.com/netbox-community/netbox/commit/25010493d15db09186c2e16b9720477e9d74b604) Fixed error when the active Config is deleted and rest only one to restore. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/views.py` (+1 -1) </details> ### 📄 Description ### Fixes: #16400 Before accessing `data` in the `current_config`, check if `current_config` is `None.` --- <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:27:05 +01:00
adam closed this issue 2025-12-29 23:27:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14846