Univention Bugzilla – Bug 23241
UCR Unterstützung für differnenzielles unset von bestimmten Werten
Last modified: 2020-07-03 20:51:32 CEST
Es wäre praktisch, wenn ucr unset mit values umgehen könnte: ucr unset repository/online/component/ucd/parts="unmaintained" würde aus repository/online/component/ucd/parts="maintained,unmaintained" dann repository/online/component/ucd/parts="maintained" machen. Damit das funktionieren kann müsste der jeweils verwendete Trenn-Character z.B. in der univention-config-registry-variables Datei definiert sein (das könnte generell auch im Code hilfreich sein, der UCR-Variablen auswertet). Um beim obigen Beispiel zu bleiben: Der Sonderfall ucr unset repository/online/component/ucd/parts="maintained,unmaintained" sollte dann die UCR-Variable mit leerem String definiert hinterlassen, im Gegensatz zu einem unset ohne Value.
Die Typ-Angabe in der Beschreibung zu den UCR-Variablen war für so etwas gedacht. Die Idee war, dass man dann durch beispielsweise Type=list(,) genau so etwas abbilden kann. Damit sollen dann Varianten wie ucr set repository/online/component/ucd/parts=maintained ucr append repository/online/component/ucd/parts=unmaintained ucr remove repository/online/component/ucd/parts=unmaintained ucr unset repository/online/component/ucd/parts funktionieren.
*** This bug has been marked as a duplicate of bug 4891 ***
Reopened instead of Bug 4891, because Comment 1 better captures the request.
*** Bug 4891 has been marked as a duplicate of this bug. ***
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.