[
https://issues.apache.org/jira/browse/THRIFT-5048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-5048.
--------------------------------
Fix Version/s: 0.14.0
Resolution: Fixed
Had to drop EnumUtils<>.ToString() support for versions below Rio, since the
{{pType^.TypeData}} member is not (officially) supported there. Without
MinValue and MaxValue info we cannot guarantee that {{value}} is inside the
legal enum range.
> 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
> Fix For: 0.14.0
>
> 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)