[PR #15137] [MERGED] Fixes #15115: Fix unhandled exception with invalid permission constraints #14526

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15137
Author: @jeremystretch
Created: 2/13/2024
Status: Merged
Merged: 2/13/2024
Merged by: @jeremystretch

Base: developHead: 15115-fix-permission-constraints-validation


📝 Commits (1)

  • 5a37207 Fixes #15115: Fix unhandled exception with invalid permission constraints

📊 Changes

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

View changed files

📝 netbox/users/forms/model_forms.py (+1 -1)

📄 Description

Fixes: #15115

Catch ValueError exceptions in addition to FieldError


🔄 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/15137 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/13/2024 **Status:** ✅ Merged **Merged:** 2/13/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15115-fix-permission-constraints-validation` --- ### 📝 Commits (1) - [`5a37207`](https://github.com/netbox-community/netbox/commit/5a372071784cd1b8d95e9f2af62f1c5cdea0c909) Fixes #15115: Fix unhandled exception with invalid permission constraints ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/users/forms/model_forms.py` (+1 -1) </details> ### 📄 Description ### Fixes: #15115 Catch `ValueError` exceptions in addition to `FieldError` --- <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:24:59 +01:00
adam closed this issue 2025-12-29 23:24:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14526