View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004424 | Slicer4 | Module DICOM | public | 2017-08-25 21:35 | 2017-08-26 20:24 |
Reporter | fedorov | Assigned To | lassoan | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.7.0 | ||||
Target Version | Fixed in Version | ||||
Summary | 0004424: DICOM db directory can be created in non-writeable location when starting Slicer for the first time | ||||
Description | if Slicer is run for the first time, the setting The default to current working directory is in CTK here: https://github.com/commontk/CTK/blob/master/Libs/DICOM/Widgets/ctkDICOMBrowser.cpp#L236-L241 promptForDatabaseDirectory() is called after DICOMWidget is created, so it falls back to default: https://github.com/Slicer/Slicer/blame/master/Modules/Scripted/DICOMLib/DICOMWidgets.py#L81-L84 Inside promptForDatabaseDirectory(), there is no check for DatabaseDirectory setting being None: https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/DICOMLib/DICOMWidgets.py#L504 | ||||
Steps To Reproduce | Remove Slicer settings, start Slicer, check DICOM directory location. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-08-25 21:35 | fedorov | New Issue | |
2017-08-25 21:35 | fedorov | Status | new => assigned |
2017-08-25 21:35 | fedorov | Assigned To | => pieper |
2017-08-25 22:26 | fedorov | Note Added: 0015084 | |
2017-08-26 20:23 | fedorov | Assigned To | pieper => lassoan |
2017-08-26 20:24 | fedorov | Note Added: 0015085 | |
2017-08-26 20:24 | fedorov | Status | assigned => closed |
2017-08-26 20:24 | fedorov | Resolution | open => fixed |