Page MenuHomePhabricator

Unified way to reset persistence data
Closed, WontfixPublic

Description

At the moment, persistence data is stored at different file locations depending on the persistence mechanism that was used (e.g. Qt settings, BlueBerry persistence or the MITK persistence module). This makes it hard to reset the data when an error occurs during loading of the persistence data and might block a start of the application.

A unified easy way to reset this data would be very helpful.

Event Timeline

without driving anything into a preferred direction: the persistence module could do the job because it has no dependencies than MitkCore and TinyXML. Of course the service class would have to be instructed by some "upper" instance to clean the data on startup by means of a command line option

I found out that we save persistence data in:

(for linux)
$HOME/.config/DKFZ
$HOME/.config/MITK US

Here is a general guide where Qt is saving settings per default:
http://qt-project.org/doc/qt-4.8/qsettings.html#locations-where-application-settings-are-stored

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.