[ https://issues.apache.org/jira/browse/THRIFT-5616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598173#comment-17598173 ]
Robert Simon commented on THRIFT-5616: -------------------------------------- There is the point! Sorry for the wrong report. I was fooled by _\lib\delphi\test\client.dproj, and server.dproj_ In the project setup in the prebuildevent looks like this: _<PropertyGroup>_ _<PreBuildEvent><![CDATA[thrift.exe -r -gen delphi ..\..\..\test\ThriftTest.thrift]]></PreBuildEvent>_ _</PropertyGroup>_ and I did not notice this, I just seraching in TestServerEvents.pas for the reason why the value of TProcessorEventsImpl.FReqs does not change. Sorry, once again > CreateRequestContext seems never called in the generated TProcessorImpl class > ----------------------------------------------------------------------------- > > Key: THRIFT-5616 > URL: https://issues.apache.org/jira/browse/THRIFT-5616 > Project: Thrift > Issue Type: Bug > Components: Delphi - Compiler > Affects Versions: 0.16.0 > Reporter: Robert Simon > Assignee: Jens Geyer > Priority: Minor > Fix For: 0.16.0 > > > Under the generated *TProcessorImpl* class *Process* method the events > received as parameters ({_}const events : IProcessorEvents{_}) never called. > > I suggest a solution, (before the *TProcessFunction* call): > _if Assigned(events) then events.CreateRequestContext(msg.name);_ > _fn(msg.SeqID, iprot, oprot);_ -- This message was sent by Atlassian Jira (v8.20.10#820010)