Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-1102 Review links implementation
  3. TVB-1146

When exporting a Project, include also Linked DataTypes.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Component/s: TVB Framework
    • Labels:
      None
    • Sprint:
      Sprint 12

      Description

      • In dao a new method should be added to gather all DataType.gid linked to current project to be exported
      • in export_manager.export_project code should be added to handle export of linked datatypes;
        A "fake" TVBImport operation.xml should be added in the exported ZIP for current project
        Iterate over the set of linked DataType.gid retrieved with method at step 1 and add every H5 file associated with that DataType
      • check that the import of links is correct
      • in importer_service at least we should make sure:
      • when one DataType/Operation from the currently imported project can not be imported, do fail the entire import
      • when a DataType.GID is found duplicate (already being in any of of projects), create a link towards that, instead of throwing an exception

        Attachments

          Activity

            People

            • Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              lia.domide Lia Domide
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours
                2d 4h