🐛 Bug Report
Affected Repository
This issue affects slim-viewer when using the latest dcmjs release.
Reproduction Steps
- Draw one or more ROIs in the Slim viewer (each gets a generated
roi.uid).
- Click on
Save ROI in SlideViewer which calls handleReportGeneration()
- Observe console error:
Uncaught Error: Option 'trackingIdentifier' must include a human readable tracking identifier and a tracking unique identifier.
This is caused by a bug in the dcmjs module (see dcmjs-org/dcmjs#434), where TrackingIdentifier’s constructor calls super(options) and erroneously pushes the raw options object into the internal content sequence.
Impact
- All ROI measurement exports from slim-viewer will fail.
- Automated report‐generation workflows break until the upstream fix is released.
Workarounds
-
Wait for upstream merge
The fix has been submitted in dcmjs-org/dcmjs#434 and is pending review & merge. Once released in a patch for dcmjs, updating your dependency will resolve the error automatically.
-
Use our temporary fix branch
You can point your project at the following branch to unblock development immediately:
npm install git+https://github.com/nr59684/dcmjs/tree/fix/trackingidentifier-super-call
References
🐛 Bug Report
Affected Repository
This issue affects slim-viewer when using the latest dcmjs release.
Reproduction Steps
roi.uid).Save ROIin SlideViewer which callshandleReportGeneration()This is caused by a bug in the dcmjs module (see dcmjs-org/dcmjs#434), where
TrackingIdentifier’s constructor callssuper(options)and erroneously pushes the raw options object into the internal content sequence.Impact
Workarounds
Wait for upstream merge
The fix has been submitted in dcmjs-org/dcmjs#434 and is pending review & merge. Once released in a patch for
dcmjs, updating your dependency will resolve the error automatically.Use our temporary fix branch
You can point your project at the following branch to unblock development immediately:
References