Univention Bugzilla – Bug 51999
Treat emtpy UCRV as "unset"
Last modified: 2020-09-16 08:46:36 CEST
UCRV which are set to an empty string as follows: ucr set foo/bar="" Should be automatically unset: ucr unset foo/bar Several issues occur with variables being set to an empty string. See ticket comment #10. Customers setting variables to an empty string does not expect them to have any effect. Same applies when customers use the UMC. They set the value and remove it afterwards. But as the value field is empty the variable is not unset and causes issues. We should change ucr command to unset UCRV when they are set to an empty string. See also Bug #42170 and Bug #51003
This would be an API change which might lead to problems in UCR templates which expect this behaviour. This can only be done in a point or major release.