avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-835) C# code gen fails on for protocols
Date Fri, 01 Jul 2011 19:43:28 GMT

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

Doug Cutting updated AVRO-835:

    Attachment: AVRO-835.patch

Here's the fix and the test as a single patch file, based at the root of the project.

This generates the following warning from nunit:

Avro.Test.CodeGenTest.CanCodeGenTraceProtocol : Fixture class is not public

Should I commit this anyway?

> C# code gen fails on for protocols
> ----------------------------------
>                 Key: AVRO-835
>                 URL: https://issues.apache.org/jira/browse/AVRO-835
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Eric Hauser
>            Assignee: Dona Alvarez
>         Attachments: 0001-test-case-for-showing-code-gen-issue.patch, AVRO-835.patch,
> When code generating a protocol, such as AvroTrace, the C# code gen fails with a duplicate
schema exception.
> Avro.AvroException occurred
>   Message=Duplicate schema name org.apache.avro.ipc.trace.
>   Source=Avro
>   StackTrace:
>        at Avro.NamedSchema..ctor(Type type, SchemaName name, IList`1 aliases, PropertyMap
props, SchemaNames names)
>   InnerException: 
> I will attach a unit test that shows the issue.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message