Richard Eckart de Castilho created UIMA-6352:
------------------------------------------------
Summary: reinit(CASCompleteSerializer) does not properly reset
indexes
Key: UIMA-6352
URL: https://issues.apache.org/jira/browse/UIMA-6352
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Affects Versions: 3.1.1SDK
Reporter: Richard Eckart de Castilho
Assignee: Richard Eckart de Castilho
Fix For: 3.2.0SDK
The {{CASCompleteSerializer}} consists of a {{CASMgrSerializer}} and a
{{CASSerializer}}. However, {{CAS.reinit(CASCompleteSerializer)}} does not
fully include the behavior of {{CAS.reinit(CASMgrSerializer)}} - in particular
the index repositories in {{baseCas.svd.sofa2indexMap}} are not cleared. Since
the {{CAS.reinit(CASCompleteSerializer)}} can replace the type system in the
CAS, this can cause the {{TypeSystem}} and {{Type}} instances used in the CAS
to be out-of-sync with the respective instances used in the
{{FSIndexRepository}} instances stored in {{baseCas.svd.sofa2indexMap}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)