-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.3.8
Python version
3.9
Steps to Reproduce
After updating NetBox 3.2.x to 3.3.8 the custom validation logic that used to work is now broken.
- Create a custom validator that tries to validate a replication field, for example for
VMInterfacemodel try to validate fieldname. - Try to add a new interface to a VM.
Expected Behavior
The custom validator should have access to name field.
Observed Behavior
The name field is always empty when creating a new object and the custom validation logic fails.
As per #11031 this is apparently due to "replication fields (think interface name expansion) was refactored in that PR and seems to have caused the name field to be blank at the time of validation", possibly due to #10312.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application