comparison OrthancServer/DicomInstanceToStore.cpp @ 3342:63f59ad9381a

Fix issue #136 (C-Find request fails when found DICOM file does not have certain tags)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Apr 2019 13:36:13 +0200
parents 4e43e67f8ecf
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3341:8f44dadcdbc1 3342:63f59ad9381a
177 { 177 {
178 throw OrthancException(ErrorCode_NotImplemented); 178 throw OrthancException(ErrorCode_NotImplemented);
179 } 179 }
180 else 180 else
181 { 181 {
182 parsed_.TakeOwnership(new ParsedDicomFile(summary_.GetConstContent())); 182 parsed_.TakeOwnership(new ParsedDicomFile(summary_.GetConstContent(),
183 GetDefaultDicomEncoding(),
184 false /* be strict */));
183 } 185 }
184 } 186 }
185 187
186 // Serialize the parsed DICOM file 188 // Serialize the parsed DICOM file
187 buffer_.Allocate(); 189 buffer_.Allocate();