Forráskód Böngészése

Fixes #3312: Fix validation error when editing power cables in bulk

Jeremy Stretch 6 éve
szülő
commit
b2caaa6733
2 módosított fájl, 3 hozzáadás és 1 törlés
  1. 1 0
      docs/release-notes/version-2.6.md
  2. 2 1
      netbox/dcim/constants.py

+ 1 - 0
docs/release-notes/version-2.6.md

@@ -9,6 +9,7 @@
 
 ## Bug Fixes
 
+* [#3312](https://github.com/netbox-community/netbox/issues/3312) - Fix validation error when editing power cables in bulk
 * [#3669](https://github.com/netbox-community/netbox/issues/3669) - Include `weight` field in prefix/VLAN role form
 * [#3674](https://github.com/netbox-community/netbox/issues/3674) - Include comments on PowerFeed view
 * [#3679](https://github.com/netbox-community/netbox/issues/3679) - Fix link for assigned ipaddress in interface page

+ 2 - 1
netbox/dcim/constants.py

@@ -384,7 +384,8 @@ CONNECTION_STATUS_CHOICES = [
 
 # Cable endpoint types
 CABLE_TERMINATION_TYPES = [
-    'consoleport', 'consoleserverport', 'interface', 'poweroutlet', 'powerport', 'frontport', 'rearport', 'circuittermination',
+    'consoleport', 'consoleserverport', 'interface', 'poweroutlet', 'powerport', 'frontport', 'rearport',
+    'circuittermination', 'powerfeed',
 ]
 
 # Cable types