You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/03/24 22:10:05 UTC

[lucy-issues] [jira] [Updated] (LUCY-138) FieldType Equals() should return false when class doesn't match

     [ https://issues.apache.org/jira/browse/LUCY-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey updated LUCY-138:
---------------------------------

    Attachment: ftype_equals.patch

> FieldType Equals() should return false when class doesn't match
> ---------------------------------------------------------------
>
>                 Key: LUCY-138
>                 URL: https://issues.apache.org/jira/browse/LUCY-138
>             Project: Lucy
>          Issue Type: Bug
>          Components: Plan
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>             Fix For: 0.1-incubating
>
>         Attachments: ftype_equals.patch
>
>
> 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]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira