# HG changeset patch # User Alain Mazy # Date 1595240467 -7200 # Node ID 987cb95c1aeef3ad115eec3c425306d9cdd2066c # Parent 393fcf337462e6829113297eb9a6e317d7325baf Prevent Orthanc to start if plugin fails to start diff -r 393fcf337462 -r 987cb95c1aee Aws/CMakeLists.txt --- a/Aws/CMakeLists.txt Thu Jul 09 10:40:44 2020 +0200 +++ b/Aws/CMakeLists.txt Mon Jul 20 12:21:07 2020 +0200 @@ -9,7 +9,7 @@ include(CheckIncludeFileCXX) set(ORTHANC_FRAMEWORK_SOURCE "hg" CACHE STRING "orthanc source") -set(ORTHANC_FRAMEWORK_VERSION "1.7.0" CACHE STRING "orthanc framework version") +set(ORTHANC_FRAMEWORK_VERSION "7176ebf" CACHE STRING "orthanc framework version") set(ALLOW_DOWNLOADS ON) # Download and setup the Orthanc framework diff -r 393fcf337462 -r 987cb95c1aee Azure/CMakeLists.txt --- a/Azure/CMakeLists.txt Thu Jul 09 10:40:44 2020 +0200 +++ b/Azure/CMakeLists.txt Mon Jul 20 12:21:07 2020 +0200 @@ -7,7 +7,7 @@ include(CheckIncludeFileCXX) set(ORTHANC_FRAMEWORK_SOURCE "hg" CACHE STRING "orthanc source") -set(ORTHANC_FRAMEWORK_VERSION "1.7.0" CACHE STRING "orthanc framework version") +set(ORTHANC_FRAMEWORK_VERSION "7176ebf" CACHE STRING "orthanc framework version") set(ALLOW_DOWNLOADS ON) # Download and setup the Orthanc framework diff -r 393fcf337462 -r 987cb95c1aee Common/StoragePlugin.cpp --- a/Common/StoragePlugin.cpp Thu Jul 09 10:40:44 2020 +0200 +++ b/Common/StoragePlugin.cpp Mon Jul 20 12:21:07 2020 +0200 @@ -189,6 +189,11 @@ plugin.reset(StoragePluginFactory::CreateStoragePlugin(orthancConfig)); + if (plugin.get() == nullptr) + { + return -1; + } + static const char* const ENCRYPTION_SECTION = "StorageEncryption"; if (orthancConfig.IsSection(ENCRYPTION_SECTION)) diff -r 393fcf337462 -r 987cb95c1aee Google/CMakeLists.txt --- a/Google/CMakeLists.txt Thu Jul 09 10:40:44 2020 +0200 +++ b/Google/CMakeLists.txt Mon Jul 20 12:21:07 2020 +0200 @@ -7,7 +7,7 @@ include(CheckIncludeFileCXX) set(ORTHANC_FRAMEWORK_SOURCE "hg" CACHE STRING "orthanc source") -set(ORTHANC_FRAMEWORK_VERSION "1.7.0" CACHE STRING "orthanc framework version") +set(ORTHANC_FRAMEWORK_VERSION "7176ebf" CACHE STRING "orthanc framework version") set(ALLOW_DOWNLOADS ON) # Download and setup the Orthanc framework diff -r 393fcf337462 -r 987cb95c1aee NEWS --- a/NEWS Thu Jul 09 10:40:44 2020 +0200 +++ b/NEWS Mon Jul 20 12:21:07 2020 +0200 @@ -1,6 +1,11 @@ Pending changes in the mainline =============================== +* Prevent Orthanc to start if plugin fails to start + +2020-07-15 - v 0.9.1 +==================== + * AWS: added 3 configurations: Endpoint, ConnectionTimeout, RequestTimeout 2020-07-03 - v 0.9.0