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

GitHub noreply at github.com
Fri May 13 12:03:57 UTC 2016


  Branch: refs/heads/3012-fix-datastore_active-getting-lost
  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.




More information about the ckan-changes mailing list