[ckan-changes] [ckan/ckan] 0523cd: [#3012] Persist datastore_active on resource updat...

GitHub noreply at github.com
Tue May 17 12:31:49 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 0523cd9c49695a913a06b98c686bca2964007825
      https://github.com/ckan/ckan/commit/0523cd9c49695a913a06b98c686bca2964007825
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-13 (Fri, 13 May 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  [#3012] Persist datastore_active on resource updates

As datastore_active is stored as an extra, if it's not provided in the
incoming data_dict on resource_update it will get dropped. This happens
most noticeably when udpating via the frontend, causing the green Data
API button to disappear.


  Commit: 32375f2d07635db89606cfd150886b80e67a58b4
      https://github.com/ckan/ckan/commit/32375f2d07635db89606cfd150886b80e67a58b4
  Author: Ian Ward <ian at excess.org>
  Date:   2016-05-17 (Tue, 17 May 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  Merge pull request #3020 from ckan/3012-fix-datastore_active-getting-lost

[#3012] Persist datastore_active on resource updates


Compare: https://github.com/ckan/ckan/compare/c197578f8390...32375f2d0763


More information about the ckan-changes mailing list