[ckan-changes] [ckan/ckan] 92ea0c: Return message from Postgres when there's a valida...

GitHub noreply at github.com
Mon Dec 10 18:41:51 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 92ea0c6f6c12d8511b8c3221ffa33904993ef00c
      https://github.com/ckan/ckan/commit/92ea0c6f6c12d8511b8c3221ffa33904993ef00c
  Author: amercader <amercadero at gmail.com>
  Date:   2018-12-09 (Sun, 09 Dec 2018)

  Changed paths:
    M ckanext/datastore/backend/postgres.py

  Log Message:
  -----------
  Return message from Postgres when there's a validation during import

Right now when there's a validation error during datastore_create you
just get a generic message with no actual details (eg wrong type or
wrong values). At least let's return Postgres message which gives the
column and/or the wrong value.


  Commit: 5ce4ae96f26596e3f6260df178014daf07521e8c
      https://github.com/ckan/ckan/commit/5ce4ae96f26596e3f6260df178014daf07521e8c
  Author: Ian Ward <ian at excess.org>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M ckanext/datastore/backend/postgres.py

  Log Message:
  -----------
  Merge pull request #4583 from ckan/better-datastore-validation-error

Return message from Postgres when there's a validation during datastore import


Compare: https://github.com/ckan/ckan/compare/a4ec78e04ab6...5ce4ae96f265
      **NOTE:** This service has 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