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:08:05 UTC
[lucy-issues] [jira] [Created] (LUCY-138) FieldType Equals() should return false
when class doesn't match
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
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
[lucy-issues] [jira] [Updated] (LUCY-138) FieldType Equals() should return false
when class doesn't match
Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
[ 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
[lucy-issues] [jira] [Resolved] (LUCY-138) FieldType Equals() should return false
when class doesn't match
Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCY-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marvin Humphrey resolved LUCY-138.
----------------------------------
Resolution: Fixed
Committed as r1085159.
> 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