You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2011/07/01 21:43:28 UTC
[jira] [Updated] (AVRO-835) C# code gen fails on for protocols
[ 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, 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