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

Closed
opened 2025-12-29 21:39:48 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Apr 22, 2025).

Originally assigned to: @jeremystretch on GitHub.

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.

Originally created by @jeremystretch on GitHub (Apr 22, 2025). Originally assigned to: @jeremystretch on GitHub. ### 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.
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 21:39:48 +01:00
adam closed this issue 2025-12-29 21:39:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11065