Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5048

EnumUtils<T>.ToString() throws for elements not known to the receiving end

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Delphi - Library
    • None
    • Patch Available

    Description

      If a new enum value gets added, an older client or server that uses the ToString() method of the surrounding element throws an exception (invalid ordinal value) if the new value is used in the data.

      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: