[ckan-changes] [ckan/ckan] f80f15: [#4766] Allow empty arrays and objects in json typ...
Ian Ward
noreply at github.com
Fri Jun 14 13:04:38 UTC 2019
Branch: refs/heads/master
Home: https://github.com/ckan/ckan
Commit: f80f15ccf2cb01acee0b124c2558df200b907957
https://github.com/ckan/ckan/commit/f80f15ccf2cb01acee0b124c2558df200b907957
Author: David Sandberg <david at dsandberg.com>
Date: 2019-05-29 (Wed, 29 May 2019)
Changed paths:
M ckanext/datastore/backend/postgres.py
M ckanext/datastore/tests/test_create.py
Log Message:
-----------
[#4766] Allow empty arrays and objects in json type fields with datastore_create
Currently, adding an empty array or an empty object to a field of type json using datastore_create results in a validation error and status code 409.
After this change, empty arrays and empty objects can be added to fields of type json.
Commit: 2a56649c216e50083ce463f6196c1966f2c50532
https://github.com/ckan/ckan/commit/2a56649c216e50083ce463f6196c1966f2c50532
Author: David Sandberg <david at dsandberg.com>
Date: 2019-06-03 (Mon, 03 Jun 2019)
Changed paths:
M ckan/authz.py
M ckan/lib/helpers.py
M ckan/tests/lib/test_helpers.py
M ckanext/datastore/tests/test_chained_auth_functions.py
Log Message:
-----------
Merge branch 'master' into 4766-allow-empty-arrays-and-objects-in-json-fields-with-datastore_create
Commit: 031357f7211c084e16a03f6e7210e5391a501361
https://github.com/ckan/ckan/commit/031357f7211c084e16a03f6e7210e5391a501361
Author: David Sandberg <david at dsandberg.com>
Date: 2019-06-03 (Mon, 03 Jun 2019)
Changed paths:
M ckanext/datastore/tests/test_chained_auth_functions.py
Log Message:
-----------
Merge branch 'master' into 4766-allow-empty-arrays-and-objects-in-json-fields-with-datastore_create
Commit: 7fd6ca6439e3a7db60787283148652f895b02920
https://github.com/ckan/ckan/commit/7fd6ca6439e3a7db60787283148652f895b02920
Author: Ian Ward <ian at excess.org>
Date: 2019-06-14 (Fri, 14 Jun 2019)
Changed paths:
M ckanext/datastore/backend/postgres.py
M ckanext/datastore/tests/test_create.py
Log Message:
-----------
Merge pull request #4826 from Icontech/4766-allow-empty-arrays-and-objects-in-json-fields-with-datastore_create
Bugfix: Allow empty arrays and objects in json type fields when inserting data into datastore
Compare: https://github.com/ckan/ckan/compare/61b785fa9ff8...7fd6ca6439e3
More information about the ckan-changes
mailing list