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 1105443 - using str value for "content host limit" while creating host-collection neither save the form nor raises any validation error
Summary: using str value for "content host limit" while creating host-collection neith...
Keywords:
Status: CLOSED DUPLICATE of bug 1097054
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: Walden Raines
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-06 07:05 UTC by Sachin Ghai
Modified: 2014-07-02 15:51 UTC (History)
2 users (show)

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


Attachments (Terms of Use)
firebug throws error if I set the limit with some str on host-collection creation (90.84 KB, image/png)
2014-06-06 07:05 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2014-06-06 07:05:03 UTC
Created attachment 902785 [details]
firebug throws error if I set the limit with some str on host-collection creation

Description of problem:
I've logged a similar defect #1096172 but that was for updating the limit.

Now I'm facing similar issue while creating host-collection. If I use a str value for content-host-limit then UI should throw an error. But now UI neither throw any error nor saves the form.



Version-Release number of selected component (if applicable):
sat6 beta snap8 ((Satellite-6.0.3-RHEL-6-20140604.0)

How reproducible:
always

Steps to Reproduce:
1. go to host-collection
2. create new --> unset limit and set limit with some str
3. save form

Actual results:
UI neither throws any error on UI nor saves the form.

Expected results:
a validation error should be raised.

Additional info:
production.log says:

Processing by Katello::Api::V2::HostCollectionsController#create as JSON
  Parameters: {"unlimited"=>false, "max_content_hosts"=>nil, "name"=>"test", "organization_id"=>"1", "api_version"=>"v2", "host_collection"=>{"name"=>"test", "max_content_hosts"=>nil, "organization_id"=>"1"}}
ActiveRecord::RecordInvalid
content_host_limit: ["must be a positive integer value."]
Completed 422 Unprocessable Entity in 54ms (Views: 0.9ms | ActiveRecord: 2.3ms)

Comment 1 RHEL Program Management 2014-06-06 07:13:48 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 Walden Raines 2014-07-02 15:51:31 UTC
Duplicate of bug #1097054

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


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