You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Caroline Maynard (JIRA)" <tu...@ws.apache.org> on 2006/11/28 14:20:21 UTC

[jira] Created: (TUSCANY-950) CopyHelper::copy() forgets sequence information

CopyHelper::copy() forgets sequence information
-----------------------------------------------

                 Key: TUSCANY-950
                 URL: http://issues.apache.org/jira/browse/TUSCANY-950
             Project: Tuscany
          Issue Type: Bug
          Components: C++ SDO
    Affects Versions: Cpp-current
            Reporter: Caroline Maynard


An SDO for PHP user has reported the following at http://pecl.php.net/bugs/bug.php?id=9487

He is using CopyHelper::copy() to copy a seqenced data object. The properties are copied OK, but the unstructured text is forgotten.  So when I inspect the copied DataObject, its properties have the same values as the original. But if I do a getSequence() on it, I get a Sequence object which is empty. That is, neither its properties nor its unstructured text are set. 

This should be self-explanatory, but I'll create a testcase if you need one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-950) CopyHelper::copy() forgets sequence information

Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-950?page=comments#action_12455599 ] 
            
Pete Robbins commented on TUSCANY-950:
--------------------------------------

Patch applied but this does not cover copying properties defined from xml attributes to the new DO so I'm leaving this open

> CopyHelper::copy() forgets sequence information
> -----------------------------------------------
>
>                 Key: TUSCANY-950
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-950
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>            Reporter: Caroline Maynard
>         Attachments: sdoclone-sequences.txt
>
>
> An SDO for PHP user has reported the following at http://pecl.php.net/bugs/bug.php?id=9487
> He is using CopyHelper::copy() to copy a seqenced data object. The properties are copied OK, but the unstructured text is forgotten.  So when I inspect the copied DataObject, its properties have the same values as the original. But if I do a getSequence() on it, I get a Sequence object which is empty. That is, neither its properties nor its unstructured text are set. 
> This should be self-explanatory, but I'll create a testcase if you need one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-950) CopyHelper::copy() forgets sequence information

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

Caroline Maynard closed TUSCANY-950.
------------------------------------

    Resolution: Fixed

Problem stated has been fixed.

> CopyHelper::copy() forgets sequence information
> -----------------------------------------------
>
>                 Key: TUSCANY-950
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-950
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>            Reporter: Caroline Maynard
>             Fix For: Cpp-M3
>
>         Attachments: sdoclone-sequences.txt
>
>
> An SDO for PHP user has reported the following at http://pecl.php.net/bugs/bug.php?id=9487
> He is using CopyHelper::copy() to copy a seqenced data object. The properties are copied OK, but the unstructured text is forgotten.  So when I inspect the copied DataObject, its properties have the same values as the original. But if I do a getSequence() on it, I get a Sequence object which is empty. That is, neither its properties nor its unstructured text are set. 
> This should be self-explanatory, but I'll create a testcase if you need one.

-- 
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-950) CopyHelper::copy() forgets sequence information

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-950?page=all ]

Simon Laws updated TUSCANY-950:
-------------------------------

    Attachment: sdoclone-sequences.txt

The changes (so far) required to make cloning of sequences work. This change does work with the patch just applied for http://issues.apache.org/jira/browse/TUSCANY-963 so more qork is required but here is where I am up to so far by way of a backup if nothing else. 

Should be applied to runtime/core

> CopyHelper::copy() forgets sequence information
> -----------------------------------------------
>
>                 Key: TUSCANY-950
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-950
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>            Reporter: Caroline Maynard
>         Attachments: sdoclone-sequences.txt
>
>
> An SDO for PHP user has reported the following at http://pecl.php.net/bugs/bug.php?id=9487
> He is using CopyHelper::copy() to copy a seqenced data object. The properties are copied OK, but the unstructured text is forgotten.  So when I inspect the copied DataObject, its properties have the same values as the original. But if I do a getSequence() on it, I get a Sequence object which is empty. That is, neither its properties nor its unstructured text are set. 
> This should be self-explanatory, but I'll create a testcase if you need one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-950) CopyHelper::copy() forgets sequence information

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

Jean-Sebastien Delfino updated TUSCANY-950:
-------------------------------------------

    Patch Info: [Patch Available]

> CopyHelper::copy() forgets sequence information
> -----------------------------------------------
>
>                 Key: TUSCANY-950
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-950
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>            Reporter: Caroline Maynard
>             Fix For: Cpp-M3
>
>         Attachments: sdoclone-sequences.txt
>
>
> An SDO for PHP user has reported the following at http://pecl.php.net/bugs/bug.php?id=9487
> He is using CopyHelper::copy() to copy a seqenced data object. The properties are copied OK, but the unstructured text is forgotten.  So when I inspect the copied DataObject, its properties have the same values as the original. But if I do a getSequence() on it, I get a Sequence object which is empty. That is, neither its properties nor its unstructured text are set. 
> This should be self-explanatory, but I'll create a testcase if you need one.

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