changeset 5085:79f98ee4f04b attach-custom-data

cosmetic
author Alain Mazy <am@osimis.io>
date Thu, 15 Sep 2022 18:13:17 +0200
parents 9770d537880d
children
files OrthancServer/Plugins/Samples/AdvancedStorage/Plugin.cpp OrthancServer/Sources/Database/InstallRevisionAndCustomData.sql TODO
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/AdvancedStorage/Plugin.cpp	Thu Sep 15 09:02:07 2022 +0200
+++ b/OrthancServer/Plugins/Samples/AdvancedStorage/Plugin.cpp	Thu Sep 15 18:13:17 2022 +0200
@@ -613,7 +613,7 @@
 
       if (!rootPath_.is_absolute())
       {
-        LOG(ERROR) << "AdvancedStorage - Path to the default storage area should be an absolute path";
+        LOG(ERROR) << "AdvancedStorage - Path to the default storage area should be an absolute path '" << rootPath_ << "'";
         return -1;
       }
 
--- a/OrthancServer/Sources/Database/InstallRevisionAndCustomData.sql	Thu Sep 15 09:02:07 2022 +0200
+++ b/OrthancServer/Sources/Database/InstallRevisionAndCustomData.sql	Thu Sep 15 18:13:17 2022 +0200
@@ -19,7 +19,7 @@
 
 
 --
--- This SQLite script updates the version of the Orthanc database from 6 to 7.
+-- This SQLite script installs revision and customData without changing the Orthanc database version
 --
 
 -- Add new columns for revision
--- a/TODO	Thu Sep 15 09:02:07 2022 +0200
+++ b/TODO	Thu Sep 15 18:13:17 2022 +0200
@@ -11,6 +11,7 @@
   - generate path from tags from resource (CreateAttachment)
   - add an instanceId or parentSeriesId arg in CreateInstance ? 
   - implement a 'legacy' root path to group all files with missing tags or path too long
+  - avoid error AdvancedStorage - Path to the default storage area should be an absolute path '"OrthancStorage"' when using PG and no StorageDirectory has been defined
   - document that, once you have used the AdvancedStoragePlugin and stored DICOM files, you can not downgrade Orthanc to a previous Orthanc
     without loosing access to the DICOM files
   - write integration test for advanced-storage: