Description of problem: When editing the description of an Org, user can enter long descriptions in the field which outrun the max length set in db. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Organizations > ACME_Corporation 2. Attempt to edit the description of this org, using the following value: "This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. " 3. Save Actual results: "Validation Failed: Description cannot contain more than 255 characters" description is not saved. Expected results: User should not be able to enter more data than is allowed by the db. Additional info:
Set maxlength to restrict data entered in org description textarea as defined in the db https://github.com/Katello/katello/pull/2429 Added support for maxlength attribute for jeditable textarea https://github.com/ui-alchemy/ui_alchemy-rails/pull/160
updated PR: https://github.com/Katello/katello/pull/2432
Latest PR: https://github.com/Katello/katello/pull/2488
Commit: fc01e13
QA Verified in Satellite-6.0.2-RHEL-6-20131011.0
This was verified and delivered with MDP2. Closing it out.