You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2015/01/20 20:57:36 UTC
[jira] [Created] (UIMA-4190) CasCopier fails to copy subtypes of
string properly
Marshall Schor created UIMA-4190:
------------------------------------
Summary: CasCopier fails to copy subtypes of string properly
Key: UIMA-4190
URL: https://issues.apache.org/jira/browse/UIMA-4190
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Reporter: Marshall Schor
Assignee: Marshall Schor
Priority: Blocker
Fix For: 2.7.0SDK
I broke the cas copier part of feature copies by not coding the test for string copying to include subtypes of strings. Fix this, and also, add check that throws a runtime exception if you attempt to copy a feature between two different CASs having different type systems, where the range name of the feature in the first Type System != the name in the 2nd. Without this check, it could copy a String feature to an integer feature, resulting or visa versa.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)