Skip to content

Server Error when deleting no more existing Journal Entry Kind #13849

@advoenkin

Description

@advoenkin

NetBox version

v.3.6.2

Python version

3.10

Steps to Reproduce

  1. Go to random Location in Locations, add Journal Entry with random Kind.
  2. Go to configuration.py
  3. Setup
FIELD_CHOICES = {
    'extras.JournalEntry.kind': (
        ('something', 'Something', 'blue'),
    ),
}
  1. Go again in Location where we was add Journal Entry.
  2. Try to delete Journal Entry with no more existing Kind.

Expected Behavior

The entry should have been successfully deleted despite the fact that Kind no longer exists.

Observed Behavior

Server Error

<class 'KeyError'>

'success'

Python version: 3.10.12
NetBox version: 3.6.2
Plugins: None installed

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions