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

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


  Branch: refs/heads/release-v2.4.3
  Home:   https://github.com/ckan/ckan
  Commit: c9bfae8706982a7a950503b72b150a634cec8454
      https://github.com/ckan/ckan/commit/c9bfae8706982a7a950503b72b150a634cec8454
  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: 8fa4bf87aa731c627c41bd31d051d562dc1fa5b6
      https://github.com/ckan/ckan/commit/8fa4bf87aa731c627c41bd31d051d562dc1fa5b6
  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: 3656f0e221a8f36accaff96149aa3c79922e4db9
      https://github.com/ckan/ckan/commit/3656f0e221a8f36accaff96149aa3c79922e4db9
  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: 61ffef8688a37040bc4a8e392346bc5532ed21b6
      https://github.com/ckan/ckan/commit/61ffef8688a37040bc4a8e392346bc5532ed21b6
  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/3826f60e2d4d...61ffef8688a3


More information about the ckan-changes mailing list