Server Error Editing Users - v3.0-beta1 #5098

Closed
opened 2025-12-29 19:24:13 +01:00 by adam · 1 comment
Owner

Originally created by @firstkevinds on GitHub (Jul 26, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.0-beta1

Python version

3.8

Steps to Reproduce

https://beta-demo.netbox.dev/admin/

Click +Add to the right of "Users"

Enter a username and a password twice,

Click "Save and Continue Editing"

If you 'Save and Add Another' there is no error but if you try and edit the user, from the list of users, you will get the same error.

Expected Behavior

A user should have been created without the error message.

I user does get created anyways but you can't edit it.

Observed Behavior

Server Error

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'AttributeError'>

'QuerySet' object has no attribute 'nocache'

Python version: 3.8.10
NetBox version: 3.0-beta1

If further assistance is required, please post to the NetBox mailing list.
Home Page

Originally created by @firstkevinds on GitHub (Jul 26, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.0-beta1 ### Python version 3.8 ### Steps to Reproduce https://beta-demo.netbox.dev/admin/ Click +Add to the right of "Users" Enter a username and a password twice, Click "Save and Continue Editing" If you 'Save and Add Another' there is no error but if you try and edit the user, from the list of users, you will get the same error. ### Expected Behavior A user should have been created without the error message. I user does get created anyways but you can't edit it. ### Observed Behavior Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'AttributeError'> 'QuerySet' object has no attribute 'nocache' Python version: 3.8.10 NetBox version: 3.0-beta1 If further assistance is required, please post to the NetBox mailing list. Home Page
adam added the type: bugstatus: acceptedbeta labels 2025-12-29 19:24:13 +01:00
adam closed this issue 2025-12-29 19:24:13 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 26, 2021):

Looks like a remnant of queryset caching that we missed.

@jeremystretch commented on GitHub (Jul 26, 2021): Looks like a remnant of queryset caching that we missed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5098