Ver código fonte

Changed query key from xsiType to xsi:type

This was the actual error
Andreas Fetzer 9 anos atrás
pai
commit
bddb4b0f19
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      Libs/XNAT/Core/ctkXnatResource.cpp

+ 1 - 0
Libs/XNAT/Core/ctkXnatResource.cpp

@@ -173,6 +173,7 @@ void ctkXnatResource::downloadImpl(const QString& filename)
 void ctkXnatResource::saveImpl(bool /*overwrite*/)
 {
   ctkXnatSession::UrlParameters urlParams;
+  urlParams["xsi:type"] = this->schemaType();
 
   const QMap<QString, QString>& properties = this->properties();
   QMapIterator<QString, QString> itProperties(properties);