Red Hat Bugzilla – Bug 1198233
undefined method 'marketing_product' when creating a product
Last modified: 2017-02-23 15:24:23 EST
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
Created from redmine issue http://projects.theforeman.org/issues/9622
This causes an error when creating any products
Moving to POST since upstream bug http://projects.theforeman.org/issues/9622 has been closed ------------- Justin Sherrill Applied in changeset commit:katello|75a49aff1e695be9d3e0c0188c947ede3ecb2b05.
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:
Verified against Satellite-6.1.0-RHEL-6-20150303.0
This bug is slated to be released with Satellite 6.1.
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