Bug 1395956

Summary: Unexpected warnings are output when calling appliance_console
Product: Red Hat CloudForms Management Engine Reporter: Chen <cchen>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED WONTFIX QA Contact: Jaroslav Henner <jhenner>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: abellott, dajohnso, gtanzill, jfrey, jhardy, jhenner, lcouzens, ngupta, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: black
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-20 11:54:53 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:

Description Chen 2016-11-17 03:38:52 UTC
Description of problem:

Unexpected warnings are output when calling appliance_console

Version-Release number of selected component (if applicable):

5.6.1.2-20160810181333_8ba817b

How reproducible:

100%

Steps to Reproduce:
1. ssh to CFME and then call appliance_console 
2.
3.

Actual results:

The following warnings are output

/opt/rh/cfme-gemset/gems/activesupport-5.0.0/lib/active_support/core_ext/object/blank.rb:100: warning: already initialized constant String::BLANK_RE
/opt/rh/cfme-gemset/gems/more_core_extensions-3.0.0/lib/more_core_extensions/core_ext/object/blank.rb:105: warning: previous definition of BLANK_RE was here


Expected results:

No warnings should be output

Additional info:

Comment 5 Jason Frey 2016-11-23 18:16:11 UTC
This is a bug with more_core_extensions, IMO. We are overwriting the BLANK_RE when we shouldn't. Let's fix it properly over there. Then here on 5.6 we can just bump the version of more_core_extensions.

It feels like we are not properly checking for an existing implementation of `blank?` method which can come from activesupport.

Comment 6 luke couzens 2017-03-02 15:56:12 UTC
*** Bug 1427480 has been marked as a duplicate of this bug. ***

Comment 8 Josh Carter 2018-09-20 11:54:53 UTC
Bug Closure

Dear customer, 

The CloudForms team is reviewing the current CloudForms Bug(defect) backlog in order to target engineering efforts. We are closing any bugs for versions that no longer have an active errata stream or that have hit their age limit. We are committing to better management of the backlog as we move forward. If you have an bug that you are still able to reproduce on a current version of CloudForms please open a new bug. 

If you have any concerns about this, please let us know.

Thanks and regards!