Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

MPR doesn't work when I use JSON schema

Open starSinking opened this issue 3 years ago • 4 comments

branch: v3-stable

Describe the Bug

When I open the file in JSON mode and then use the MPR function, it doesn't work properly and an error is reported on the console (Cannot read properties of undefined (reading 'split'))

image image

starSinking avatar Dec 21 '22 07:12 starSinking

This is also happening to me. Looking at the code, it seems that MetadataProvider.js is expecting an imageId in the form of a wadors query (../studies/../series/..) which is not necessarily the case when images are loaded from a JSON manifest and this is causing this error.

shlomgad avatar Jan 07 '23 15:01 shlomgad

@starSinking and @shlomgad thanks for posting. However, I was not able to reproduce this problem. Perhaps try pulling the latest v3-stable code and try again? image

jbocce avatar Jan 12 '23 19:01 jbocce

@jbocce Thanks for answer. I pulled the latest code for v3-stable and found that the issue had been resolved.It may have been resolved in a single commit image image

starSinking avatar Jan 13 '23 01:01 starSinking

Likely fixed by 1d1b33224ad95a99e669e08ec1da809fb8880102.

jbocce avatar Jan 13 '23 16:01 jbocce