[ckan-dev] Bug in CKAN, add new package

David Raznick kindly at gmail.com
Sun Jul 10 22:04:48 UTC 2011


This has now been fixed. Instead of deleting the last row it now essentially
clears it.

Thanks

David



On Sun, Jul 10, 2011 at 9:57 PM, Rustam Mehmandarov
<minspamboks at gmail.com>wrote:

> David,
>
> Thanks a lot for a quick response! I hope this won't be hard to fix. :)
>
> Rustam
>
> On Fri, Jul 8, 2011 at 3:53 PM, David Read <david.read at okfn.org> wrote:
> > Rustam,
> >
> > Good spotting! Many thanks for letting us know too.
> >
> > I've created the ticket:
> > http://trac.ckan.org/ticket/1215
> >
> > @Rufus, perhaps Aron would have time to fix the Javascript for this?
> >
> > David
> >
> > On 8 July 2011 13:51, Rustam Mehmandarov <minspamboks at gmail.com> wrote:
> >> Hi all,
> >>
> >> I'm  not sure if this was reported earlier, but I have found a minor
> >> bug in the "Add new package" form. As far as I can see this bug exists
> >> in v1.3.2 and also in v1.4.1a (that runs on ckan.net). This is a
> >> problem with adding new resources in "Resources" section. To reproduce
> >> the bug do the following:
> >>
> >> 1. Go to "Add new package", for instance http://ckan.net/package/new
> >> 2. Scroll down to "Resources" section.
> >> 3. Click on "Remove this row" link (red circle).
> >> 4. Say "Yes" to "Are you sure you wish to remove this row?"
> >> 5. Now there should be no rows. Only the header "URL*   Format
>  Description"
> >> 6. Click on "Add row to table"
> >> 7. All you get now is another row with table hader "URL*        Format
> >>        Description". You will not be able to add any resources now.
> Solution
> >> is to reload the page.
> >>
> >> The simplest solution to this bug will be to hide the "Remove this
> >> row" link if there is only one row.
> >>
> >>
> >> Sincerely,
> >> Rustam
> >>
> >> _______________________________________________
> >> ckan-dev mailing list
> >> ckan-dev at lists.okfn.org
> >> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >>
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> >
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20110710/5089659c/attachment-0001.html>


More information about the ckan-dev mailing list