"Delete all" button deletes only one of the abnormalities in pedigree editor

Description

When "delete all" is pressed on the clinical tab of node menu in pedigree editor, and the node/patient has more than one abnormality of the type, only the first abnormality is deleted and an NPE JS exception is thrown.

Debugging this shows something strange going on, first all abnormalities are deleted, then re-added, then deleted again, the re-added, then on the third delete the above exception is thrown

Environment

None

Status

Assignee

Andrew Misyura

Reporter

Andrew Misyura

Labels

None

External issue ID

None

External issue ID

None

Epic Link

Components

Fix versions

Affects versions

1.3

Priority

Medium
Configure