Bug 1212428 - [SOAP] Some of the listing methods raise: Server raised fault: 'undefined method `downcase' for nil:NilClass'
Summary: [SOAP] Some of the listing methods raise: Server raised fault: 'undefined met...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.4.0
Assignee: Milan Falešník
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-16 11:51 UTC by Milan Falešník
Modified: 2015-06-16 12:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:58:42 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Comment 2 abellott 2015-04-17 20:44:55 UTC
These SOAP API's require usually either an emsGuid or hostGuid to operate as per the wsdl, if you want all returned, specifying * as an emsGuid or hostGuid would work.

Tested with SoapUI on 5.4 latest build.

Comment 3 CFME Bot 2015-04-20 13:43:00 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/30bba7beb8c077e7cd0b1a8f36927c4cc789c47e

commit 30bba7beb8c077e7cd0b1a8f36927c4cc789c47e
Author:     Milan Falešník <mfalesni>
AuthorDate: Mon Apr 20 09:57:12 2015 +0200
Commit:     Milan Falešník <mfalesni>
CommitDate: Mon Apr 20 09:57:12 2015 +0200

    SOAP - count with default param not specified
    
    The underlying method getKlassList/getKlassListbyId counts with default parentGuid but the calling methods always pass something, even if it is nil. This should make the behaviour the same as in the EVM_vm_list which converts the nil to empty string and then matches it, so it will return * by default.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1212428

 vmdb/app/apis/vmdbws_ops.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 4 abellott 2015-05-04 16:06:09 UTC
looks like already fixed by Milan. Reassigning/Setting state/.

Comment 5 Milan Falešník 2015-05-12 11:57:25 UTC
Verified working in 5.4.0.0.26

Comment 8 errata-xmlrpc 2015-06-16 12:58:42 UTC
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://rhn.redhat.com/errata/RHBA-2015-1100.html


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