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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0 (incubating)
    • Plan
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: