Public bug reported:

Binary package hint: python-omniorb2

Using python-omniorb2 3.2-1, omniidl4-python 3.2-1 on Hardy.

I have a CORBA method get_number() that returns a struct having an enum as a 
field; and a method set_number() that accepts the same structure as a parameter.
If I call get_number(), then deepcopy the return value and try set_number() 
with this copy, I get  CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, 
CORBA.COMPLETED_NO).

If I use copy.copy() instead of copy.deepcopy(), no problem.

The testcase is in the attachment.

** Affects: python-omniorb2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
WrongPythonType when deepcopy-ing a CORBA structure (omniorb)
https://bugs.launchpad.net/bugs/224108
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to