#300 ✓resolved
Stefan

Invalid user name causes article creation error

Reported by Stefan | May 8th, 2009 @ 10:32 AM

Create a new cms application. When asked for the initial user and password, use admin / admin. The dialog asks for an email, but admin is accepted. Now, when you try to create your first article, this will fail without any hint that it's because admin doesn't look like an email address.

I recommend to add a validation to the Admin::InstallController if you really need to ignore validation in User#create_superuser. Or at least, raise a better error message.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>

Pages