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

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


  Branch: refs/heads/release-v2.3.4
  Home:   https://github.com/ckan/ckan
  Commit: aea7413162320af4ccc4d924c4cd7ca6453ed296
      https://github.com/ckan/ckan/commit/aea7413162320af4ccc4d924c4cd7ca6453ed296
  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.

Conflicts:
	ckan/logic/action/get.py


  Commit: e5757697c00080fbb47ae044c31c8f2a4620ece0
      https://github.com/ckan/ckan/commit/e5757697c00080fbb47ae044c31c8f2a4620ece0
  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: 0e524b1abd0adbe7e2cf8536f3dc7ad09d60e1bb
      https://github.com/ckan/ckan/commit/0e524b1abd0adbe7e2cf8536f3dc7ad09d60e1bb
  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: 41e3d33dd85d44fe14f7e793745ceb5a9b956137
      https://github.com/ckan/ckan/commit/41e3d33dd85d44fe14f7e793745ceb5a9b956137
  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/e31b07f38289...41e3d33dd85d


More information about the ckan-changes mailing list