소스 검색

Merge pull request #634 from AndreasFetzer/add-XNAT-resource-fails

Adding the xsiType=xnat:resource query parameter leads to an error when upload ing resources to XNAT
Jean-Christophe Fillion-Robin 9 년 전
부모
커밋
36843bf23b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Libs/XNAT/Core/ctkXnatResource.cpp

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

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