Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2201 Upgrade to Hibernate 3.3
  3. LDEV-2202

Write a filter for XML files exported using old Hibernate version

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: Author
    • Labels:
      None

      Description

      While exporting Learning Designs, an XML file with serialized Activity classes is created. This includes Hibernate Collections. For example Q&A contains Questions, which are stored as Hibernate Collection elements.
      After upgrading to a new Hibernate version these XML files become unreadable as Collection classes are different. They can not be deserialized anymore. We need to write a filter that will convert the previously created XML files into readable versions for new Hibernate. This will most probably involve extracting important data from a XML file and feeding it to a new XML structure, which is compatible with the new Hibernate version.

      Another approach which involves usage of old Hibernate classes for importing is also considered.

        Activity

        marcin Marcin Cieslak created issue -
        ernieg Ernie Ghiglione made changes -
        Field Original Value New Value
        Fix Version/s 2.4 [ 10110 ]
        Fix Version/s 2.3 [ 10090 ]
        Affects Version/s 2.3 [ 10090 ]
        Affects Version/s 2.4 [ 10110 ]
        marcin Marcin Cieslak made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        ernieg Ernie Ghiglione made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            marcin Marcin Cieslak
            Reporter:
            marcin Marcin Cieslak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development