View Issue Details

IDProjectCategoryView StatusLast Update
0004650Slicer4Core: MRMLpublic2018-11-02 22:27
ReporterjcfrAssigned Topinter 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product VersionSlicer 4.11.0 
Target VersionSlicer 4.11.0Fixed in Version 
Summary0004650: vtkMRMLSubjectHierarchyNode: Use of StartModify / EndModify leads to warnings.
Description

Use of StartModify / EndModify leads to warnings.

Observed using Slicer r27534

Steps To Reproduce

Executing the following:

shNode = slicer.vtkMRMLSubjectHierarchyNode.GetSubjectHierarchyNode(slicer.mrmlScene)

wasModifying = shNode.StartModify()
patientItemID = shNode.CreateSubjectItem(shNode.GetSceneItemID(), 'Patient 1')
shNode.EndModify(wasModifying)

reports the following warnings

virtual double qSlicerSubjectHierarchyFolderPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Input item is invalid!
virtual double qSlicerSubjectHierarchyChartsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
GetItemDataNode: Failed to find subject hierarchy item by ID 0

virtual double qSlicerSubjectHierarchyVolumesPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyLabelMapsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyDiffusionTensorVolumesPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyDICOMPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyMarkupsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyModelsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchySegmentationsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchySegmentsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyPlotsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchySceneViewsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyTablesPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyTransformsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
SetItemOwnerPluginName: Failed to find subject hierarchy item by ID 0

GetItemPositionUnderParent: Failed to find subject hierarchy item by ID 0

GetItemParent: Failed to find subject hierarchy item by ID 0

virtual QStandardItem* qMRMLSubjectHierarchyModelPrivate::insertSubjectHierarchyItem(vtkIdType, int) : Unable to get parent for subject hierarchy item with ID  0
virtual double qSlicerSubjectHierarchyFolderPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Input item is invalid!
virtual double qSlicerSubjectHierarchyChartsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
GetItemDataNode: Failed to find subject hierarchy item by ID 0

virtual double qSlicerSubjectHierarchyVolumesPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyLabelMapsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyDiffusionTensorVolumesPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyDICOMPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyMarkupsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyModelsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchySegmentationsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchySegmentsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyPlotsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchySceneViewsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyTablesPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
virtual double qSlicerSubjectHierarchyTransformsPlugin::canOwnSubjectHierarchyItem(vtkIdType) const : Invalid input item
SetItemOwnerPluginName: Failed to find subject hierarchy item by ID 0

3
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-11-02 22:27 jcfr New Issue
2018-11-02 22:27 jcfr Status new => assigned
2018-11-02 22:27 jcfr Assigned To => pinter