# HG changeset patch # User Alain Mazy # Date 1700730881 -3600 # Node ID 5f4fe945b764e20ac417ae95de50d7078e36c680 # Parent c3e2da22d54e8151ea4193a00ab899a230832551 fix 'Priority' parsing diff -r c3e2da22d54e -r 5f4fe945b764 Common/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp --- a/Common/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Wed Nov 22 12:11:17 2023 +0100 +++ b/Common/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Thu Nov 23 10:14:41 2023 +0100 @@ -2607,7 +2607,7 @@ if (body.isMember(KEY_PRIORITY)) { - if (body[KEY_PRIORITY].type() != Json::booleanValue) + if (body[KEY_PRIORITY].type() != Json::intValue) { #if HAS_ORTHANC_EXCEPTION == 1 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadFileFormat,