Skip to content

Deleted journal entry with blank comments causes sync error #356

@tgrusendorf

Description

@tgrusendorf

Plugin Version

0.7.1

NetBox Version

4.4.3

Python Version

3.11.2

Steps to Reproduce

  1. Create a device type
  2. Create a branch
  3. In Main, add a journal entry to the device type. Leave the comments blank.
  4. Delete the journal entry (because you didn't mean to create a blank journal entry).
  5. Attempt to sync the branch with Main

Expected Behavior

The sync should complete successfully.

Observed Behavior

Attempting to sync results in an error

{
"log": [
"Syncing branch Journal test (branch_gp78owog)",
"Found 2 changes to sync",
"Setting branch status to syncing",
"Applying change Extras | journal entry 2025-11-03 20:56 (Info) created by user1 using schema_branch_gp78owog",
"Creating journal entry <DeserializedObject: extras.JournalEntry(pk=1)>",
"{'comments': ['This field cannot be blank.']}"
]
}

I'd appreciate any suggestions how I should now get myself out of this situation so that I can sync my branch.

Metadata

Metadata

Assignees

Labels

app: branchingseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions