-
Notifications
You must be signed in to change notification settings - Fork 190
changelog_message is not respected in update() operation #744
Copy link
Copy link
Open
Labels
app: pynetboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
pynetbox version
v7.6.1
NetBox version
v4.4.6
Python version
3.12
Steps to Reproduce
Create some Netbox object:
c = nb.tenancy.contacts.create(name="Test, Contact", changelog_message="First message")
Make an update() to the object you created:
c.update({"email" : "random@email.com", "changelog_message" : "Second message"})
Expected Behavior
I would expect to see both messages in the change log - "First message" and "Second message".
Observed Behavior
Only one with create() method is seen.
One with update() method is ignored.
A PATCH call to Netbox API operation works as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
app: pynetboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application