[Bug 527] New: Can not connect ports using only IDL interface

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=527>

           Summary: Can not connect ports using only IDL interface
           Product: RTT
           Version: 1.4.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Corba
        AssignedTo: orocos-dev [..] 
        ReportedBy: peter soetens [..] 
                CC: orocos-dev [..] 
   Estimated Hours: 0.0

Created an attachment (id=249)

 --> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=249)

adds idl methods for connecting ports

The ControlTask.idl file does not have the connectPorts() function,
to connect all ports of two components.
Also, there are no IDL functions to connect two data or buffer ports
from the DataFlowInterface idl.

The work-around is using ControlTaskServer and ControlTaskProxy, but the patch
in attachment tries to fix this issue correctly.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

[Bug 527] Can not connect ports using only IDL interface

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=527>

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

           What    |Removed                     |Added
 --------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|orocos-                     |peter soetens [..] 
                   |dev [..]   |
 Attachment #249 is|0                           |1
           obsolete|                            |
--- Comment #1 from Peter Soetens <peter soetens [..] >  2008-03-17 10:17:22 ---

Created an attachment (id=250)

 --> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=250)

Fixes typo in previous patch

[Bug 527] Can not connect ports using only IDL interface

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=527>

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

           What    |Removed                     |Added
 --------------------------------------------------------------------------
   Target Milestone|---                         |1.6.0
--- Comment #2 from Peter Soetens <peter soetens [..] >  2008-03-17 10:48:24 ---

Committed on trunk/rtt:

$ svn ci src/corba/ -m"Fix bug #527: Can not connect ports using only IDL
interface. Patch applied but requires unit tests."
Sending src/corba/ControlTask.idl
Sending src/corba/ControlTaskI.cpp
Sending src/corba/ControlTaskI.h
Sending src/corba/CorbaPort.hpp
Sending src/corba/DataFlow.idl
Sending src/corba/DataFlowI.cpp
Sending src/corba/DataFlowI.h
Transmitting file data .......
Committed revision 29069.

[Bug 527] Can not connect ports using only IDL interface

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=527>

--- Comment #3 from Peter Soetens <peter soetens [..] >  2008-03-17 13:55:06 ---

This additional patch fixes some possible null-pointer crashes. Applied on
trunk.

TeX Embedding failed! svn ci corba/ -m"Fix crash when ci is null in createBuffer/DataPort."
Sending corba/DataFlowI.cpp
Transmitting file data .
Committed revision 29073.

[Bug 527] Can not connect ports using only IDL interface

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=527>

--- Comment #4 from Peter Soetens <peter soetens [..] >  2008-03-17 14:55:00 ---

OMG !

TeX Embedding failed! svn ci src/corba -m"Fix for bug #527: Can not connect ports using only IDL
interface. CorbaPort did not implement serverProtocol, hence, the
ConnectionFactory thought it was a local port."
Sending src/corba/CorbaPort.hpp
Transmitting file data .
Committed revision 29075.

[Bug 527] Can not connect ports using only IDL interface

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=527>

--- Comment #5 from Peter Soetens <peter soetens [..] >  2008-03-17 15:05:42 ---

For the record, this bug was initiated, traced and fixed by Sylvain Joyeux.

[Bug 527] Can not connect ports using only IDL interface

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=527>

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

           What    |Removed                     |Added
 --------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
--- Comment #6 from Peter Soetens <peter soetens [..] >  2008-04-15 23:11:35 ---

This CORBA bug has been fixed and code was improved in fixes for bug #532.