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

Server error when adding a new device #7534

Closed
okalietnik opened this issue Oct 12, 2021 · 8 comments
Closed

Server error when adding a new device #7534

okalietnik opened this issue Oct 12, 2021 · 8 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@okalietnik
Copy link

okalietnik commented Oct 12, 2021

NetBox version

v3.0.7

Python version

3.9

Steps to Reproduce

  1. Open Devices on the left side menu
  2. Click on the button Add to create a new device
  3. Fill all the required fields to create a new device (device role, device type, site)
  4. Click on Create & Add Another to create a new device
  5. Click on Create & Add Another one more time to get the error

Expected Behavior

It creates a new device but throw out an error

Observed Behavior

<class ’TypeError'>
Field ’id’ expected a number but got [’17’, ’12’].
Python version: 3.9.5 NetBox version: 3.0.7

@okalietnik okalietnik added the type: bug A confirmed report of unexpected behavior in the application label Oct 12, 2021
@jeremystretch
Copy link
Member

Thank you for opening a bug report. I was unable to reproduce the reported behavior on NetBox v3.0.7. Please re-confirm the reported behavior on the current stable release and adjust your post above as necessary. Remember to provide detailed steps that someone else can follow using a clean installation of NetBox to reproduce the issue. Remember to include the steps taken to create any initial objects or other data.

@jeremystretch jeremystretch added the status: revisions needed This issue requires additional information to be actionable label Oct 12, 2021
@Mstrodl
Copy link

Mstrodl commented Oct 12, 2021

@jeremystretch I have been able to consistently reproduce this by using the "Create & Add Another" button. It only errors once I "Create" on the next device. I just installed a day ago and am running netbox-app-f4d88f655-c7zh5 (v3.0.7)

@jeremystretch
Copy link
Member

You'll need to update your issue report above to include complete reproduction steps that someone else can follow to reproduce the bug, as directed by the bug report template. Without those, no action will be taken.

@okalietnik
Copy link
Author

@Mstrodl Thank you.

@jeremystretch I added the complete reproduction steps.

@geor-g
Copy link

geor-g commented Oct 13, 2021

Confirmed; I'm running into this as well.

@lachlanjholmes
Copy link

+1 for me as well.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: revisions needed This issue requires additional information to be actionable labels Oct 14, 2021
@jeremystretch jeremystretch self-assigned this Oct 14, 2021
@jasonyates
Copy link

jasonyates commented Oct 19, 2021

+1 for me. Thanks for confirming the fix in #7585

@geor-g
Copy link

geor-g commented Oct 19, 2021

@jasonyates It was already fixed via b957739, see above.

This was referenced Oct 20, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2022
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

6 participants