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:
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 ***