[ckan-dev] Recent upgrade (?) and issues
David Raznick
kindly at gmail.com
Fri Jun 10 15:32:55 UTC 2011
On Fri, Jun 10, 2011 at 1:47 PM, Rufus Pollock <rufus.pollock at okfn.org>wrote:
> OK, I've also discovered I'm getting issues with a several other
> fields when using preview then save. End up with fields looking like:
>
> [u'My title', u'My title']
>
> (You can see this in history of: <http://ckan.net/package/ngcoba>).
> I'd like to demo this on test.ckan.net but note that is at different
> version (v1.4.1a v v1.4.1b) and does not seem to display the problem.
>
> Looks like this is getting converted to a list of values on way in
> some way. Do we have a preview test?
>
The error was not due to the preview it was due to the params being used
from url. This only happens when using the bookmarklet as it keeps the
params in the url. This has been fixed so that the form saving only uses
the POST part of the request. I may need to think of better validation
handing as two params with the same key get turned into a list, before they
were just being conveniently deduplicated.
David
> Rufus
>
> On 10 June 2011 12:29, Rufus Pollock <rufus.pollock at okfn.org> wrote:
> > On 9 June 2011 23:08, David Raznick <kindly at gmail.com> wrote:
> >> On Thu, Jun 9, 2011 at 10:36 PM, David Raznick <kindly at gmail.com>
> wrote:
> >
> > [...]
> >
> >>>> 2. You used to be able to post some info as part of get (this allowed
> >>>> bookmarks to work [1]) e.g.
> >>>>
> >>>>
> >>>> <
> http://ckan.net/package/new?url=http%3A%2F%2Fwww.kingkong.demon.co.uk%2Fngcoba%2Fngcoba.htm&title=New%20General%20Catalog%20of%20Old%20Books%20%26%20Authors
> >
> >>>>
> >>>> This functionality no longer appears to work.
> >>>
> >>> Sorry. I thought this was depreciated when doing the forms refactor. I
> >>> will happily add it back in when I get the chance.
> >>
> >> This is done, it was much easier than I expected. The above link now
> works.
> >
> > Thanks. This was very minor (both issues were minor!) and thanks for
> prompt fix!
> >
> > Rufus
> >
>
>
>
> --
> Co-Founder, Open Knowledge Foundation
> Promoting Open Knowledge in a Digital Age
> http://www.okfn.org/ - http://blog.okfn.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20110610/1de4b3c8/attachment-0001.html>
More information about the ckan-dev
mailing list