geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <>
Subject [jira] [Commented] (GEODE-7208) FlatFormatSerializer should index on inherited fields
Date Fri, 13 Sep 2019 22:34:00 GMT


ASF subversion and git services commented on GEODE-7208:

Commit 0b1d4a334ba24b66a9d1d1f196f4cbe5fbc5098e in geode's branch refs/heads/feature/GEODE-7208
from zhouxh
[;h=0b1d4a3 ]

GEODE-7208: FlatFormatSerializer should index on inherited fields

> FlatFormatSerializer should index on inherited fields
> -----------------------------------------------------
>                 Key: GEODE-7208
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: xiaojian zhou
>            Assignee: xiaojian zhou
>            Priority: Major
>              Labels: GeodeCommons
>             Fix For: 1.11.0
> 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
> 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

View raw message