[ckan-dev] error editing dataset ckan 1.5a

David Read david.read at okfn.org
Thu Oct 13 11:21:26 UTC 2011


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?

> 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?

>
> http://thedatahub.org/dataset/edit/liste-lignereguliere-transgironde
>
> Best,
> Pascal Romain
> __________________________________________________________________
>
> 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é.
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
>




More information about the ckan-dev mailing list