• Invalid Email Address

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #22488  by MichaelSS
 
I just installed OpenKM 6.2.3 (build 7945) on a CentOS 6.4 system. The problem I ran into is when I try to create a user I get an error message when I put in the email address. I believe the problem is the length of the domain name. i.e. michael@mail.organization.dep1.dep2.com comes back as Invalid email address. If I shorten it to michael@mail.organization.dep1.com it accepts it... of course it is not a vailid address. Is there a way to allow for longer domain names when creating a user?

Thanks for any help/suggestions.

Michael
 #22499  by pavila
 
Please, attach an screenshot of the error dialog.
 #22518  by MichaelSS
 
I have attached a screenshot. Please let me know if you need anything else.

Thank you!

Michael
Attachments
OpenKM.png
OpenKM.png (90.71 KiB) Viewed 3333 times
 #22550  by pavila
 
You need to edit the user_edit.jsp file and remove this validation.
 #22554  by MichaelSS
 
Thank you for the reply.... Doesn't all that do is remove the requirement to put in an email address? it doesn't resolve the problem. To use this in an organization, you would want to use the email feature. I edited the following files:

user_edit.jsp -> changed size from "30" to "40" <td><input class=":email :required :only_on_blur" name="usr_email" size="40" value="${usr.email}"/></td>

crontab_edit.jsp -> changed size from "30" to "40" <td><input size="40" class=":email :only_on_blur" name="ct_mail" value="${ct.mail}"/></td>

Restarted tomcat. It did not resolve the issue.
 #22555  by MichaelSS
 
I realize now, those lines are just for the size of the input box. It is definately related to the length of the domain name. It works fine with xxx.xxx.xxx.xxx (with four .) If it is xxx.xxx.xxx.xxx.xxx (five .) it fails. I'm guessing there is a template file or something that limits it to the four . parts.

Michael
 #22616  by pavila
 
You can avoid the validation removing the ":email" class from these fields.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.