Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError when viewing a device with at least one power port and power outlet #3125

Closed
jeremystretch opened this issue Apr 30, 2019 · 0 comments
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@jeremystretch
Copy link
Member

Environment

  • Python version: 3.5.2
  • NetBox version: v2.6-beta1

Steps to Reproduce

  1. Create a device and add at least one power port and one power outlet
  2. Connect the power port to a power feed
  3. View the device

Expected Behavior

The device view should include a power utilization panel

Observed Behavior

A ValueError exception is raised:

ValueError at /dcim/devices/<pk>/

The annotation 'maximum_draw' conflicts with a field on the model.

Weirdly, this I cannot replicate this using the development server, only when running under gunicorn. But we should rename the aggregate fields on the queryset anyway to avoid the conflict.

@jeremystretch jeremystretch added type: bug A confirmed report of unexpected behavior in the application status: accepted This issue has been accepted for implementation beta labels Apr 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

1 participant