Bug 1096172 - Setting the content Host limit with some random text should throw proper error message
Summary: Setting the content Host limit with some random text should throw proper erro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Christine Fouant
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-09 10:48 UTC by Sachin Ghai
Modified: 2019-09-26 17:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:07:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
busy spinner with 'working' keyword and a success notification (24.79 KB, image/png)
2014-05-09 10:48 UTC, Sachin Ghai
no flags Details
firebug raises error while setting the limit with some str (116.71 KB, image/png)
2014-05-16 06:38 UTC, Sachin Ghai
no flags Details
UI throws validation error if I use a string to update the limit (33.41 KB, image/png)
2014-06-06 06:48 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5746 0 None None None 2016-04-22 15:34:14 UTC

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.


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