[ckan-changes] [ckan/ckan] 2cc1be: [#2848] Avoid package_search exception when using ...

GitHub noreply at github.com
Wed Mar 16 20:59:35 UTC 2016


  Branch: refs/heads/release-v2.5.2
  Home:   https://github.com/ckan/ckan
  Commit: 2cc1be59c37e0c79409cf55212e35a14dd17e512
      https://github.com/ckan/ckan/commit/2cc1be59c37e0c79409cf55212e35a14dd17e512
  Author: amercader <amercadero at gmail.com>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#2848] Avoid package_search exception when using use_default_schema

The parameter needs to be removed before sending the query to Solr

Also improved the boolean checking and fixed the docs.


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

  Changed paths:
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/tests/test_delete.py

  Log Message:
  -----------
  [#2885] Fix datastore_delete erasing the db when filters is blank

Orignally submitted by @TkTech:

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


  Commit: 39ac9a6c48445d701521d93c5726c453a0637189
      https://github.com/ckan/ckan/commit/39ac9a6c48445d701521d93c5726c453a0637189
  Author: Jan Dvořák <mordae at anilinux.org>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  datastore: Prevent unicode/ascii conversion errors

Some error messages were causing the errors due to format conversion
of unicode fields into str templates.

Signed-off-by: Jan Dvořák <mordae at anilinux.org>


  Commit: 906e716bc5c3ed9ad9ec17e2d642a54682677d07
      https://github.com/ckan/ckan/commit/906e716bc5c3ed9ad9ec17e2d642a54682677d07
  Author: Jan Dvořák <mordae at anilinux.org>
  Date:   2016-03-16 (Wed, 16 Mar 2016)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  datastore: use repr() for log message ascii-safety

Logging statements had a potential to crash on unicode inputs.
Make sure they are always escaped.

Signed-off-by: Jan Dvořák <mordae at anilinux.org>


Compare: https://github.com/ckan/ckan/compare/8c6cbe68e279...906e716bc5c3


More information about the ckan-changes mailing list