You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/10/09 12:50:51 UTC

[jira] Commented: (TUSCANY-1838) HelperContext provided to createObjectOutputStream is inadvertantly ignored

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

Kelvin Goodson commented on TUSCANY-1838:
-----------------------------------------

I made a fix in http://svn.apache.org/viewvc?rev=583095&view=rev

Could you see if this fixes your issue please?

> HelperContext provided to createObjectOutputStream is inadvertantly ignored
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-1838
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1838
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SDO-1.0
>            Reporter: Kelvin Goodson
>             Fix For: Java-SDO-Next
>
>
> Ron Gavlin reported in http://www.mail-archive.com/tuscany-user@ws.apache.org/msg01884.html an issue with HelperContexts being unavailable during marshalling.  I feel sure that this is due to this piece of code here in HelperProviderBase::ResolvableImpl#writeDataObject
>         XMLHelper xmlHelperLocal = xmlHelper;
>         if(objectOutput instanceof SDOObjectInputStream)
>         {
>             xmlHelperLocal = ((SDOObjectInputStream)objectOutput).getHelperContext().getXMLHelper();
>         }
>         xmlHelperLocal.save(dataObject, "commonj.sdo", "dataObject", gzipOutputStream);
> where the instanceof test and cast should be to SDOObjectOutputStream

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org