Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-835

C# code gen fails on for protocols

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.6.2
    • csharp
    • None

    Description

      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.

      Attachments

        1. 0001-test-case-for-showing-code-gen-issue.patch
          5 kB
          Eric Hauser
        2. AVRO-835.patch
          2 kB
          Dona Alvarez
        3. AVRO-835.patch
          7 kB
          Doug Cutting

        Activity

          People

            dona Dona Alvarez
            ewhauser Eric Hauser
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: