Bug 1447786

Summary: Limit ansible playbook catalog item description
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: low Docs Contact:
Priority: medium    
Version: 5.8.0CC: dmisharo, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible:service:ui
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1478391 (view as bug list) Environment:
Last Closed: 2018-03-06 15:07:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Ansible Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478391    
Attachments:
Description Flags
long description none

Description Shveta 2017-05-03 20:04:17 UTC
Created attachment 1275988 [details]
long description

Description of problem: Ansible playbook catalog item can be created with unlimited chars which make the catalog item UI table go out of the page


Version-Release number of selected component (if applicable):
5.8.0.13-rc2.20170502165848_0f98658 

How reproducible:


Steps to Reproduce:
1. Create a catalog item for ansible playbook
2. Give a very long description and save
3.

Actual results:


Expected results: Like other catalog items the description field chars should be limited 


Additional info:

Comment 5 CFME Bot 2017-06-22 21:44:00 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/3e5d2f569bdefe622799dfb5fd2a5c37a6243b8b

commit 3e5d2f569bdefe622799dfb5fd2a5c37a6243b8b
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Jun 22 12:20:05 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Jun 22 13:14:18 2017 -0400

    Changed max length of name and description fields to be consistent
    
    Changed max length of name and description fields to be same as non-angular version of form that is in use for non-ansible type Catalog Item form.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1447786

 app/views/catalog/_st_angular_form.html.haml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 7 Dmitry Misharov 2017-11-01 10:45:19 UTC
Verified in 5.9.0.3.20171017182919_5f3a0ce.