Univention Bugzilla – Full Text Bug Listing |
Summary: | UMC: Correctly set attribute is detected as unset | ||
---|---|---|---|
Product: | UCS | Reporter: | Erik Damrose <damrose> |
Component: | UMC (Generic) | Assignee: | Johannes Keiser <keiser> |
Status: | CLOSED FIXED | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, keiser, sm |
Version: | UCS 4.3 | ||
Target Milestone: | UCS 4.3-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=48880 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 5: Major Usability: Impairs usability in key scenarios |
Who will be affected by this bug?: | 3: Will affect average number of 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.171 | Enterprise Customer affected?: | Yes |
School Customer affected?: | Yes | ISV affected?: | |
Waiting Support: | Yes | Flags outvoted (downgraded) after PO Review: | |
Ticket number: | 2018073121000508, 2018071221000295 | Bug group (optional): | |
Max CVSS v3 score: | |||
Attachments: | ldif of a user object affected by this bug |
Description
Erik Damrose
2018-06-14 18:42:53 CEST
Could you attach an LDIF of that user object here. Created attachment 9560 [details]
ldif of a user object affected by this bug
(In reply to Erik Damrose from comment #2) > Created attachment 9560 [details] > ldif of a user object affected by this bug looks like a valid LDAP object, I think. Maybe it's a javascript problem? def hasChanged(self, key): if key == 'disabled' and inconsistentDisabledState(self.oldattr): return True After the default values for properties have been set it is checked if the values have changed. If the values have changed the property is flagged as such and the popup in the frontend is shown: 'The following empty properties were set to default values in the form.' (In reply to Johannes Keiser from comment #4) > def hasChanged(self, key): > if key == 'disabled' and inconsistentDisabledState(self.oldattr): > return True from users/user.py: this does return true even if 'disabled' did not change and because of that the popup is shown. *** Bug 47089 has been marked as a duplicate of this bug. *** I copied the customer information from the duplicate bug *** Bug 47438 has been marked as a duplicate of this bug. *** e8213e2 Bug #47199: fix inconsistentDisabledState() in users/user.py 63a1031 Bug #47199: Debian changelog 395de71 Bug #47199: YAML - add entry 63b0d06 Bug #47199: Merge branch 'jkeiser/47199__inconsistent_disabled_state' into 4.3-1 f2033ba Bug #47199: YAML - update version Successful build Package: univention-directory-manager-modules Version: 13.0.21-32A~4.3.0.201808221741 Changeset: OK YAML: OK My tests: OK |