Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-950

CopyHelper::copy() forgets sequence information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • C++-SCA-Next
    • Cpp-M3
    • C++ SDO
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. sdoclone-sequences.txt
          17 kB
          Simon Laws

        Activity

          People

            Unassigned Unassigned
            cem Caroline Maynard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: