Custom Validation does not work for DataSource #14349
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.6.5
Python version
3.10
Steps to Reproduce
This happens due to lack of
super().clean()
here:https://github.com/netbox-community/netbox/blob/develop/netbox/core/models/data.py#L124
And, I suppose, it also causes other unpleasant side-effects because other NetBoxFeatureSet members
.clean()
are also not calledExpected Behavior
Validation Error happens after creation of the new Data Source after MyValidator has been added to CUSTOM_VALIDATORS
Observed Behavior
MyValidator is ignored, no error appeared.
The text was updated successfully, but these errors were encountered: