Actual behavior:
Using the XNAT Tree Browser, it is currently not possible to drag & drop a data node (e.g. segmentation.nrrd file) into the 'Resource' folder of an xnat:Session (experiment). The user is prompted to enter a folder name, which will be created. But the folder cannot be created, leaving the user with a message: "The requested operation is invalid for this protocol". A warning says: "Resource folder could not be created".
Currently a folder has to be added via right-click or the 'Create folder' button, while the xnat:Session (experiment) level is selected. Then the *.nrrd-file can be directly dropped into the newly created folder.
Expected behavior:
When asked to create a new folder by dropping a file into the corresponding 'Resource' folder, the plugin should create such a named folder as a child of the 'Resource' folder.
I suspect this may have something to do with the function "InternalAddResourceFolder" function of the 'QmitkXnatTreeBrowserView.cpp', which somehow always seems to put the new folder as a child of a 'Resource' folder. If such a folder does not exists, it creates this folder, which is not allowed ('Resource' folder have a different folder type than the manually created folder).