[
https://issues.apache.org/jira/browse/GEODE-7208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938918#comment-16938918
]
ASF subversion and git services commented on GEODE-7208:
--------------------------------------------------------
Commit 0c539fd5110b7f4d432b0308725701ed0009cd0f in geode's branch
refs/heads/master from Xiaojian Zhou
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0c539fd ]
GEODE-7208: FlatFormatSerializer should index on inherited fields (#4058)
(cherry picked from commit 4ec87419d456748a7d853e979c90ad4e301b2405)
> FlatFormatSerializer should index on inherited fields
> -----------------------------------------------------
>
> Key: GEODE-7208
> URL: https://issues.apache.org/jira/browse/GEODE-7208
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: Xiaojian Zhou
> Assignee: Xiaojian Zhou
> Priority: Major
> Labels: GeodeCommons
> Fix For: 1.10.0, 1.11.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> If user class Customer with subclass LocalCustomer. The subclass inherited
> some fields from Customer.
> If all the inherited fields are primitive type, default serializer will find
> the field reflection.
> However, if the inherited fields are collection or nest object, then we have
> to use FlatFormatSerializer to index them. But current FlatFormatSerializer
> used getDeclaredField(), which only can find current class, not for all its
> superclasses.
> The fix is find the inherited fields in superclasses.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)