Project

General

Profile

Actions

Todo #12051

open

XMLRPC client improvements

Added by Jim Pingle 4 months ago. Updated 4 months ago.

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

100%

Estimated time:
Plus Target Version:
21.09
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 #1

Updated by Jim Pingle 4 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF