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".
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
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".