[ckan-changes] [ckan/ckan] 8c3872: (Showstopper) Don't crash when crashing.

GitHub noreply at github.com
Wed Mar 16 17:58:52 UTC 2016


  Branch: refs/heads/release-v2.4.3
  Home:   https://github.com/ckan/ckan
  Commit: 8c387234458106bfc104ac045b5b113bffe376cd
      https://github.com/ckan/ckan/commit/8c387234458106bfc104ac045b5b113bffe376cd
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M ckan/lib/search/__init__.py

  Log Message:
  -----------
  (Showstopper) Don't crash when crashing.

If an error occurs (especially when importing data using paster) that
contains a unicode string (such as a multilingual package name), the
try...catch will also crash when attempting to print it, resulting in
some very confusing stack traces that bury the real stack trace.


  Commit: c09f0737efe6f1c0c646d8d8439960d5b25c4d9b
      https://github.com/ckan/ckan/commit/c09f0737efe6f1c0c646d8d8439960d5b25c4d9b
  Author: amercader <amercadero at gmail.com>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  [#2592] Use `ckan.site_url` to generate urls of resources

Originally submitted by @metaodi

https://github.com/ckan/ckan/pull/2599


  Commit: 3826f60e2d4d30f490af865a508212297d528793
      https://github.com/ckan/ckan/commit/3826f60e2d4d30f490af865a508212297d528793
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  resource_edit incorrectly setting action to new instead of edit.


Compare: https://github.com/ckan/ckan/compare/2dfa2a4cf69f...3826f60e2d4d


More information about the ckan-changes mailing list