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/07/10 17:23:05 UTC

[jira] Created: (TUSCANY-1421) XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"

XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"
-----------------------------------------------------------------------------------

                 Key: TUSCANY-1421
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1421
             Project: Tuscany
          Issue Type: Bug
            Reporter: Kelvin Goodson


There's an issue reported on the user list ...
http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200707.mbox/%3c0BAEFFA7AFADFD4497F50DD093687E07043D9D7B@melmbxw01.prod.quest.corp%3e
which relates to a some missing logic in XMLDocumentImpl's save method

The precondition for hitting this issue is when the data object is the root data object of a DataGraph.  In this case the eContainer of the root object is null,  but the root object is contained in a resource.  We need to replicate the unhooking and replacing behaviour that exists for the container of the data object for the case where the data object is directly contained in a resource.

-- 
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


[jira] Updated: (TUSCANY-1421) XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1421:
------------------------------------

    Fix Version/s: Java-SDO-1.0

> XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"
> -----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1421
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1421
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-beta1
>            Reporter: Kelvin Goodson
>             Fix For: Java-SDO-1.0
>
>
> There's an issue reported on the user list ...
> http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200707.mbox/%3c0BAEFFA7AFADFD4497F50DD093687E07043D9D7B@melmbxw01.prod.quest.corp%3e
> which relates to a some missing logic in XMLDocumentImpl's save method
> The precondition for hitting this issue is when the data object is the root data object of a DataGraph.  In this case the eContainer of the root object is null,  but the root object is contained in a resource.  We need to replicate the unhooking and replacing behaviour that exists for the container of the data object for the case where the data object is directly contained in a resource.

-- 
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


[jira] Updated: (TUSCANY-1421) XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1421:
------------------------------------

          Component/s: Java SDO Implementation
    Affects Version/s: Java-SDO-beta1

> XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"
> -----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1421
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1421
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-beta1
>            Reporter: Kelvin Goodson
>
> There's an issue reported on the user list ...
> http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200707.mbox/%3c0BAEFFA7AFADFD4497F50DD093687E07043D9D7B@melmbxw01.prod.quest.corp%3e
> which relates to a some missing logic in XMLDocumentImpl's save method
> The precondition for hitting this issue is when the data object is the root data object of a DataGraph.  In this case the eContainer of the root object is null,  but the root object is contained in a resource.  We need to replicate the unhooking and replacing behaviour that exists for the container of the data object for the case where the data object is directly contained in a resource.

-- 
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


[jira] Commented: (TUSCANY-1421) XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"

Posted by "Boris Ilyushonak (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541306 ] 

Boris Ilyushonak commented on TUSCANY-1421:
-------------------------------------------

Issue fixed but not included in release, accesed by the 
http://people.apache.org/dist/incubator/tuscany/java/sdo/1.0-incubating/apache-tuscany-sdo-1.0-incubating.zip

To solve it I just replace the 
impl/src/main/java/org/apache/tuscany/sdo/helper/XMLDocumentImpl.java
to latest version: 
https://svn.apache.org/repos/asf/incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XMLDocumentImpl.java

and rebuild

it is strange, that the issue noted in "RELEASE_NOTES"


> XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"
> -----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1421
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1421
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-beta1
>            Reporter: Kelvin Goodson
>             Fix For: Java-SDO-1.0
>
>
> There's an issue reported on the user list ...
> http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200707.mbox/%3c0BAEFFA7AFADFD4497F50DD093687E07043D9D7B@melmbxw01.prod.quest.corp%3e
> which relates to a some missing logic in XMLDocumentImpl's save method
> The precondition for hitting this issue is when the data object is the root data object of a DataGraph.  In this case the eContainer of the root object is null,  but the root object is contained in a resource.  We need to replicate the unhooking and replacing behaviour that exists for the container of the data object for the case where the data object is directly contained in a resource.

-- 
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


[jira] Resolved: (TUSCANY-1421) XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Budinsky resolved TUSCANY-1421.
-------------------------------------

    Resolution: Fixed

Fixed in revision 556147.

> XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"
> -----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1421
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1421
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-beta1
>            Reporter: Kelvin Goodson
>
> There's an issue reported on the user list ...
> http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200707.mbox/%3c0BAEFFA7AFADFD4497F50DD093687E07043D9D7B@melmbxw01.prod.quest.corp%3e
> which relates to a some missing logic in XMLDocumentImpl's save method
> The precondition for hitting this issue is when the data object is the root data object of a DataGraph.  In this case the eContainer of the root object is null,  but the root object is contained in a resource.  We need to replicate the unhooking and replacing behaviour that exists for the container of the data object for the case where the data object is directly contained in a resource.

-- 
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