Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
"Data API" button disappears on resource page after empty update #3012
Please describe the expected behaviour
When updating a resource without changing any fields, url or description, the green "Data API" button should still be there, because the data is still in the datastore (And API calls of this type confirms that it still is). Not sure if it is expected of the datapusher to trigger its update or not.
Please describe the actual behaviour
The green "Data API" button disappears, as if data is now removed from the datastore for the particular resource. It would seem like CKAN thinks this triggers the datapusher hook, even though it does not (logs confirm it nothing happens).
What steps can be taken to reproduce the issue?
Push .CSV file to the datastore using the web interface, then update the resource using either the
I'm curious to see if i'm the only one with this issue, i can reproduce over several CKAN installations running 2.5.2. If i need to post this in the datapusher github issue tracker instead, close this and i will post it there instead.
@NicolaiMogensen this is indeed a bug.
The "Data API" button relies on the