[Bug 482] New: Corba's createMethodAny and createCommandAny methods broken

For more infomation about this bug, visit
Summary: Corba's createMethodAny and createCommandAny methods
broken
Product: RTT
Version: 1.4.0
Platform: All
OS/Version: All
Status: ASSIGNED
Severity: normal
Priority: P2
Component: Corba
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Since RTT 1.4.0 the createMethodAny and createCommandAny functions do no longer
work and return an unknown type exception. The Corba cleanup between 1.2 and
1.4 was a bit to rough, and broke these functions. A patch is in the works.

[Bug 482] Corba's createMethodAny and createCommandAny methods b

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED

--- Comment #3 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-01-17 13:24:15 ---
Applied on trunk/rtt

$ svn ci src/ tests/ -m"Fix bug #482: Corba's createMethodAny and
createCommandAny methods broken.
Tested and applied patch. Adds a unit test for corba a well."
Adding src/corba/AnyDataSource.cpp
Adding src/corba/AnyDataSource.hpp
Sending src/corba/CorbaTemplateProtocol.hpp
Sending src/corba/OperationInterfaceI.cpp
Sending src/corba/OperationsI.cpp
Sending src/corba/OperationsI.h
Sending tests/CMakeLists.txt
Adding tests/corba_test.cpp
Adding tests/corba_test.hpp
Transmitting file data .........
Committed revision 28833.

[Bug 482] Corba's createMethodAny and createCommandAny methods b

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Attachment #185 is|0 |1
obsolete| |

--- Comment #2 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-01-11 13:16:53 ---
Created an attachment (id=201)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=201)
Improved version, did not fix executeAny() call.

The unit test of the previous patch did not test the executeAny() function,
which was still bugged. This patch fixes that call as well.

[Bug 482] Corba's createMethodAny and createCommandAny methods b

For more infomation about this bug, visit

--- Comment #1 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-01-10 12:40:09 ---
Created an attachment (id=185)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=185)
Fixes this issue and adds a unit-test 'corba-test'

You need to enable CORBA in cmake in order to compile and test this code.
An old class 'AnyDataSource' was accidentally removed during a cleanup and has
been rewritten.

The unit test tests remote methods for zero upto 4 arguments
(int,double,bool,string)