Creating an entity with an attribute and uncertainty added to the attribute causes an error (response from server { status: 500, message: "Unhandled exception.", body_content: null }).
Steps to reproduce the error
run the Annotator
select the text fragment
select "Annotate entity and uncertainty" option
add a value for one of the attibutes, e.g. for "name"
go to the "Fill annotation details"
in the "Target" field select "Attribute"
select any values for "Certainty level" and "Categories"
fill in the "Value" field
in the "Attribute" field select attribute filled earlier, in this case "name"
click "Create"
Cause of error
In the request, in the element ["payload"][3]["new_element_id"] (the element responsible for adding uncertainty) the name of the attribute to which the uncertainty is added is missing. Currently it gives the number of the operation in which the entity is created (in this case 1), and according to the documentation the name of the attribute to which the uncertainty is added should also be added (in this case the correct form is: "1/name")
Creating an entity with an attribute and uncertainty added to the attribute causes an error (response from server
{ status: 500, message: "Unhandled exception.", body_content: null }
).Steps to reproduce the error
Cause of error In the request, in the element
["payload"][3]["new_element_id"]
(the element responsible for adding uncertainty) the name of the attribute to which the uncertainty is added is missing. Currently it gives the number of the operation in which the entity is created (in this case1
), and according to the documentation the name of the attribute to which the uncertainty is added should also be added (in this case the correct form is:"1/name"
)Example request