Annotation text is gone after page refresh

Describe Your Question

  • A clear and concise description of what problem you are having.
    Annotation text is gone after page refresh. Is this a bug or work as intended?

  • Which OHIF version you are using?

What steps can we follow to reproduce the bug?

  1. Add an annotation with text.

  1. Save Measurement.

  2. Refresh page. Then like below, the arrow stays there but the text is gone.

How are you saving the measurement?

I save measurement by hitting the “Save Measurements” button on the right-bottom of the page.
Please see below for the reproduction steps.

I think I know what is going on.
In step 2 you can see that you measurement label is not appearing in the measurement panel either. So, there is something going wrong in the mappers of toolData to measurement service here. You might want to put a debugger and investigate it Viewers/arrowAnnotate.js at 08ff214ea69a67aae995c393162b532bfacf62da · OHIF/Viewers · GitHub