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

KeyError when adding Module Bays to devices #12011

Closed
MarioSpenc opened this issue Mar 20, 2023 · 1 comment · Fixed by #12171
Closed

KeyError when adding Module Bays to devices #12011

MarioSpenc opened this issue Mar 20, 2023 · 1 comment · Fixed by #12171
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@MarioSpenc
Copy link

NetBox version

3.4.6

Python version

3.10

Steps to Reproduce

  1. Add device
  2. Goto devices overview
  3. mark new device
  4. click on "Add Components"
  5. click on "Module Bays"
  6. Fill in "Name"
  7. click "Create"

Expected Behavior

New Module Bay should be added.

Observed Behavior

Error Message:
Server Error
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

class 'KeyError'

'position'

Python version: 3.10.6
NetBox version: 3.4.6

@MarioSpenc MarioSpenc added the type: bug A confirmed report of unexpected behavior in the application label Mar 20, 2023
@arthanson arthanson self-assigned this Mar 22, 2023
@GoldyXXD
Copy link

I also get this error when I'm trying to bulk add Module Bays to multiple devices. It doesn't error out for me if I do it for a single device though. Started happening after the update to 3.4.5. I've just tested 3.4.7 and issue still occurs.

@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Mar 31, 2023
jeremystretch added a commit that referenced this issue Apr 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 4, 2023
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

Successfully merging a pull request may close this issue.

4 participants