Mercurial > hg > orthanc
changeset 2654:761031029aa9 jobs
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Jun 2018 17:09:18 +0200 |
parents | d7815540bd81 |
children | c196d76cb8fa |
files | OrthancServer/ServerJobs/Operations/DeleteResourceOperation.h OrthancServer/ServerJobs/Operations/ModifyInstanceOperation.cpp OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp OrthancServer/ServerJobs/Operations/StoreScuOperation.cpp OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp |
diffstat | 5 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/Operations/DeleteResourceOperation.h Tue Jun 05 15:46:02 2018 +0200 +++ b/OrthancServer/ServerJobs/Operations/DeleteResourceOperation.h Tue Jun 05 17:09:18 2018 +0200 @@ -56,6 +56,7 @@ virtual void Serialize(Json::Value& result) const { + result = Json::objectValue; result["Type"] = "DeleteResource"; } };
--- a/OrthancServer/ServerJobs/Operations/ModifyInstanceOperation.cpp Tue Jun 05 15:46:02 2018 +0200 +++ b/OrthancServer/ServerJobs/Operations/ModifyInstanceOperation.cpp Tue Jun 05 17:09:18 2018 +0200 @@ -127,6 +127,7 @@ void ModifyInstanceOperation::Serialize(Json::Value& target) const { + result = Json::objectValue; target["Type"] = "ModifyInstance"; target["Origin"] = EnumerationToString(origin_); modification_->Serialize(target["Modification"]);
--- a/OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp Tue Jun 05 15:46:02 2018 +0200 +++ b/OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp Tue Jun 05 17:09:18 2018 +0200 @@ -84,6 +84,7 @@ void StorePeerOperation::Serialize(Json::Value& result) const { + result = Json::objectValue; result["Type"] = "StorePeer"; peer_.ToJson(result["Remote"]); }
--- a/OrthancServer/ServerJobs/Operations/StoreScuOperation.cpp Tue Jun 05 15:46:02 2018 +0200 +++ b/OrthancServer/ServerJobs/Operations/StoreScuOperation.cpp Tue Jun 05 17:09:18 2018 +0200 @@ -83,6 +83,7 @@ void StoreScuOperation::Serialize(Json::Value& result) const { + result = Json::objectValue; result["Type"] = "StoreScu"; result["LocalAET"] = localAet_; modality_.ToJson(result["Modality"]);
--- a/OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp Tue Jun 05 15:46:02 2018 +0200 +++ b/OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp Tue Jun 05 17:09:18 2018 +0200 @@ -115,6 +115,7 @@ void SystemCallOperation::Serialize(Json::Value& result) const { + result = Json::objectValue; result["Type"] = "SystemCall"; result["Command"] = command_;