Exception thrown when creating a power feed with a rack located on a different site than the power panel. #14448
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.6
Python version
3.11
Steps to Reproduce
I'll do very light replication steps here as the error is very obvious in the code (missing variable), hope that's okay.
Expected Behavior
No exception
Observed Behavior
<class 'KeyError'>
'site'
netbox/netbox/dcim/models/power.py
Lines 175 to 184 in d10ac9b
{site} is present in the format string, but not in the format arguments (called rack_site instead).
The text was updated successfully, but these errors were encountered: