Skip to content

changelog_message is not respected in update() operation #744

@lukassavukaitis

Description

@lukassavukaitis

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.

Image

A PATCH call to Netbox API operation works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    app: pynetboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its 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