[ 
https://issues.apache.org/jira/browse/TUSCANY-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470378
 ] 

Yang ZHONG commented on TUSCANY-1095:
-------------------------------------

The problem does exist. The model shouldn't have been containment. I'll 
prototype a fix.

> "baseType" properties on DataObjects are using the wrong base EMF list class
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-1095
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1095
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SCA-M3, Java-SCA-Mx, Java-SDO-Mx
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-Mx
>
>
> There is a problem when setting the "baseType" property on a DataObject.  
> Specifically, if a new Type is being dynamically created, when a parent type 
> is specified in the "baseType" property, upon setting that property, the 
> parent type is taken out of the ePackage to which it belongs.  It seems the 
> list type being used checks for containment.  That should not be a 
> consideration in this case.  I'll attach a sample of code demonstrate this 
> behavior.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to