Page 1 of 1

referenceable id question

Posted: 10 Mar 2015, 23:51
by cc9cii
CSVWorld::IdValidator::isValid() has this check:

Code: Select all

    if (!first && (c.isDigit()  || c.isSpace()))
        return true;
Which means one can't create (or clone) something like "6th bell hammer" using the creator on the table bottom box.

Can the digit check be moved (i.e. made to return true always) or will that break something else?

Re: referenceable id question

Posted: 11 Mar 2015, 16:58
by Zini
The idea here is to be more strict about naming than OpenCS. You can still use all kind of news but newly created records need to be named more sensible.
The case you mentioned is one of the least problematic. But still, I think not allowing names starting with a digit makes perfect sense.