Bug 23241 - UCR Unterstützung für differnenzielles unset von bestimmten Werten
UCR Unterstützung für differnenzielles unset von bestimmten Werten
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UCR
UCS 4.2
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
: 4891 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-10 12:07 CEST by Arvid Requate
Modified: 2020-07-03 20:51 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Further conceptual development
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2011-08-10 12:07:58 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.
Comment 1 Andreas Büsching univentionstaff 2011-08-10 13:44:30 CEST
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.
Comment 2 Philipp Hahn univentionstaff 2013-09-20 10:52:41 CEST

*** This bug has been marked as a duplicate of bug 4891 ***
Comment 3 Arvid Requate univentionstaff 2017-02-14 11:23:53 CET
Reopened instead of Bug 4891, because Comment 1 better captures the request.
Comment 4 Arvid Requate univentionstaff 2017-02-14 11:24:03 CET
*** Bug 4891 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Gohmann univentionstaff 2017-06-16 20:36:03 CEST
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.
Comment 6 Ingo Steuwer univentionstaff 2020-07-03 20:51:32 CEST
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.