Bug 1198233

Summary: undefined method 'marketing_product' when creating a product
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: Content ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Og Maciel <omaciel>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, jmontleo, mmccune, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9622
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:28:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Sherrill 2015-03-03 15:37:55 UTC
Currently there is an unused/nonexistent attribute on product 'marketing_product'

this should be removed, as it is not used in hammer nor in the web ui.  It also does not appear in the rendered rabl

Comment 1 Justin Sherrill 2015-03-03 15:37:56 UTC
Created from redmine issue http://projects.theforeman.org/issues/9622

Comment 2 Justin Sherrill 2015-03-03 15:39:24 UTC
This causes an error when creating any products

Comment 3 Bryan Kearney 2015-03-03 17:05:38 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9622 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|75a49aff1e695be9d3e0c0188c947ede3ecb2b05.

Comment 6 Og Maciel 2015-03-06 16:21:06 UTC
hammer> product create --name foo-prod --organization-id 1
Product created
hammer> product list  --organization-id 1
----|-------------------------------------------------------------|-------------|----------------------|--------------|-----------
ID  | NAME                                                        | DESCRIPTION | ORGANIZATION         | REPOSITORIES | SYNC STATE
----|-------------------------------------------------------------|-------------|----------------------|--------------|-----------
1   | Docker Hub                                                  |             | Default Organization | 2            | finished
118 | dreamspace                                                  |             | Default Organization | 0            | not_synced
121 | foo-prod                                                    |             | Default Organization | 0            | not_synced
81  | JBoss Enterprise Application Platform                       |             | Default Organization | 0            | not_synced
43  | JBoss Enterprise Application Platform - ELS                 |             | Default Organization | 0            | not_synced
33  | JBoss Enterprise Web Platform                               |             | Default Organization | 0            | not_synced
34  | JBoss Enterprise Web Server                                 |             | Default Organization | 0            | not_synced
37  | Kernel Derivative Works for BluegeneQ                       |             | Default Organization | 0            | not_synced
60  | Kernel Derivative Works for HPC for Power Systems           |             | Default Organization | 0            | not_synced
109 | MRG Grid                                                    |             | Default Organization | 0            | not_synced
74  | MRG Grid Execute                                            |             | Default Organization | 0            | not_synced
92  | MRG Management                                              |             | Default Organization | 0            | not_synced
77  | MRG Realtime                                                |             | Default Organization | 0            | not_synced
20  | Oracle Java for RHEL Client                                 |             | Default Organization | 0            | not_synced
110 | Oracle Java for RHEL Compute Node                           |             | Default Organization | 0            | not_synced
38  | Oracle Java for RHEL Compute Node - Extended Update Support |             | Default Organization | 0            | not_synced
21  | Oracle Java for RHEL Server - AUS                           |             | Default Organization | 0            | not_synced
29  | Oracle Java for RHEL Server - Extended Update Support       |             | Default Organization | 0            | not_synced
104 | Oracle Java for RHEL Workstation                            |             | Default Organization | 0            | not_synced
120 | partha-test                                                 |             | Default Organization | 2            | finished
----|-------------------------------------------------------------|-------------|----------------------|--------------|-----------
List next page? (Y/n): n
hammer> product info --id 121
ID:           121
Name:         foo-prod
Label:        foo-prod
Description:
Sync State:   not_synced
Sync Plan ID:
GPG:
    GPG Key ID:
    GPG Key:
Organization: Default Organization
Readonly:     false
Deletable:
Content:

Comment 7 Og Maciel 2015-03-06 16:21:50 UTC
Verified against Satellite-6.1.0-RHEL-6-20150303.0

Comment 8 Bryan Kearney 2015-08-11 13:32:07 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:28:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1592