Univention Bugzilla – Full Text Bug Listing |
Summary: | Check if modify / remove / create operation is allowed for object type | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - DHCP | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Johannes Keiser <keiser> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann |
Version: | UCS 4.0 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 1: Nuisance – not a big deal but noticeable |
User Pain: | 0.017 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Error handling, External feedback | |
Max CVSS v3 score: | |||
Attachments: | patch |
Description
Florian Best
2015-08-24 09:56:41 CEST
Here is the umc-command to trigger this error: umc-client -U Administrator -P univention COMMAND udm/add -f dhcp/dhcp -e -o '[{"object":{"name":"foo"},"options":{"container":None,"superordinate":"None", "objectType": "dhcp/dhcp"}}]' Created attachment 8146 [details]
patch
Patch with translation and human friendly error message has been applied. univention-directory-manager-modules (12.0.17-22): r80593 | Bug #39253: check if operation is allowed univention-directory-manager-modules.yaml: r80593 | Bug #39253: check if operation is allowed Tested with: (In reply to Florian Best from comment #1) > Here is the umc-command to trigger this error: > > umc-client -U Administrator -P univention COMMAND udm/add -f dhcp/dhcp -e -o > '[{"object":{"name":"foo"},"options":{"container":None,"superordinate": > "None", "objectType": "dhcp/dhcp"}}]' Before patch: shows traceback After patch: Shows human readable error message OK YAML: OK -> verified |