View Issue Details

IDProjectCategoryView StatusLast Update
0000367Slicer3MRMLpublic2008-12-04 03:49
Reportersinkpoint Assigned Topieper  
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Summary0000367: scene save generates not well formed xml
Description

Often when saving a scene, some attributes are written with no space separation. This prevents the scene file from being properly reloaded again. Depending on the build, it'll either crash/freeze Slicer or cause incorrect loads.

In particular, for the element <DiffusionTensorVolume>, the attributes baselineNodeRef and maskNodeRef are appended with no space separation. Resulting in a line that looks something like:

<DiffusionTensorVolume ... order="2"baselineNodeRef="..."maskNodeRef="..."></DiffusionTensorVolume>

Additional Information

build: Slicer3-3.3-alpha-2008-11-23-linux-x86_64

TagsNo tags attached.

Activities

sinkpoint

sinkpoint

2008-11-28 07:12

reporter   ~0000473

I've also found that Slicer 3.3 alpha generally crashes to desktop once the space separators are added to the baselineNodeRef and maskNodeRef attributes.
However 3.2 loads the scene.

If I remove these attributes however 3.3 alpha would load the scene file fine.

pieper

pieper

2008-12-03 08:46

administrator   ~0000481

Good catch - thanks. I just committed a fix for this.

Issue History

Date Modified Username Field Change
2008-11-28 07:02 sinkpoint New Issue
2008-11-28 07:12 sinkpoint Note Added: 0000473
2008-12-03 08:46 pieper Note Added: 0000481
2008-12-04 03:49 pieper Assigned To => pieper
2008-12-04 03:49 pieper Status new => closed
2008-12-04 03:49 pieper Resolution open => fixed