Red Hat Bugzilla – Bug 840752
Edit profile: very long name causes an unhelpful error page to be displayed
Last modified: 2012-12-02 22:19:51 EST
Description of problem:
If save is pressed after entering more than 80 characters in the name field, the browser redirects to a general error page with no information about what went wrong (404 for error.seam.seam not being found).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Sign in, go to profile, click "Edit Profile"
2.Enter more than 80 characters in name field
Directs to error.seam with 404 message about not finding error.seam.seam
Adds validation message next to name field showing that the entered name is too long.
Prevented error.seam.seam url rewriting:
Added validation annotation for names:
VERIFIED Zanata version 1.8.0-SNAPSHOT (20120810-0025)
Zanata version 1.7.2-SNAPSHOT (20120810-0001).