Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.7.6, 1.8.2, 1.8.3, 1.8.2.2
-
XNAT 2021-Q4 Sprint 1
-
Rank:0|0hzycd:zzzr052
-
XNAT 2021-Q4 Sprint 1
Description
To recreate this:
- Create a new project called TEST_PROJECT. You can also use an arbitrary project ID, you'll just need to substitute it on the REST call.
- Upload both attached "sessions" via the compressed uploader (they're each just 1 frame from some sample data that I've modified).
- Grab the JSON response for the subject at: /data/projects/TEST_PROJECT/subjects/SAMPLE_SUBJECT_NAME?format=json
If you search for "SessionData", you will find that the entries for the sessions will either be both "xsi:type": "xnat:mrSessionData" or both "xsi:type": "xnat:petSessionData". Which one "wins" out seems to be which session type was uploaded first. If you add a non-session subject assessor at the end, it also gets called an MR/PET session in this JSON response as well.