Bug 1368409

Summary: Run Job cant handle more than 255 chars
Product: Red Hat Satellite Reporter: hprakash
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
WebUI sub component: Foreman QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: bbuckingham, rankumar
Version: 6.2.0   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-22 20:58:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
error msg none

Description hprakash 2016-08-19 10:08:48 UTC
Created attachment 1192096 [details]
error msg

Description of problem:

'Run Job' feature is not accepting chars more than 255.
Version-Release number of selected component (if applicable):


How reproducible:

everytime
Steps to Reproduce:
1.Satellite Web UI-->All Hosts-->Select any host-->Run Job
2.in the command text area enter any lengthy command which has > 255 chars, e.g.-
echo "<characters more than 255>" > run-job-test.txt
3.UI shows error- Oops, we're sorry but something went wrong ERROR: value too long for type character varying(255)

Actual results:

Should execute the command properly
Expected results:


Additional info:

Comment 2 Brad Buckingham 2016-08-22 20:58:59 UTC

*** This bug has been marked as a duplicate of bug 1367606 ***