Marshall Schor created UIMA-4722:
------------------------------------
Summary: updateDocumentAnnotation not properly doing remove from
indexes
Key: UIMA-4722
URL: https://issues.apache.org/jira/browse/UIMA-4722
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Affects Versions: 2.8.1SDK
Reporter: Marshall Schor
Assignee: Marshall Schor
Priority: Minor
Fix For: 3.0.0SDKexp, 2.8.2SDK
The DocumentAnnotation is indexed; it is a subtype of AnnotationBase, so it is
indexed in one view. The method to update it (cas.updateDocumentAnnotation)
attempts to remove it from the indexes but doesn't pick the proper view to do
this; it uses the "current view" which is usually correct, but may not be (was
not in one test case).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)