Project

General

Profile

Actions

Todo #12051

closed

XMLRPC client improvements

Added by Jim Pingle almost 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
XMLRPC
Target version:
Start date:
06/17/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default

Description

There are a few changes that could be beneficial for the XMLRPC sync client:

  • The same client can be reused for multiple queries. Though it already appears that the PHP XML RPC code helps this along, it's more logical to make it explicit in the code.
  • Currently the code retries once and alerts on every failure. It makes more sense to retry a couple more times but only alert if every attempt fails. Intermittent errors can be logged, but don't necessitate an alert for each failure.
  • The XMLRPC error caught from XML_RPC2_CurlException is not properly printing its error message, it is printing an empty string, but we may want to preserve the existing behavior and only choose an alternate method if that is empty.

To me, I already have a set of changes ready to implement these.

Actions

Also available in: Atom PDF