confd_client incorrectly treated comma separated lists as multiple params

Details

Detail name Value
Changelog Number 25766
Type Bug
Status Resolved
Affected Versions Exasol 8.0.0
Fix Versions Exasol 2025.1.17
Resolution Date 2026-11-12

Description

confd_client treated parameters containing commas as multiple parameters. For example:

confd_client db_configure db_name: Exasol ldap_server: 'a, b, c'

incorrectly yields

{
  "params": {
    "db_name": "Exasol",
    "ldap_server": "a",
    "b": null,
    "c": null
  }
}

instead of the intended

{
  "params": {
    "db_name": "Exasol",
    "ldap_server": "a, b, c",
  }
}

Workaround

Pass the parameter explicitly as a string:

confd_client db_configure db_name: Exasol ldap_server: '"a, b, c"'

Fix

The bug happens because confd_client parses the parameters in YAML format by default. Before this fix, it would concatenate them and parse the parameters. After the fix, each parameter is parsed individually.

It is recommended that for automation / scripting, either the API is used or the parameters are encoded as a single string programmatically and then passed via confd_client --json --verbose --params-json <parameter string>, for machine readable input and output.

Changed behavior

Passing a single string of parameters that would be YAML if enclosed in {{{ }}} to confd_client i.e.

confd_client db_configure db_name: Exasol ldap_server: 'a, b, c'

won’t work anymore.