Modifying a Virtual Chassis fails without error message when member device is missing a required custom field #11582
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.4.3
Python version
3.10
Steps to Reproduce
Same behavior occurs in the Add Member page.
Expected Behavior
Either the change should be applied and the browser should return the virtual chassis view page for the modified chassis or there should be an error popup indicating that a required field is missing for the member device. Given that it isn't obvious that the member device is being modified while editing the virtual chassis (especially when only trying to add a comment), applying the change would be more intuitive but the device missing a required field is an error state that could have further impact in the future so failing with a clear error message might be more beneficial.
Observed Behavior
The Edit Virtual Chassis page reloads without error message or any indication of what the issue is. The change is not applied.
It appears the missing required field on the member device is causing the formset.is_valid() check to fail in the post methods of the VirtualChassisEditView and VirtualChassisAddMemberView
The text was updated successfully, but these errors were encountered: