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

ASF GitHub Bot updated AVRO-3685:
---------------------------------
    Labels: pull-request-available  (was: )

> .NET/C#: ClassCash can not load two types with the compex type properties 
> that has same name but different type
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-3685
>                 URL: https://issues.apache.org/jira/browse/AVRO-3685
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Khrystyna Popadyuk
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When load two types that have complex type properties with:
>  * same name
>  * different type
> Only first one is loaded. As a result only one type can be serialized or 
> deserialized.
>  
> It happens because of this check 
> [https://github.com/KhrystynaPopadyuk/avro/blob/dee749bde457ba8760e0e5e1e2c1d1844610f2ee/lang/csharp/src/apache/main/Reflect/ClassCache.cs#L223]
> That code check load or not type base on property name.
> Unit test that illustrate bug:



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to