-
Notifications
You must be signed in to change notification settings - Fork 81
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
AttributeError: 'WSGIRequest' object has no attribute 'user' #1746
Comments
This is related to |
As this is also preventing downloading forms from ODK, priority is critical now... |
Possibly introduced by the accounts middleware changes in #1726 |
Steps to reproduce the error Configure ODK with proper credentials Actual behavior See above Expected behavior Xforms properly downloaded |
Steps to reproduce the error
Without logging in, attempt to load a platform URL for creation, such as:
https://platform-staging.cadasta.org/organizations/allthethings/projects/quiet-car/records/locations/new
Also applies to /delete, /edit
Edit: Same error occurs with or without active user session, if trailing slash is not appended to URL
Actual behavior
Unhandled Django exception causes a 500 error in uWSGI. See https://opbeat.com/cadasta/platform-staging/errors/209/ for trace.
Expected behavior
Redirect to sign in page.
The text was updated successfully, but these errors were encountered: