Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1455171 - undefined method `default_capsule?' for true:TrueClass when manipulating Repository
undefined method `default_capsule?' for true:TrueClass when manipulating Repo...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Repositories (Show other bugs)
6.2.10
Unspecified Unspecified
high Severity high (vote)
: 6.2.10
: Unused
Assigned To: Justin Sherrill
Roman Plevka
: Regression, Triaged
: 1455035 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-24 08:14 EDT by Peter Ondrejka
Modified: 2017-06-20 13:24 EDT (History)
6 users (show)

See Also:
Fixed In Version: rubygem-katello-3.0.0.135-1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-20 13:24:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
prodlog (199.08 KB, text/plain)
2017-05-24 08:14 EDT, Peter Ondrejka
no flags Details
screenshot (57.24 KB, image/png)
2017-05-24 08:15 EDT, Peter Ondrejka
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1553 normal SHIPPED_LIVE Satellite 6.2.10 Async Bug Release 2017-06-20 17:19:07 EDT

  None (edit)
Description Peter Ondrejka 2017-05-24 08:14:13 EDT
Description of problem:

When publishing a new version of a content view via UI, a box pops up saying:

undefined method `default_capsule?' for true:TrueClass

See attached screenshot. Production log attached.

How reproducible:
Does not occur on the initial publish of a CV, only when publishing a new version

Steps to Reproduce:
1. create a CV, add some repository, publish a cv
2. optionally add another repo and publish a new verison of a cv

Checking or unchecking "Force Yum Metadata Regeneration" has no effect on this (btw. the question mark next to the option shows no context help)

Actual results:
error

Expected results:
cv should publish successfully

Additional info:

Occurs only if the original cv has some repository enabled, empty cv can be published multiple times without complications.
Comment 1 Peter Ondrejka 2017-05-24 08:14 EDT
Created attachment 1281942 [details]
prodlog
Comment 2 Peter Ondrejka 2017-05-24 08:15 EDT
Created attachment 1281943 [details]
screenshot
Comment 3 Evgeni Golov 2017-05-24 09:06:55 EDT
I wonder if this is a "dupe" of https://bugzilla.redhat.com/show_bug.cgi?id=1455035
Same error, just other place where it happens.
Comment 4 Roman Plevka 2017-05-24 09:27:06 EDT
This actually happens on updating Repositorties.

e.g. updating repository download policy.
# hammer repository update --id 1 --download-policy background
Comment 5 Brad Buckingham 2017-05-24 09:56:58 EDT
Looking at the code, this one may have also been introduced by bug 1375075.  Justin, can you take a look?
Comment 8 Justin Sherrill 2017-05-24 17:01:11 EDT
*** Bug 1455035 has been marked as a duplicate of this bug. ***
Comment 9 Roman Plevka 2017-05-29 06:39:14 EDT
VERIFIED
this has been fixed in 6.2.10-2
Comment 11 errata-xmlrpc 2017-06-20 13:24:11 EDT
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/RHBA-2017:1553

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