Skip to content

Adding uncertainty to text sends an invalid request #244

@bug-rancher

Description

@bug-rancher

The user interface, when adding uncertainty to text allows the user to select "Tag name" in the "Target" field, which causes an error (response from the server { status: 500, message: "Unhandled exception.", body_content: null }).

Steps to reproduce the error

  • run the Annotator
  • select the text fragment
  • select "Annotate uncertainty" option
  • in the "Target" field select "Tag name"
  • select any values for "Certainty level" and "Categories"
  • click "Create"

Cause of error
In the request, the ["payload"][1]["parameters"]["locus"] element (the element responsible for adding uncertainty) has the value "name". According to the documentation, to add uncertainty to the text the value of this field should be "value".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions