[PluginManager] - When the yaml file contains a value of empty array - the registration of the plugin fails.
[autofs5, debconf, freeradius, fusioninventory, netgroups, opsi, posix, postfix, quota, repository, samba, spamassassin, supann-ext]
Above plugins have empty arrays set in the urlPath. (screenshotURL)
A fix would be to analyze the empty array set as a value within the yaml. Depending on if the array is empty, to simply unset the key.
Note : Decision is to update the library ldap (Link.php) and to parse the attrs delivered to "ldap->add" to remove all the empty arrays.
Line : 227 of link.php
public function add (string $dn, array $attrs, array $controls = []): Result
{
// HERE $attrs should be parsed and remove all empty arrays
$result = ldap_add_ext($this->cid, $dn, $attrs, $controls);
if ($result === FALSE) {
throw new Exception('Add failed: '.ldap_error($this->cid), ldap_errno($this->cid));
}
return new Result($this->cid, $result);
}