[ 
https://issues.apache.org/jira/browse/THRIFT-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881712#comment-13881712
 ] 

Hudson commented on THRIFT-2331:
--------------------------------

SUCCESS: Integrated in Thrift #1012 (See 
[https://builds.apache.org/job/Thrift/1012/])
THRIFT-2331 Missing call to ReadStructBegin() in TApplicationException.Read() 
(jensg: rev beb937740a19340431ffd99ecb14f8a5c05624c2)
* lib/delphi/src/Thrift.pas


> Missing call to ReadStructBegin() in TApplicationException.Read()
> -----------------------------------------------------------------
>
>                 Key: THRIFT-2331
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2331
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Trivial
>             Fix For: 0.9.2
>
>         Attachments: THRIFT-2331_missing_call_to_ReadStructBegin.patch
>
>
> h3. Symptom
> Whenever a TApplicationException is raised and the protocol has special data 
> for BeginStruct(), the client faces an TProtocolException instead of the real 
> TApplicationException.
> h3. Testcase
> After adding a new method to an existing service interface, let the _new_ 
> client call the _old_ server using the JSON protocol. This throws an 
> TApplicationException because of the new method being unknown  to the old 
> server. However, the client side code throws an protocol exception in 
> ReadFieldBegin(), because the struct starter JSON code has not been properly 
> consumed due to the missing call.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to