[ckan-dev] API requests using JSONP return no results

Toby Dacre toby.okfn at gmail.com
Mon Feb 18 10:09:54 UTC 2013


On 18 February 2013 09:42, David Read <david.read at hackneyworkshop.com>wrote:

> This bug was addressed and fixed in the dgu branch. See:
>
> http://trac.ckan.org/ticket/3029
>
>
Thanks,

This seems to be a fix for the original bug reported

Apologies if this went in the old trac, but I'd assume you still get
> emails from it.
>

I think trac is now a dead wilderness - maybe we should make this more
evident to the casual viewer.

>
> David
>
> On 15 February 2013 17:47, Toby Dacre <toby.okfn at gmail.com> wrote:
> >
> >
> > On 15 February 2013 17:28, Adrià Mercader <adria.mercader at okfn.org>
> wrote:
> >>
> >> On 15 February 2013 10:13, Sean Hammond <sean.hammond at okfn.org> wrote:
> >> >
> >> > The Action API's package_search action doesn't seem to support jsonp:
> >> >
> >> >
> >> >
> http://demo.ckan.org/api/3/action/package_search?q=spending&callback=abcd
> >> >
> >> > That may be another bug. @ckan-devs, what do you think? Should
> >> > package_search support jsonp like other actions do?
> >> I would say yes, I can't see why some actions should support it ans
> >> others no (should be easy to wrap all output from the action api in
> >> the jsonp parameter)
> >
> >
> > yeah looks like we should use _finish() not _finish_ok() and then we'd
> have
> > jsonp support for all actions I'm not sure how any get supported via
> > /api/3/action/.... at the moment
> >>
> >>
> >> Adrià
> >>
> >>
> >>
> >> > _______________________________________________
> >> > ckan-dev mailing list
> >> > ckan-dev at lists.okfn.org
> >> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> >> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>
> >> _______________________________________________
> >> ckan-dev mailing list
> >> ckan-dev at lists.okfn.org
> >> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
> >
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130218/22b14495/attachment-0001.html>


More information about the ckan-dev mailing list