[
https://issues.apache.org/jira/browse/AVRO-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16945319#comment-16945319
]
Hudson commented on AVRO-2522:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #744 (See
[https://builds.apache.org/job/AvroJava/744/])
AVRO-2522: Handle record types with Nullable and IList in their names
(blachniet:
[https://github.com/apache/avro/commit/85ce0227e427e5f7b5c84cfe59293e1b649b925a])
* (edit) lang/csharp/src/apache/main/Specific/ObjectCreator.cs
* (edit) lang/csharp/src/apache/test/Specific/ObjectCreatorTests.cs
AVRO-2522: Fix nullable resolution inside lists (#663) (blachniet:
[https://github.com/apache/avro/commit/bfbd2d115aec576545b0673e876a652806b41986])
* (edit) lang/csharp/src/apache/test/Specific/SpecificTests.cs
* (edit) lang/csharp/src/apache/main/CodeGen/CodeGen.cs
* (add) lang/csharp/src/apache/test/Specific/EmbeddedGenericsRecord.cs
> Specific API doesn't handle schemas with IList or Nullable in name
> ------------------------------------------------------------------
>
> Key: AVRO-2522
> URL: https://issues.apache.org/jira/browse/AVRO-2522
> Project: Apache Avro
> Issue Type: Bug
> Components: csharp
> Affects Versions: 1.9.0
> Reporter: Brian Lachniet
> Assignee: Brian Lachniet
> Priority: Major
>
> The Specific API in the C# bindings do not properly handle:
> * Schemas with {{IList}} in their name
> * Schemas with {{Nullable}} in their name
> * Arrays of nullables (see example schema below)
> These throw an exception from the {{ObjectCreator}} indicating that it could
> not find the type.
> This sample application on GitHub demonstrates these problems:
> [https://github.com/blachniet/AVRO-2522].
> Here's a sample schema containing an array of nullables that triggers this
> problem.
> {code:java}
> {
> "namespace": "AvroListOfLists.Records",
> "name": "MyRecord",
> "type": "record",
> "fields": [
> {
> "name": "MyList",
> "type": {
> "type": "array",
> "items": ["null", "int"]
> }
> }
> ]
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)