# HG changeset patch # User Sebastien Jodogne # Date 1399555767 -7200 # Node ID aeee9cc66dd93dceceebeeb928e5d49089db5078 # Parent b640aeee11baa4fb82f97fbf6ded73061db93f2c fix diff -r b640aeee11ba -r aeee9cc66dd9 NEWS --- a/NEWS Thu May 08 15:15:55 2014 +0200 +++ b/NEWS Thu May 08 15:29:27 2014 +0200 @@ -6,6 +6,7 @@ * Embedding of images within DICOM instances * Adding/removal/modification of remote modalities/peers through REST * Reuse of the previous SCU connection to avoid unecessary handshakes +* Fix problems with anonymization and modification * Fix missing licensing terms about reuse of some code from DCMTK * Various code refactorings diff -r b640aeee11ba -r aeee9cc66dd9 OrthancServer/OrthancInitialization.cpp --- a/OrthancServer/OrthancInitialization.cpp Thu May 08 15:15:55 2014 +0200 +++ b/OrthancServer/OrthancInitialization.cpp Thu May 08 15:29:27 2014 +0200 @@ -532,7 +532,7 @@ if (!configuration_->isMember("DicomModalities")) { - throw OrthancException(ErrorCode_BadFileFormat); + (*configuration_) ["DicomModalities"] = Json::objectValue; } Json::Value& modalities = (*configuration_) ["DicomModalities"]; @@ -575,7 +575,7 @@ if (!configuration_->isMember("OrthancPeers")) { - throw OrthancException(ErrorCode_BadFileFormat); + (*configuration_) ["OrthancPeers"] = Json::objectValue; } Json::Value& peers = (*configuration_) ["OrthancPeers"];