Avro
  1. Avro
  2. AVRO-389

ResolvingDecoder does not resolve enum well

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: java
    • Labels:
      None

      Description

      Silly bug. mkEnumAdjust() and its caller don't agree on the order of the arguments. Strange that the bug existed for so long. The test-patch has some new tests to test untested portions of ResolvingEncoder. The actual patch fixes the problem.

      1. AVRO-389-test.patch
        2 kB
        Thiruvalluvan M. G.
      2. AVRO-389.patch
        0.7 kB
        Thiruvalluvan M. G.

        Activity

        Hide
        Thiruvalluvan M. G. added a comment -

        Committed revision 905518. Thanks Doug for reviewing.

        Show
        Thiruvalluvan M. G. added a comment - Committed revision 905518. Thanks Doug for reviewing.
        Hide
        Doug Cutting added a comment -

        +1 Thanks!

        Show
        Doug Cutting added a comment - +1 Thanks!

          People

          • Assignee:
            Thiruvalluvan M. G.
            Reporter:
            Thiruvalluvan M. G.
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development