[ckan-changes] [ckan/ckan] 0d49d3: Check method on controller actions

GitHub noreply at github.com
Fri May 4 10:10:12 UTC 2018


  Branch: refs/heads/dev-v2.8
  Home:   https://github.com/ckan/ckan
  Commit: 0d49d35a34535a57e2bd1be8e3e17ad45a118b3d
      https://github.com/ckan/ckan/commit/0d49d35a34535a57e2bd1be8e3e17ad45a118b3d
  Author: amercader <amercadero at gmail.com>
  Date:   2018-05-04 (Fri, 04 May 2018)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/controllers/package.py
    M ckan/controllers/user.py

  Log Message:
  -----------
  Check method on controller actions


  Commit: 46797c4dc0749db19ed69555c0c85ee439dd75d5
      https://github.com/ckan/ckan/commit/46797c4dc0749db19ed69555c0c85ee439dd75d5
  Author: amercader <amercadero at gmail.com>
  Date:   2018-05-04 (Fri, 04 May 2018)

  Changed paths:
    M ckan/lib/jinja_extensions.py

  Log Message:
  -----------
  Remove Jinja2 Bytecode cache

I'm getting random failures with the scheming extensions

File '/home/adria/dev/pyenvs/ckan/src/ckanext-scheming/ckanext/scheming/templates/scheming/package/read.html', line 3 in top-level template code
  {%- set schema = h.scheming_get_dataset_schema(dataset_type) -%}
File '/home/adria/dev/pyenvs/ckan/local/lib/python2.7/site-packages/jinja2/environment.py', line 434 in getattr
  return obj[attribute]
File '/home/adria/dev/pyenvs/ckan/src/ckan/ckan/lib/helpers.py', line 85 in __getitem__
  key=key
HelperError: Helper 'scheming_get_dataset_schema' has not been defined.

Removing the bytecode cache stops the failures entirely.


Compare: https://github.com/ckan/ckan/compare/97f42d4159d4...46797c4dc074
      **NOTE:** This service 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