comparison OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 3374:d0d6bd633e4c

Reporting of "ParentResources" in "DicomModalityStore" and "DicomModalityStore" jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 14 May 2019 16:38:02 +0200
parents 872bd3b6ec72
children 962e5f00744b
comparison
equal deleted inserted replaced
3371:fe73717105b6 3374:d0d6bd633e4c
925 { 925 {
926 throw OrthancException(ErrorCode_BadFileFormat, 926 throw OrthancException(ErrorCode_BadFileFormat,
927 "This string is not a valid Orthanc identifier: " + stripped); 927 "This string is not a valid Orthanc identifier: " + stripped);
928 } 928 }
929 929
930 job.AddParentResource(stripped); // New in Orthanc 1.5.7
931
930 context.AddChildInstances(job, stripped); 932 context.AddChildInstances(job, stripped);
931 933
932 if (logExportedResources) 934 if (logExportedResources)
933 { 935 {
934 context.GetIndex().LogExportedResource(stripped, remote); 936 context.GetIndex().LogExportedResource(stripped, remote);