You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My ckan is install on ubuntu 12.10 with ckan version 2.5.1
I have successfully install datapusher and datastore. But sometime when i upload a dataset, datapusher always got called 2 times. This error happened randomly, sometime it push normally but most of the time it pushes twice.
I check the log, most of the api got called twice when i upload a dataset or view the dataset. Such as store_create,datastore_delete, datastore_search etc.
The text was updated successfully, but these errors were encountered:
That's actually caused because of the way CKAN handles dataset creation in different stages.
When you create a dataset via the form it's created in a state of draft. When adding a resource file in the next stage, the DataPusher will be called (if it's a CSV or Excel file) as this is a dataset update. Then we you click on "Save" to finish the creation of the dataset, the dataset is set to active, which is a dataset update that will trigger again a DataPusher call.
It is inefficient but it shouldn't have any adverse effects and because of the way dataset creation is implemented there's not an immediate or easy fix for it.
I'll close this as there is no immediate action but feel free to reopen if you think otherwise. Cheers.
CKAN Version if known (or site URL)
Ckan: 2.5.1
Ubuntu 12.10
Please describe the actual behaviour
My ckan is install on ubuntu 12.10 with ckan version 2.5.1
I have successfully install datapusher and datastore. But sometime when i upload a dataset, datapusher always got called 2 times. This error happened randomly, sometime it push normally but most of the time it pushes twice.
I check the log, most of the api got called twice when i upload a dataset or view the dataset. Such as store_create,datastore_delete, datastore_search etc.
The text was updated successfully, but these errors were encountered: