Skip to content

Device form does not validate initialization time to mitigate editing conflicts #19268

Closed
@jeremystretch

Description

@jeremystretch

Deployment Type

NetBox Cloud

NetBox Version

v4.2.7

Python Version

3.10

Steps to Reproduce

  1. Open a device and click "edit" to bring up the edit form.
  2. In a second tab, do the same.
  3. In the first tab, set the device's description to "foo" and click "save." The device should be updated successfully.
  4. In the second tab, set the device's description to "bar" and click "save."

Expected Behavior

The second form submission should raise a validation failure:

This object has been modified since the form was rendered.

Observed Behavior

The device is saved successfully, overwriting the first description.

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions