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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment