View Issue Details

IDProjectCategoryView StatusLast Update
0002429Slicer4Core: GUIpublic2014-03-06 04:58
Reporterlassoan Assigned Tonicole  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.2.1 
Summary0002429: An invalid hierarchy node in the Models module after deleting a model node in the Data module
Description

Deletion of a model node in the Data module confuses the model hierarchies.

Win7, 64-bit, nightly release Slicer 4.1.0-2012-08-18

How to reproduce:

Load MRHead sample
Go to the editor module, draw 6 structures with different colors
Go to the model maker, create a new hierarchy, generate the models
Go to the Data module, delete a model
Go to models module
=>ERROR: instead of the seeing only 5 models, there are 5 models and a "Modelhierarchy_5" node listed under the Models hierarchy node (it seems that the model deleted in the data module has been converted to a model hierarchy node)
Click on the checkbox at the "Modelhierarchy_5" node
=>ERROR: the "Model_2_bone" model jumps into the "Modelhierarchy_5" hierarchy

TagsNo tags attached.

Relationships

related to 0002108 closednicole Crash when deleting a model after deleting its parent hierarchy node 

Activities

nicole

nicole

2012-08-22 13:30

administrator   ~0005735

The right click and delete in the Models module will delete hierarchies nodes associated with model nodes, but the Data module doesn't take this into account. When the tree is in Transform mode, the model hierarchy nodes are hidden, but the Models module shows them.

The vtkMRMLScene has been set up to clean up associated nodes when displayable nodes are deleted, but only storage and display so far I think. Adding a check for a hierarchy node that only points to the node deleted might be prone to errors.

I'm not 100% sure that the Data module should be deleting hierarchy nodes either, especially as they can only been seen when Show Hidden nodes is checked.

lassoan

lassoan

2012-08-22 14:13

developer   ~0005743

Note that I deleted a model node, not a model hierarchy node. Deletion of the model node resulted in the "creation" of a new model hierarchy node (visible in the Model module)

nicole

nicole

2013-07-09 08:24

administrator   ~0008951

The Models module hierarchy looks fine now after deleting a model in the Data module.

jcfr

jcfr

2014-03-06 04:56

administrator   ~0010802

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2012-08-22 11:51 lassoan New Issue
2012-08-22 11:51 lassoan Status new => assigned
2012-08-22 11:51 lassoan Assigned To => kikinis
2012-08-22 11:52 lassoan Relationship added related to 0002108
2012-08-22 13:25 nicole Assigned To kikinis => nicole
2012-08-22 13:30 nicole Note Added: 0005735
2012-08-22 14:13 lassoan Note Added: 0005743
2012-12-08 10:10 jcfr Target Version => Slicer 4.2.3
2013-02-12 09:37 jcfr Target Version Slicer 4.2.3 => Slicer 4.3.0
2013-07-09 08:24 nicole Note Added: 0008951
2013-07-09 08:24 nicole Status assigned => resolved
2013-07-09 08:24 nicole Fixed in Version => Slicer 4.2.1
2013-07-09 08:24 nicole Resolution open => fixed
2014-03-06 04:56 jcfr Note Added: 0010802
2014-03-06 04:58 jcfr Status resolved => closed