-
Notifications
You must be signed in to change notification settings - Fork 47
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
'str_GET' exception (flask related) #31
Comments
I think the simplest is to use a helper function that does some attribute checks ( |
Helper function sounds good. I'm not in a convenient position to do/test this fix, so will leave this open for when I do, or if someone else gets there first. |
Maybe |
Any updates? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see this exception:
[2019-06-10 19:34:12,149] ERROR in flask_app: 'flask.wrappers.Request object' has no attribute 'str_GET'
with CKAN master (to be v2.9)
It's because we've move from a pylons request to flask request. We could fix it for flask like this:
However this will not work with earlier CKAN versions. Maybe we need a helper function, or maybe the template can switch on whether we're pylons/flask?
Full exception:
The text was updated successfully, but these errors were encountered: