Bug 670956 - qpid-tool does not support map arguments
Summary: qpid-tool does not support map arguments
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qpid-tools
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Ted Ross
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On: 664941 664943
Blocks: 658828
TreeView+ depends on / blocked
 
Reported: 2011-01-19 18:53 UTC by Perry Myers
Modified: 2011-05-19 14:28 UTC (History)
5 users (show)

Fixed In Version: qpid-tools-0.10-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 664943
Environment:
Last Closed: 2011-05-19 14:28:09 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0774 0 normal SHIPPED_LIVE qpid-tools bug fix update 2011-05-18 18:08:29 UTC

Description Perry Myers 2011-01-19 18:53:16 UTC
+++ This bug was initially created as a clone of Bug #664943 +++

Description of problem:

QMFv2 supports map arguments, however qpid-tool cannot be used to call methods that use them.

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

Upstream 08-rc3 (since F-14 packages don't contain qpid-tool)

How reproducible:

Always

Steps to Reproduce:
1. Call an API method requiring a map argument

Eg.

# qpid-tool localhost:49000
Management Tool for QPID
qpid: list org.matahariproject:resources
Object Summary:
    ID   Created   Destroyed  Index
    =========================================================================
    101  08:52:43  -          org.matahariproject:resources:f13.beekhof.net
qpid: call 101 invoke something ocf heartbeat IPaddr monitor 0 {u'ip':192.168.9.77} 20000

  
Actual results:

qpid: invalid conversion: Cannot convert from string to map (qpid/types/Variant.cpp:546) (7) - {}

Expected results:

The method is called

Additional info:

Comment 1 Ted Ross 2011-03-18 21:32:42 UTC
This has been fixed in the upstream SVN at revision 1076282.  This will be picked up in the package re-base for snapshot 3.

Comment 6 errata-xmlrpc 2011-05-19 14:28:09 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0774.html


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