Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4592

.NET: Binary enums are handled incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8
    • 2.0
    • platforms

    Description

      • BinaryEnum is represented as int typeId + int value
      • BinaryEnumArray is represented as int typeId + int[] value

      In most cases we handle this incorrectly, using only int value:

      • BinaryObjectBuilder.WriteAsPredefined
      • BinarySystemHandlers.*EnumArray
        etc

      Add tests thich verify that .NET binary enum handling is consistent with Java.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: