[ckan-discuss] datastore_search_sql

David Raznick david.raznick at okfn.org
Sat Dec 7 00:10:31 UTC 2013


I have found the problem and its a proper bug in CKAN.  CCing in Joel
and Henrik who also faced this bug too.
It is a strange bug that only effects some people.  The reason we did
not spot it was because if there are no private datasets (throughout
the whole site, not just what you are searching) then it does actually
work. We tested against that scenario and why we did not pick this up.

I have a patch and we will backport it to 2,0 and 2.1 so hopefully you
will have it soon.



On 6 December 2013 22:24, Francesco Salvadore <f.salvadore at cineca.it> wrote:
> Hi all,
> I have a similar problem as
> http://web.archiveorange.com/archive/v/GsJ2sMzcrQJHsNxh4s0w
> and
> https://lists.okfn.org/pipermail/ckan-discuss/2013-December/003129.html
> (I cannot reply to the thread since I have just subscribed to the list)
> datastore_search_sql works fine only using admin user (or maybe with
> the same user which owns the dataset, not a solution though).
> The resource is public. It is visible using, for instance, recline_preview.
> I am using Ckan 2.1.1 and I would like to call the API using AJAX.
> Maybe is the datastore not properly configured?
> thanks
> Francesco
> -----------------------------------------------------------------------
> Francesco Salvadore - PhD
> SuperComputing Applications and Innovation Department - SCAI
> via dei Tizii, 6 - 00185 Rome - ITALY
> Tel: +39-06-44486055
> www.hpc.cineca.it
> _______________________________________________
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-discuss
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss

More information about the ckan-discuss mailing list