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 Editing Users - v3.0-beta1 #6811

Closed
online-stuff opened this issue Jul 26, 2021 · 1 comment
Closed

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

online-stuff opened this issue Jul 26, 2021 · 1 comment
Assignees
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@online-stuff
Copy link

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

@online-stuff online-stuff added the type: bug A confirmed report of unexpected behavior in the application label Jul 26, 2021
@online-stuff online-stuff changed the title Server Error Editing Users Server Error Editing Users - v3.0-beta1 Jul 26, 2021
@jeremystretch jeremystretch added beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation labels Jul 26, 2021
@jeremystretch jeremystretch self-assigned this Jul 26, 2021
@jeremystretch
Copy link
Member

Looks like a remnant of queryset caching that we missed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release 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

2 participants