Page 1 of 1

Error-Message when i create e new user

PostPosted:Thu Jun 04, 2015 8:52 am
by muellere
Hi all,
i have OpenKM Version: 6.3.0 (build: 8156).
when i create e new user named "EJV-BKJV-VP", the system give me e error message "ID Invalid identifier", and i can not create this user.
the user "EJV-BKJV-VP" does not exist in the users database!
somebody has an idea?

Re: Error-Message when i create e new user

PostPosted:Thu Jun 04, 2015 9:36 am
by muellere
Add PrintScreen

Re: Error-Message when i create e new user

PostPosted:Sat Jun 06, 2015 10:43 am
by jllort
That is caused because in default configuration the character "-" is not allowed, simply go to administration -> configuration parameters and looking for parameter named principal.identifier.validation that has a value ^[a-zA-Z0-9_]+$ edit and add the character "-".

I think character "-" is special character and can not be included directly and should be escaped, try with it, I'm not totally sure ^[a-zA-Z0-9_\\-]+$ , see I've added at end \\-

Re: Error-Message when i create e new user

PostPosted:Mon Jun 08, 2015 6:38 pm
by muellere
Thanks for the solution. It's work. :D
BR
Ernst