[ckan-changes] [ckan/ckan] ca8c00: [#2804] Raise ValidationError for long column head...

GitHub noreply at github.com
Tue Jun 20 12:36:15 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: ca8c004db1471032d4bbff3cc7cfadf45a840974
      https://github.com/ckan/ckan/commit/ca8c004db1471032d4bbff3cc7cfadf45a840974
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-17 (Sat, 17 Jun 2017)

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

  Log Message:
  -----------
  [#2804] Raise ValidationError for long column headings in Datastore

Postgres has a limit of 63 characters for column names.

When a resource is inserted in Datastore, if it contains column headings that have names longer than 63 characters a ValidationError is raised showing affected columns.


  Commit: 97c2a20ed091fd581429980967d41e82d57af53a
      https://github.com/ckan/ckan/commit/97c2a20ed091fd581429980967d41e82d57af53a
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-17 (Sat, 17 Jun 2017)

  Changed paths:
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  [#2804] Add additional test for datastore_create


  Commit: 3da201b0f72176092e1dfc7058c23a6f11029eef
      https://github.com/ckan/ckan/commit/3da201b0f72176092e1dfc7058c23a6f11029eef
  Author: Ian Ward <ian at excess.org>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

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

  Log Message:
  -----------
  Merge pull request #3614 from klikstermkd/2804-column-name-length-datastore-upload

Column name length on Datastore upload


Compare: https://github.com/ckan/ckan/compare/987b2cc9328a...3da201b0f721


More information about the ckan-changes mailing list