Skip to content

[Bug] US Modality – Unit is not saved correctly and cannot be retrieved after saving #2597

@Devu-trenser

Description

@Devu-trenser

Describe the Bug

When saving US Modality data, the selected unit is not persisted correctly. After saving, the unit value is either missing and cannot be retrieved when the record is reopened.

Steps to Reproduce

  1. Open a US Modality data .
  2. Draw some annotations and note the units
  3. Save the annotations.
  4. Reload and open the saved SR file and observe the units before scrolling..

The current behavior

The unit is not retained after saving. Upon retrieval, the unit is empty,

The expected behavior

The unit should be saved correctly and displayed accurately when the US Modality SR is retrieved after saving.

System Information

System:
OS: Linux 6.11 Ubuntu 24.10 24.10 (Oracular Oriole)
CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1335U
Memory: 1.38 GB / 15.31 GB
Container: Yes
Shell: 5.2.32 - /bin/bash
Binaries:
Node: 22.16.0 - ~/.nvm/versions/node/v22.16.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.16.0/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.16.0/bin/npm
bun: 1.2.15 - ~/.nvm/versions/node/v22.16.0/bin/bun
Browsers:
Chrome: 139.0.7258.154

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions