Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 961594 - Organizations: field when editing an org description allows more text to be entered than is allowed.
Summary: Organizations: field when editing an org description allows more text to be e...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-10 03:07 UTC by Corey Welton
Modified: 2019-09-26 13:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-24 17:07:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Corey Welton 2013-05-10 03:07:03 UTC
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:

Comment 1 manjiri tapaswi 2013-06-05 15:41:45 UTC
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

Comment 2 manjiri tapaswi 2013-06-05 21:03:46 UTC
updated PR: https://github.com/Katello/katello/pull/2432

Comment 4 manjiri tapaswi 2013-06-13 17:55:19 UTC
Latest PR: https://github.com/Katello/katello/pull/2488

Comment 5 manjiri tapaswi 2013-06-14 15:38:16 UTC
Commit: fc01e13

Comment 7 Corey Welton 2013-10-14 18:40:35 UTC
QA Verified in Satellite-6.0.2-RHEL-6-20131011.0

Comment 9 Bryan Kearney 2014-04-24 17:07:59 UTC
This was verified and delivered with MDP2. Closing it out.


Note You need to log in before you can comment on or make changes to this bug.