Issue 90

On 10/30/2014 12:58 AM, Aidin Gharibnavaz wrote:
>
> In cli/src/selectors/id_selector.cpp:
>
> > +        {
> > +        }
> > +        else
> > +        {
> > +          valid_id = false;
> > +          break;
> > +        }
> > +      }
> > +    }
> > +    else
> > +    {
> > +      valid_id = false;
> > +    }
> > +    if (! valid_id)
> > +    {
> > +      throw InvalidParametersError("Id must be seven characters, each 0-9 or A-M or a-m.");
>
I'm thinking that the above logic should be in 
libtocc/database/base23.cpp, so the check is done in libtocc and not 
cli, so the check is done in toccfs as well as cli. What do you think?