Yoko cannot properly handle valuetypes in modules.
--------------------------------------------------

                 Key: YOKO-340
                 URL: https://issues.apache.org/jira/browse/YOKO-340
             Project: Yoko - CORBA Server
          Issue Type: Bug
          Components: orb core
    Affects Versions: v1.0-incubating-M1
         Environment: Windows XP, JDK 1.5
            Reporter: Eranga Jayasundera
         Attachments: valuetypeIssue.zip

I tried to use DII with Yoko to invoke a CORBA method which returns a 
valuetype. When the valuetype is inside a module, Yoko fails to operate 
correctly. But if the CORBA server uses an ORB implementation other than Yoko 
(eg. JacORB or even the ORB which comes with JDK) everything works perfectly. 
In this situation, Yoko clients can not invoke methods on Yoko servers, but 
Yoko clients can not invoke methods on non-Yoko servers.

This is because private void readHeader(Header h) method of 
org.apache.yoko.orb.OB.ValueReader does not populate the h.ids field (where h 
is the Header object passed to the readHeader method).

I have attached a code sample (valuetypeIssue.zip) to re create this issue. 
Please refer the README file inside valuetypeIssue.zip.

But Yoko properly works with valuetypes which are not inside modules.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to