mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Fixes #4204: Fix assignment of mask length when bulk editing prefixes
This commit is contained in:
parent
2cf990bd92
commit
f05c7be394
@ -17,6 +17,7 @@
|
|||||||
* [#4194](https://github.com/netbox-community/netbox/issues/4194) - Role field should not be required when searching/filtering secrets
|
* [#4194](https://github.com/netbox-community/netbox/issues/4194) - Role field should not be required when searching/filtering secrets
|
||||||
* [#4196](https://github.com/netbox-community/netbox/issues/4196) - Fix exception when viewing LLDP neighbors page
|
* [#4196](https://github.com/netbox-community/netbox/issues/4196) - Fix exception when viewing LLDP neighbors page
|
||||||
* [#4202](https://github.com/netbox-community/netbox/issues/4202) - Prevent reassignment to master device when bulk editing VC member interfaces
|
* [#4202](https://github.com/netbox-community/netbox/issues/4202) - Prevent reassignment to master device when bulk editing VC member interfaces
|
||||||
|
* [#4204](https://github.com/netbox-community/netbox/issues/4204) - Fix assignment of mask length when bulk editing prefixes
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -656,9 +656,8 @@ class BulkEditView(GetReturnURLMixin, View):
|
|||||||
try:
|
try:
|
||||||
model_field = model._meta.get_field(name)
|
model_field = model._meta.get_field(name)
|
||||||
except FieldDoesNotExist:
|
except FieldDoesNotExist:
|
||||||
# The form field is used to modify a field rather than set its value directly,
|
# This form field is used to modify a field rather than set its value directly
|
||||||
# so we skip it.
|
model_field = None
|
||||||
continue
|
|
||||||
|
|
||||||
# Handle nullification
|
# Handle nullification
|
||||||
if name in form.nullable_fields and name in nullified_fields:
|
if name in form.nullable_fields and name in nullified_fields:
|
||||||
|
Loading…
Reference in New Issue
Block a user