Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4190

CasCopier fails to copy subtypes of string properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              schor Marshall Schor
              Reporter:
              schor Marshall Schor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: