View Issue Details

IDProjectCategoryView StatusLast Update
0003590Slicer4Core: MRMLpublic2014-02-26 06:18
ReporterfinetjulAssigned Toalexy 
PrioritynormalSeverityminorReproducibilitysometimes
Status assignedResolutionopen 
Product VersionSlicer 4.3.1-2 
Target VersionFixed in Version 
Summary0003590: Storage node should be created when needed
Description

Right now, to save a node, it needs a storage node. It is currently done in the Save Data Dialog.
https://github.com/Slicer/Slicer/blob/master/Base/QTGUI/qSlicerSaveDataDialog.cxx#L484

However, when requesting a node to be saved programmatically (C++ / Python) directly via the ioManager (using dialogs or not), the storage node is not created which silently fail to be saved.

TagsNo tags attached.

Activities

pieper

pieper

2014-02-26 05:55

administrator   ~0010646

Can this operation be moved from the dialog into a mrml logic class? Creating a default storage node and adding it to the scene seems like a common operation.

https://github.com/Slicer/Slicer/blob/master/Base/QTGUI/qSlicerSaveDataDialog.cxx#L484

finetjul

finetjul

2014-02-26 06:18

administrator   ~0010647

I think it should be moved. Maybe we need to create a vtkMRMLStorageLogic.

Issue History

Date Modified Username Field Change
2014-02-14 10:23 finetjul New Issue
2014-02-14 10:23 finetjul Status new => assigned
2014-02-14 10:23 finetjul Assigned To => alexy
2014-02-26 05:55 pieper Note Added: 0010646
2014-02-26 06:18 finetjul Note Added: 0010647