View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19687Bug reportsOtherpublic2024-09-26 17:26
Reportertibor.pacalat Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version6.6.x 
Summary19687: php8.3 compatibility - Zend (xmlrpc related)
Description

Main ticket https://bugs.limesurvey.org/view.php?id=19632

Zend
FILE: /var/www/html/limesurvey/application/helpers/Zend/XmlRpc/Server.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/File/Count.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/File/ImageSize.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/File/Size.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/File/FilesSize.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/EmailAddress.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/CreditCard.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/StringLength.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/Ip.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/Hostname.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/Date.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/Db/Abstract.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/InArray.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/NotEmpty.php
FILE: /var/www/html/limesurvey/application/helpers/Zend/Validate/Between.php

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.6.1+240806
I will donate to the project if issue is resolvedNo
Browser
Database type & version.
Server OS (if known)
Webserver software & version (if known)
PHP Version.

Relationships

child of 19632 assignedgabrieljenik Make Limesurvey compatible with php8.3 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2024-09-18 18:42

developer   ~81050

controllers/admin/RemoteControl.php:     * @var Zend_XmlRpc_Server
controllers/admin/RemoteControl.php:                require_once('Zend/XmlRpc/Server.php');
controllers/admin/RemoteControl.php:                require_once('Zend/XmlRpc/Server/Exception.php');
controllers/admin/RemoteControl.php:                require_once('Zend/XmlRpc/Value/Exception.php');
controllers/admin/RemoteControl.php:                $this->xmlrpc = new Zend_XmlRpc_Server();
controllers/admin/RemoteControl.php:                Yii::import('application.libraries.LSZend_XmlRpc_Response_Http');
controllers/admin/RemoteControl.php:                $this->xmlrpc->setResponseClass('LSZend_XmlRpc_Response_Http');
controllers/admin/RemoteControl.php:                if ($result instanceof LSZend_XmlRpc_Response_Http) {
controllers/admin/RemoteControl.php:                    // a Zend_XmlRpc_Server_Fault with exception message from XMLRPC
controllers/admin/RemoteControl.php:                require_once('Zend/XmlRpc/Client.php');
controllers/admin/RemoteControl.php:                $client = new Zend_XmlRpc_Client($serverUrl);
libraries/LSZend_XmlRpc_Response_Http.php:class LSZend_XmlRpc_Response_Http extends Zend_XmlRpc_Response_Http
DenisChenu

DenisChenu

2024-09-19 09:52

developer   ~81051

For dev : https://github.com/gggeek/phpxmlrpc ?

For master : delete whole Zen except RPC (and related) ? Or move to https://github.com/laminas/laminas-xmlrpc ?

DenisChenu

DenisChenu

2024-09-20 15:36

developer   ~81070

Wait for https://github.com/LimeSurvey/LimeSurvey/pull/3962 to touch vendor

p_teichmann

p_teichmann

2024-09-26 16:56

administrator   ~81117

If we just removed the xmlrpc then users code based on it would be broken, so i would definitely prefer to replace it with a new xmlrpc.
I am not sure how much needs to be updated for it to work, but the previous one seemed lightweight in the usage.

DenisChenu

DenisChenu

2024-09-26 17:26

developer   ~81120

If we just removed the xmlrpc then users code based on it would be broken, so i would definitely prefer to replace it with a new xmlrpc.

Yes i know

I am not sure how much needs to be updated for it to work, but the previous one seemed lightweight in the usage.

Issue with https://github.com/zendframework/zend-xmlrpc : This repository has been archived by the owner on Apr 28, 2020. It is now read-only.
Issue with https://github.com/laminas/laminas-xmlrpc : no php7.4 support : "php": "~8.1.0 || ~8.2.0 || ~8.3.0",

Then : try https://github.com/gggeek/phpxmlrpc/blob/master/composer.json in vendor "php": "^5.4.0 || ^7.0 || ^8.0", (reason why i wait for vendor update currently)

Issue History

Date Modified Username Field Change
2024-08-08 14:10 tibor.pacalat New Issue
2024-09-11 12:33 tibor.pacalat Assigned To => DenisChenu
2024-09-11 12:33 tibor.pacalat Status new => assigned
2024-09-12 11:19 DenisChenu Relationship added child of 19632
2024-09-18 18:42 DenisChenu Note Added: 81050
2024-09-18 18:42 DenisChenu Bug heat 0 => 2
2024-09-19 09:52 DenisChenu Note Added: 81051
2024-09-20 15:36 DenisChenu Note Added: 81070
2024-09-25 08:49 DenisChenu Summary php8.3 compatibility - Zend => php8.3 compatibility - Zend (xmlrpc related)
2024-09-26 16:56 p_teichmann Note Added: 81117
2024-09-26 16:56 p_teichmann Bug heat 2 => 4
2024-09-26 17:26 DenisChenu Note Added: 81120