Avro
  1. Avro
  2. AVRO-835

C# code gen fails on for protocols

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.2
    • Component/s: csharp
    • Labels:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Dona Alvarez
            Reporter:
            Eric Hauser
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development