lemonldap-ng-cli adds a new item when deleting an item that does not exist.
Hi,
With lemonldap-ng 1.9.18+ds-1 (Debian).
With the "lemonldap-ng-cli" command, when you delete an application that does not exist in a category that does not exist, the "lemonldap-ng-cli" command adds an empty element with the name of the category that did not exist.
$ sudo /usr/share/lemonldap-ng/bin/lemonldap-ng-cli get applicationList
VERY EXPERIMENTAL FEATURE, prefer web interface
applicationList has the following keys:
0001-cat
0004-cat
0008-cat
0011-cat
0018-cat
$ sudo /usr/share/lemonldap-ng/bin/lemonldap-ng-cli delKey applicationList/0019-cat toto
VERY EXPERIMENTAL FEATURE, prefer web interface
Saved under number 149
Warnings: [
{
'message' => 'Your manager seems to be unprotected'
}
];
Status : [
{
'reload.xxx.com' => 'OK',
}
];
$ sudo /usr/share/lemonldap-ng/bin/lemonldap-ng-cli get applicationList
VERY EXPERIMENTAL FEATURE, prefer web interface
applicationList has the following keys:
0001-cat
0004-cat
0008-cat
0011-cat
0018-cat
0019-cat
$ sudo /usr/share/lemonldap-ng/bin/lemonldap-ng-cli get applicationList/0019-cat
VERY EXPERIMENTAL FEATURE, prefer web interface
applicationList/0019-cat has the following keys:
Regards.