Skip to content

Recorded scores not removed on undo #5583

@reckart

Description

@reckart

Describe the bug
Undo does not seem to affect the retained suggestion info.

To Reproduce
Steps to reproduce the behavior:

  1. Enable retaining suggestion info in a multi-value string feature
  2. Accept two label suggestions (which get added to the multi-value feature)
  3. Undo one action
  4. See that the suggestion info for the undone action is still retained

Expected behavior
Remove recorded scores on undo (relevant e.g. for multi-feature annotations, multi-value features or when a label is merged into an existing annotation without a label).

Screenshots
If applicable, add screenshots to help explain your problem.

Please complete the following information:

  • Version and build ID: [see bottom of the browser screen]
  • OS: [e.g. Windows, Linux, OS X]
  • Browser: [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions