Create Project description field validates only after user has pressed save

Description

Description of problem:
The Description field in the Create Project page is restricted to 1-100 characters.
This rule is not indicated to the user and validation only occurs after the user has pressed Save

Version-Release number of selected component (if applicable):
3.x

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in, go to Projects
2. Click Create Project
3. Enter > 100 characters in the Description field
4. Click somewhere to defocus the field

  • Note no error is displayed
    5. Enter a project id and name, press Save

Actual results:
"size must be between 0 and 100" error is displayed

Expected results:
This error should be displayed to the user before pressing Save, and perhaps a icon indicating the rule should be present.

Additional info:

Environment

None

Activity

Show:
Bugzilla Migration
July 31, 2015, 1:26 AM

Ding-Yi Chen commented on 2013-11-05 19:51:59 -0500:

I was going to suggest that "Summary" will be better. Both then we have to either modify the parameter name of desc to summary, or mend the client help.

Bugzilla Migration
July 31, 2015, 1:26 AM

Alex Eng commented on 2014-06-17 23:09:11 -0400:

Is this issue still occuring in 3.4.x?

Bugzilla Migration
July 31, 2015, 1:26 AM

Damian Jansen commented on 2014-07-28 01:49:37 -0400:

Tested 3.5.0-SNAPSHOT (git-server-3.4.2-201-ge0afdde) - still an issue

Bugzilla Migration
July 31, 2015, 1:26 AM

Alex Eng commented on 2015-05-31 21:07:19 -0400:

Pull request:
https://github.com/zanata/zanata-server/pull/836

Sachin Pathare
November 21, 2016, 9:02 AM

This issue is still reproducible in version platform-4.0.0.

Observations:

  • Description field validates only after we click on save button.

  • If we enter character more that 100 it should have to validate at runtime, not after clicking on save button.

Expected

  • There should be an message"Enter description less that 100 chars" below the description
    textbox

  • And when we start to enter the chars/word it should have to count and show below how many chars are left/how many chars are written out of 100.

Ready for Release

Assignee

Alex Eng

Reporter

Damian Jansen

Labels

None

Tested Version/s

None

Components

Sprint

None

Fix versions

Affects versions

Priority

unspecified
Configure