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

CasCoper test for views belonging to same CAS broken

    Details

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

      Description

      The logic is flawed. Example 1: if cas1's viewname and cas2's viewname are both null (could be both base CASes, I think), then it returns the result of null == null because it's comparing the viewnames (null strings) instead of the base CASes themselves.

      The tests further may fail if the CAS is wrapped. May need to use "equals" instead of == , but need to check the default impl of this.

        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: