changeset 7008:92129a48a9e6

/system & IngestTranscoding: keep backward compat
author Alain Mazy <am@orthanc.team>
date Tue, 07 Jul 2026 11:23:45 +0200
parents 4c8f52f67af0
children b4fb63a96650
files OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp	Tue Jul 07 10:32:47 2026 +0200
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp	Tue Jul 07 11:23:45 2026 +0200
@@ -178,6 +178,10 @@
       {
         result[ORTHANC_CONFIG_INGEST_TRANSCODING] = GetTransferSyntaxUid(ingestTransferSyntax); // New in Orthanc 1.11.0
       }
+      else
+      {
+        result[ORTHANC_CONFIG_INGEST_TRANSCODING] = "";
+      }
 
       result[ORTHANC_CONFIG_DATABASE_SERVER_IDENTIFIER] = lock.GetConfiguration().GetDatabaseServerIdentifier();
       result[ORTHANC_CONFIG_MAXIMUM_STORAGE_SIZE] = lock.GetConfiguration().GetMaximumStorageSize(); // New in Orthanc 1.11.3