Univention Bugzilla – Full Text Bug Listing |
Summary: | udm remove is missing --ignore_not_exists | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UDM - CLI | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Johannes Keiser <keiser> |
Severity: | normal | ||
Priority: | P5 | Flags: | best:
Patch_Available+
|
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=32528 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 2: Improvement: Would be a product improvement |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.046 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Florian Best
2016-02-19 10:33:53 CET
I would have find it helpful to have this during the Upgrade to UCS 4.2. I added that option. ucs-test (7.0.22-16): r80821 | Bug #40737: add udm remove --ignore_not_exists univention-directory-manager-modules (12.0.17-56): r80821 | Bug #40737: add udm remove --ignore_not_exists univention-directory-manager-modules.yaml: r80822 | YAML Bug #40737 # udm users/user remove --ignore_not_exists E: dn or filter needed # udm users/user remove --ignore_not_exists --dn uid=asdfasdfasdfasdfasdfa,dc=school,dc=local Object not found: uid=asdfasdfasdfasdfasdfa,dc=school,dc=local # echo $? 0 # udm users/user remove --ignore_not_exists --filter uid=asdfasdfasdfasdfasdfa Object not found: uid=asdfasdfasdfasdfasdfa # udm users/user remove --dn uid=asdfasdfasdfasdfasdfa,dc=school,dc=local E: object not found # echo $? 3 OK remove operation does not fail when --ingore_not_exists is used and dn or filter is specified. YAML: OK -> verified |