Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Hydrating a measurement SR/report throws an exception #3660

Closed
jbocce opened this issue Sep 18, 2023 · 1 comment
Closed

[Bug] Hydrating a measurement SR/report throws an exception #3660

jbocce opened this issue Sep 18, 2023 · 1 comment
Assignees
Labels
Bug Verified Bug reported, reproducible, and verified.

Comments

@jbocce
Copy link
Collaborator

jbocce commented Sep 18, 2023

Describe the Bug

The following exception is thrown when a measurement SR is hydrated and the OHIF viewer crashes.

Uncaught TypeError: o.removeVolumeActors is not a function
    at xi (removeLabelmapFromElement.ts:22:39)
    at labelmapDisplay.ts:485:5
    at Object.removeSegmentationRepresentation (labelmapDisplay.ts:116:3)
    at removeSegmentationsFromToolGroup.ts:74:21
    at removeSegmentationsFromToolGroup.ts:57:5
    at Array.forEach (<anonymous>)
    at Module.io (removeSegmentationsFromToolGroup.ts:56:33)
    at SegmentationService.ts:1993:7
    at Array.forEach (<anonymous>)
    at ft._removeSegmentationFromCornerstone (SegmentationService.ts:1981:18)

Steps to Reproduce

  1. Open this https://viewer-dev.ohif.org/viewer?StudyInstanceUIDs=1.3.6.1.4.1.14519.5.2.1.7695.4007.324475281161490036195179843543
  2. Double click to hydrate the SR.
  3. Answer yes to the load prompt.

The current behavior

An exception is thrown in the console and the OHIF viewer crashes.

The expected behavior

Measurement is hydrated with no crash.

OS

Windows 11

Node version

16.14.0

Browser

Chrome 117.0.5938.89

@jbocce jbocce added Awaiting Reproduction Can we reproduce the reported bug? Bug Verified Bug reported, reproducible, and verified. and removed Awaiting Reproduction Can we reproduce the reported bug? labels Sep 18, 2023
@james-hanks
Copy link

Fixed by segmentation mode #3632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Verified Bug reported, reproducible, and verified.
Projects
None yet
Development

No branches or pull requests

3 participants