Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1400903

Summary: Unable to publish a content view: ArgumentError: wrong number of arguments (2 for 1)
Product: Red Hat Satellite Reporter: Peter Ondrejka <pondrejk>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.5CC: bbuckingham, bkearney, dlezzoum, lpramuk
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-05 14:28:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
production.log
none
cv-publish-screenshot none

Description Peter Ondrejka 2016-12-02 09:27:31 UTC
Created attachment 1227249 [details]
production.log

Description of problem:

Attempting to publish a new version of a content view results in a "wrong number of arguments (2 for 1)" message in UI -- see attached screenshot. See also attached production log. 

Version-Release number of selected component (if applicable):
satellite-6.2.5-1.0.el7sat.noarch
katello-3.0.0-14.el7sat.noarch

How reproducible:

always

Expected results:

CV should be published without complications.

Comment 2 Peter Ondrejka 2016-12-02 09:28:14 UTC
Created attachment 1227250 [details]
cv-publish-screenshot

Comment 4 Djebran Lezzoum 2016-12-02 11:57:44 UTC
*** Bug 1400918 has been marked as a duplicate of this bug. ***

Comment 5 Lukas Pramuk 2016-12-02 13:41:07 UTC
It fails except for 1st published version. The reproducer is to publish a CV twice.

# hammer content-view publish --id 30
[..............................................................................................................] [100%]

# hammer content-view publish --id 30
Could not publish the content view:
  wrong number of arguments (2 for 1)

Comment 7 Brad Buckingham 2016-12-05 14:28:46 UTC

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