View Issue Details

IDProjectCategoryView StatusLast Update
0002416Slicer4Core: MRMLpublic2017-06-07 23:27
Reporterfinetjul Assigned Tojcfr  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionSlicer 4.1.1 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002416: Temporary path should be accessible from MRML
Description

Currently there is no way to get the temporary directory from MRML logics (only in qSlicerApplication()->temporaryPath())
In Slicer3 it is in vtkSlicerApplication.

Additional Information

Annotations and EMSegment logics must be updated

TagsNo tags attached.

Relationships

parent of 0001937 closedjcfr Remove Qt dependency from vtkMRMLAnnotationsLogic 
related to 0003232 assignedjcfr Centralize slicer wiki url 

Activities

finetjul

finetjul

2013-07-09 09:22

administrator   ~0008964

Maybe vtkMRMLApplicationLogic could have a "TemporaryPath" variable that is initialized by qSlicerCoreApplication when instantiated.

yuzheng

yuzheng

2013-07-16 12:14

developer   ~0009090

Last edited: 2013-07-17 09:07

Added TemporaryPath in vtkMRMLApplicationLogic, also updated Annotations logic must be updated, but EMSegment logic is not touched.

Topic pushed to: https://github.com/yuzhengZ/Slicer/commit/ca5cf03fd528fc678eab6b4e3a5fba541e45938b

yuzheng

yuzheng

2013-07-17 11:26

developer   ~0009104

Updated code https://github.com/yuzhengZ/Slicer/commit/53ed52c0cdd60a5299bb04d2c56b214b27d5a6d8

jcfr

jcfr

2013-07-22 07:29

administrator   ~0009162

See https://github.com/yuzhengZ/Slicer/commit/53ed52c0cdd60a5299bb04d2c56b214b27d5a6d8#commitcomment-3687192

std::string can't be constructed using a null string.

yuzheng

yuzheng

2013-07-22 10:34

developer   ~0009163

Fixed the bug here: https://github.com/yuzhengZ/Slicer/commit/94f87130a556edf65075d5fd3277a053ade6e450

jcfr

jcfr

2013-07-22 12:39

administrator   ~0009165

Fixed in r22229
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22229

jcfr

jcfr

2014-03-06 05:18

administrator   ~0011132

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

jcfr

jcfr

2017-06-07 23:27

administrator   ~0014629

Fix committed to 2145-support-for-installing-extension-from-file branch.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file b1f03984

2013-07-22 16:39:04

jcfr

Details Diff
ENH: Allow temporary directory to be accessible in MRML logics.

TemporaryPath is added to vtkMRMLApplicationLogic, so that the temporary directory can be directly accessible from MRML logics.

Also add associated tests

Fixes 0002416

From: Yuzheng Zhou <yuzheng.zhou@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22229 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/qSlicerCoreApplication.cxx Diff File
mod - Libs/MRML/Logic/Testing/Cxx/CMakeLists.txt Diff File
add - Libs/MRML/Logic/Testing/Cxx/vtkMRMLApplicationLogicTest1.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLApplicationLogic.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLApplicationLogic.h Diff File
mod - Modules/Loadable/Annotations/Logic/vtkSlicerAnnotationModuleLogic.cxx Diff File

Issue History

Date Modified Username Field Change
2012-08-20 12:31 finetjul New Issue
2012-08-20 12:31 finetjul Status new => assigned
2012-08-20 12:31 finetjul Assigned To => jcfr
2012-08-20 12:32 finetjul Relationship added parent of 0001937
2012-08-21 09:40 jcfr Target Version Slicer 4.2.5 => Slicer 4.3.0
2013-07-09 09:22 finetjul Note Added: 0008964
2013-07-09 09:23 finetjul Relationship deleted parent of 0001937
2013-07-09 09:23 finetjul Relationship added parent of 0001937
2013-07-11 09:18 jcfr Assigned To jcfr => yuzheng
2013-07-16 12:14 yuzheng Note Added: 0009090
2013-07-17 07:28 yuzheng Note Edited: 0009090
2013-07-17 08:35 yuzheng Note Edited: 0009090
2013-07-17 09:00 yuzheng Note Edited: 0009090
2013-07-17 09:07 yuzheng Note Edited: 0009090
2013-07-17 09:09 yuzheng Status assigned => resolved
2013-07-17 09:36 jcfr Status resolved => assigned
2013-07-17 11:26 yuzheng Note Added: 0009104
2013-07-17 11:26 yuzheng Status assigned => resolved
2013-07-17 15:51 finetjul Relationship added related to 0003232
2013-07-22 07:29 jcfr Note Added: 0009162
2013-07-22 07:29 jcfr Status resolved => assigned
2013-07-22 10:34 yuzheng Note Added: 0009163
2013-07-22 12:39 jcfr Note Added: 0009165
2013-07-22 12:39 jcfr Status assigned => resolved
2013-07-22 12:39 jcfr Fixed in Version => Slicer 4.3.0
2013-07-22 12:39 jcfr Resolution open => fixed
2014-03-06 05:18 jcfr Note Added: 0011132
2014-03-06 05:19 jcfr Status resolved => closed
2017-06-07 23:27 jcfr Changeset attached => Slicer 2145-support-for-installing-extension-from-file b1f03984
2017-06-07 23:27 jcfr Note Added: 0014629
2017-06-07 23:27 jcfr Assigned To yuzheng => jcfr