Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-138

FieldType Equals() should return false when class doesn't match

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0 (incubating)
    • Component/s: Plan
    • Labels:
      None

      Description

      FieldType's Equals() method, which contains shared routines invoked by
      subclass Equals() methods, does not check whether "self" and "other" belong to
      the same class. This can lead to index corruption if a field definition goes
      undetected because only the class changed while all instance variables remained
      the same.

      Dev list discussion: http://s.apache.org/FRn

        Attachments

        1. ftype_equals.patch
          2 kB
          Marvin Humphrey

          Activity

            People

            • Assignee:
              marvin Marvin Humphrey
              Reporter:
              marvin Marvin Humphrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: