character validation/limitation should be there while creating glossary terms.
Description
Environment
None
Attachments
2
Activity
Show:

Former user 18 January 2018 at 05:10Edited
Proposal:
Term - 500 characters (currently longtext)
Part of Speech - 255 characters (current)
Description - 500 characters (currently 255(!?))
Add field limits to the above to prevent attempts and improve usability.
Add limits in DTOs.
Migration:
If (select count( * ) from HGlossaryTerm where LENGTH(content) > 500)
Export the database table HGlossaryTerm
Truncate the content of any terms that are over these limits
Increase field limit of HGlossaryEntry.description to varchar(500)
Ready for Release
Details
Details
Assignee

Reporter

Tested Version/s
None
Sprint
None
Affects versions
Priority

More fields
Time tracking
More fields
Time trackingCreated 16 January 2018 at 05:16
Updated 27 June 2018 at 02:29
Resolved 28 February 2018 at 06:23
Steps to Reproduce:
Login to zanata.
Click on Glossary menu
Click on create new glossary term icon.
Enter long string in term and part of speech
Observe the behaviour
Actual Result:
There is no limitation or validation for fields in new term modal-box
Expected Result:
Character limitation or validation should be there for creating new term.