Z-Push icon indicating copy to clipboard operation
Z-Push copied to clipboard

InstanceID in meetingresponse.php

Open mschering opened this issue 6 months ago • 2 comments

This PR fixes issue: Meeting response instance ID is not passed to backend #111

mschering avatar May 20 '25 10:05 mschering

Hi. When your patch is applied to 2.7.6 I see the following error (I use the kopano backend):

2025/08/07 23:04:19 [error] 1665#1665: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Declaration of BackendKopano::MeetingResponse($requestid, $folderid, $response) must be compatible with IBackend::MeetingResponse($requestid, $folderid, $response, $instanceId) in /usr/share/z-push/backend/kopano/kopano.php on line 898" while reading response header from upstream, client [snip]

plaimbock avatar Aug 07 '25 21:08 plaimbock

Yes I modified the core but not all of the backends. This patch is a breaking change and all backends must implement that new $instanceid parameter.

mschering avatar Aug 08 '25 06:08 mschering