Bug 1096172

Summary: Setting the content Host limit with some random text should throw proper error message
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Christine Fouant <cfouant>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin Ghai <sghai>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5746
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:07:42 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:
Embargoed:
Attachments:
Description Flags
busy spinner with 'working' keyword and a success notification
none
firebug raises error while setting the limit with some str
none
UI throws validation error if I use a string to update the limit none

Description Sachin Ghai 2014-05-09 10:48:28 UTC
Created attachment 894000 [details]
busy spinner with 'working' keyword and a success notification

Description of problem:
I was trying to set the content Host limit under "host collection' and I passed some random alphanumeric string and found that a notification raised on UI saying: Host collection updated and UI shows rotating spinner with 'working' text.

Please see the screenshot.

Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140508.1

How reproducible:
always 

Steps to Reproduce:
1. create a Host Collection
2. Go to details
3. set the `content Host limit` to some random text

Actual results:
spinner keep on rotating with 'working text and notification raises: Host Collection Updated

Expected results:
UI should throw proper error message

Additional info:

Comment 1 RHEL Program Management 2014-05-09 10:55:05 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Brad Buckingham 2014-05-15 18:33:55 UTC
Confirmed that the the behavior exists with Firefox, but not Chrome.

The issue described here is very similar to bug 1097054.

Comment 4 Brad Buckingham 2014-05-15 18:36:14 UTC
Created redmine issue http://projects.theforeman.org/issues/5746 from this bug

Comment 5 Sachin Ghai 2014-05-16 06:38:26 UTC
Created attachment 896209 [details]
firebug raises error while setting the limit with some str

Comment 6 Christine Fouant 2014-06-05 16:13:22 UTC
Tested on both Chrome and Firefox, throws error on both.

Comment 7 Sachin Ghai 2014-06-06 06:45:58 UTC
Verified with sat6 beta snap8 ((Satellite-6.0.3-RHEL-6-20140604.0)

UI is throwing proper validation error if I **Update** the content host limit with some random text. But not while creation.

will log a seperate bug for this. thanks

Comment 8 Sachin Ghai 2014-06-06 06:48:32 UTC
Created attachment 902778 [details]
UI throws validation error if I use a string to update the limit

Comment 9 Bryan Kearney 2014-07-02 14:07:42 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.