In DCIM Device page, saving device information not working #10396

Closed
opened 2025-12-29 21:30:54 +01:00 by adam · 5 comments
Owner

Originally created by @Xemanth on GitHub (Oct 23, 2024).

Deployment Type

Self-hosted

Triage priority

This is preventing me from using NetBox

NetBox Version

v4.1.4

Python Version

3.12

Steps to Reproduce

  1. Open some DCIM device
  2. Click in the bottom "save"

Expected Behavior

Save button saves the page data

Observed Behavior

Save button doesn't react.

Tested with Firefox and Chrome.
In the organization, site pages saving works, so it's clearly focuses to devices.

Originally created by @Xemanth on GitHub (Oct 23, 2024). ### Deployment Type Self-hosted ### Triage priority This is preventing me from using NetBox ### NetBox Version v4.1.4 ### Python Version 3.12 ### Steps to Reproduce 1. Open some DCIM device 2. Click in the bottom "save" ### Expected Behavior Save button saves the page data ### Observed Behavior Save button doesn't react. Tested with Firefox and Chrome. In the organization, site pages saving works, so it's clearly focuses to devices.
adam added the netbox label 2025-12-29 21:30:54 +01:00
adam closed this issue 2025-12-29 21:30:54 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 23, 2024):

Please include more detail about what specifically you're doing, and how someone else can reproduce the problem. Just saving a device works. It's likely you're running into some frontend validation failure.

@jeremystretch commented on GitHub (Oct 23, 2024): Please include more detail about what specifically you're doing, and how someone else can reproduce the problem. Just saving a device works. It's likely you're running into some frontend validation failure.
Author
Owner

@Xemanth commented on GitHub (Oct 24, 2024):

Please include more detail about what specifically you're doing, and how someone else can reproduce the problem. Just saving a device work. It's likely you're running into some frontend validation failure.

When I try to edit any field on a device and click save, nothing happens. The service does not save the changes, nor does it show any error message explaining why. The same issue occurs when I try to clone an existing device and save it as a new one. I have filled in all the required fields, but the service still doesn't save the data or provide any feedback.

@Xemanth commented on GitHub (Oct 24, 2024): > Please include more detail about what specifically you're doing, and how someone else can reproduce the problem. Just saving a device work. It's likely you're running into some frontend validation failure. When I try to edit any field on a device and click save, nothing happens. The service does not save the changes, nor does it show any error message explaining why. The same issue occurs when I try to clone an existing device and save it as a new one. I have filled in all the required fields, but the service still doesn't save the data or provide any feedback.
Author
Owner

@Xemanth commented on GitHub (Oct 26, 2024):

I cleared my Firefox cache and cookies. Now when I try to save device data I get this kind of server error.
Does this help understanding what might cause this issue?

image

@Xemanth commented on GitHub (Oct 26, 2024): I cleared my Firefox cache and cookies. Now when I try to save device data I get this kind of server error. Does this help understanding what might cause this issue? ![image](https://github.com/user-attachments/assets/339406a9-c6ca-4f2b-b361-c3e527279122)
Author
Owner

@jeremystretch commented on GitHub (Oct 28, 2024):

The validate() method of your custom validator must accept both the instance and request arguments; see the docs for an example. (This was changed in NetBox v4.0 under FR #14279.)

@jeremystretch commented on GitHub (Oct 28, 2024): The `validate()` method of your custom validator must accept both the `instance` and `request` arguments; see [the docs](https://netboxlabs.com/docs/netbox/en/stable/customization/custom-validation/#custom-validation-logic) for an example. (This was changed in NetBox v4.0 under FR #14279.)
Author
Owner

@Xemanth commented on GitHub (Oct 28, 2024):

The validate() method of your custom validator must accept both the instance and request arguments; see the docs for an example. (This was changed in NetBox v4.0 under FR #14279.)

Changing the custom validator fixed my issue!
Weird though that it didn't first give any error message until I made full cache wipe :(

@Xemanth commented on GitHub (Oct 28, 2024): > The `validate()` method of your custom validator must accept both the `instance` and `request` arguments; see [the docs](https://netboxlabs.com/docs/netbox/en/stable/customization/custom-validation/#custom-validation-logic) for an example. (This was changed in NetBox v4.0 under FR #14279.) Changing the custom validator fixed my issue! Weird though that it didn't first give any error message until I made full cache wipe :(
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10396