incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Main <im...@redhat.com>
Subject Re: 'Name' usage in deltacloud drivers
Date Wed, 15 Dec 2010 00:53:53 GMT
On Tue, 2010-12-14 at 16:19 -0800, David Lutterkort wrote:
> On Tue, 2010-12-14 at 11:01 -0800, Ian Main wrote:
> > Perhaps the regex would be useful for user interface conformity in other
> > apps?  For us the instance has to work on any back end so I can't see
> > enforcing it in the UI.  I see no reason you couldn't add both.
> 
> The main reason I suggested some sort of keyword for the pattern that
> the name most match is UI - an error message 'the name is invalid, it
> must match the regular expression /.../' is pretty unfriendly. A better
> error message is 'The name must be a valid domain name, i.e. consist
> only of alphanumeric characters, dashes, dots, ...'
> 
> David

Well let's just go with the keyword then.  I think you are right about
the error messages too.. hadn't thought of that.

	Ian



Mime
View raw message