[ckan-dev] error editing dataset ckan 1.5a

p.romain at cg33.fr p.romain at cg33.fr
Thu Oct 13 12:00:06 UTC 2011


De :    David Read <david.read at okfn.org>
A :     CKAN Development Discussions <ckan-dev at lists.okfn.org>, Tom Rees 
<zephod at gmail.com>, David Raznick <david.raznick at okfn.org>
Date :  13/10/2011 13:21
Objet : Re: [ckan-dev] error editing dataset ckan 1.5a
Envoyé par :    ckan-dev-bounces at lists.okfn.org



2011/10/11  <p.romain at cg33.fr>:
> Hi,
>
> I tried to create a package with the new CKAN interface and encountered 
an
> issue trying to link to dataset's url
> The form contains invalid entries:
>
> Resources: Package resource(s) incomplete

This displays when there is any validation error on a resource, so it
is a misleading error message (@Tom please fix). Anyway, it is
followed by a sub-bullet point explaining which resource is the
problem (starting at 0 - @Tom should this not be 1?) and then the
error. So once you solve the date problem, this will disappear.

Now that I've explained this, can you understand how the bullets are
nested to signify they are all part of the same error? I think it is
designed this way to make it group errors by the resource and part of
the package. Do you think it would be better if there was one error
per bullet point, with all the existing info contained in it?

No I think it is comprehensible this way but I would rather name the 
ressource id by it's name or if not possible by a number starting by one

> Ifilled all the entries of the resource block so I don't understand why 
it
> doesn't let me save this pacakge
> Also there seems to be an issue with the date format but the form 
doesn't
> specify what is the correct format
>
> Resource 0:
>
> last_modified: Date format incorrect;

The format for this field is ISO e.g. 2005-10-01T10:30:00
I agree that it is rather bad not explaining this to users.
@Tom should this be displayed in the form?
@David should this also be in the validator error?

Adding a calendar would greatly improve the user experience :)

>
> http://thedatahub.org/dataset/edit/liste-lignereguliere-transgironde
>
> Best,
> Pascal Romain

Pascal

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
http://lists.okfn.org/mailman/listinfo/ckan-dev



__________________________________________________________________

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Ce message ne constitue pas un document officiel. Seuls les documents revêtus de la signature du Président du Conseil Général ou d'un de ses délégataires sont de nature à engager le Département. 
Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération et le Département de la Gironde décline toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20111013/b28be678/attachment-0001.html>


More information about the ckan-dev mailing list