Get action broken with CKAN 2.4
brew opened this issue · 2 comments
brew commented
Getting the user from the context no longer works. See broken tests: https://travis-ci.org/ckan/ckanext-showcase/builds/75898882
brew commented
This ckan commit broke the test: ckan/ckan#2380
It is assumed a user is always in the context, which isn't true. Should use user = context.get('user', None)
instead
brew commented
Fixed in ckan/ckan#2615.