[ckan-changes] [ckan/ckan] 953a7f: Fixes #4247
GitHub
noreply at github.com
Thu Sep 20 13:26:34 UTC 2018
Branch: refs/heads/2.8
Home: https://github.com/ckan/ckan
Commit: 953a7f87a92285ab3792665bd88b366a40847bd8
https://github.com/ckan/ckan/commit/953a7f87a92285ab3792665bd88b366a40847bd8
Author: Ashley Sommer <ashley.sommer at csiro.au>
Date: 2018-05-11 (Fri, 11 May 2018)
Changed paths:
M ckan/views/__init__.py
Log Message:
-----------
Fixes #4247
Some authenticator plugins do not set `g.user` in `identify()`.
CKAN was then trying to read `g.user` and throwing an Attribute Error.
This fixes that.
No idea why this is needed now, it worked fine in 2.7.3.
Commit: 347490a8afc3345720203e944482848ef8734862
https://github.com/ckan/ckan/commit/347490a8afc3345720203e944482848ef8734862
Author: Adrià Mercader <amercadero at gmail.com>
Date: 2018-09-20 (Thu, 20 Sep 2018)
Changed paths:
M ckan/views/__init__.py
Log Message:
-----------
Merge pull request #4249 from ashleysommer/fix_4247
Don't crash when plugin `identify()` doesn't set `g.user`.
Compare: https://github.com/ckan/ckan/compare/87b8b0ad2a8a...347490a8afc3
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the ckan-changes
mailing list