# HG changeset patch # User Sebastien Jodogne # Date 1599060861 -7200 # Node ID 067c679626a2a93d8a3764b43af9e6b285c199b5 # Parent 24759c286b5ee5ec3f40fbe227e572206a8009d4 Fix transcoding in C-MOVE SCP, in the case where "SynchronousCMove" is "true" diff -r 24759c286b5e -r 067c679626a2 NEWS --- a/NEWS Wed Sep 02 14:48:24 2020 +0200 +++ b/NEWS Wed Sep 02 17:34:21 2020 +0200 @@ -6,6 +6,7 @@ * Underscores are now allowed in peers/modalities symbolic names * Fix compatibility with C-MOVE SCU requests issued by Ambra +* Fix transcoding in C-MOVE SCP, in the case where "SynchronousCMove" is "true" Version 1.7.3 (2020-08-24) diff -r 24759c286b5e -r 067c679626a2 OrthancServer/Sources/OrthancMoveRequestHandler.cpp --- a/OrthancServer/Sources/OrthancMoveRequestHandler.cpp Wed Sep 02 14:48:24 2020 +0200 +++ b/OrthancServer/Sources/OrthancMoveRequestHandler.cpp Wed Sep 02 17:34:21 2020 +0200 @@ -119,10 +119,8 @@ } std::string sopClassUid, sopInstanceUid; // Unused - - const void* data = dicom.empty() ? NULL : dicom.c_str(); - connection_->Store(sopClassUid, sopInstanceUid, data, dicom.size(), - true, originatorAet_, originatorId_); + context_.StoreWithTranscoding(sopClassUid, sopInstanceUid, *connection_, dicom, + true, originatorAet_, originatorId_); return Status_Success; }