You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2019/12/12 23:35:00 UTC
[jira] [Updated] (THRIFT-5048) EnumUtils.ToString() throws for
elements not known to the receiving end
[ https://issues.apache.org/jira/browse/THRIFT-5048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-5048:
-------------------------------
Attachment: 0001-THRIFT-5048-EnumUtils-T-.ToString-throws-for-element.patch
> EnumUtils<T>.ToString() throws for elements not known to the receiving end
> --------------------------------------------------------------------------
>
> Key: THRIFT-5048
> URL: https://issues.apache.org/jira/browse/THRIFT-5048
> Project: Thrift
> Issue Type: Bug
> Components: Delphi - Library
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
> Attachments: 0001-THRIFT-5048-EnumUtils-T-.ToString-throws-for-element.patch
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)