Bug 873680 - Creating a consumer with blank sockets results in missing system
Summary: Creating a consumer with blank sockets results in missing system
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Jordan OMara
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 874182
TreeView+ depends on / blocked
 
Reported: 2012-11-06 13:27 UTC by Justin Sherrill
Modified: 2019-09-26 13:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 874182 (view as bug list)
Environment:
Last Closed: 2013-09-19 18:09:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2012-11-06 13:27:17 UTC
Description of problem:
Seen in master.

Steps to Reproduce:
1.  Create a system in the UI, but leave sockets completely blank.
2.  A pop up will say that the system did not match search critera 
3.  Refreshing the page will not show the system.
  

I believe the cause is in system.rb:

indexes :sockets, :type => 'integer'


I think that via the UI an empty string is being passed to it when that field is blank, which is not an integer.

Comment 2 Jordan OMara 2012-11-09 16:12:53 UTC
https://github.com/Katello/katello/pull/1020

Comment 3 Mike McCune 2013-08-16 17:51:27 UTC
getting rid of 6.0.0 version since that doesn't exist

Comment 4 Mike McCune 2013-09-19 18:09:10 UTC
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM.  If this is a mistake feel free to re-open.


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