Univention Bugzilla – Full Text Bug Listing |
Summary: | UMC does not recognize autofilled values for UDM objects, does not save changes | ||
---|---|---|---|
Product: | UCS | Reporter: | Erik Damrose <damrose> |
Component: | UMC (Generic) | Assignee: | Johannes Keiser <keiser> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, keiser, requate |
Version: | UCS 4.3 | ||
Target Milestone: | UCS 4.3-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=45581 https://forge.univention.org/bugzilla/show_bug.cgi?id=48092 |
||
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?: | 3: A User would likely not purchase the product |
User Pain: | 0.257 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2018030621000769 | Bug group (optional): | |
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 47438 | ||
Attachments: | udm_detailpage_with_applied_patch |
Description
Erik Damrose
2018-03-07 13:49:57 CET
patch at: jkeiser/46529_umc_does_not_recognize_default_values The get() method for an UDM object now returns the properties for which a default value was set. The UDM Detailpage uses that information to show the popup again, which informed the user about values that had default values set. The users/user object has two properties with default values that do not get saved directly. 'unlock' is just a trigger and has no mapping to ldap. 'homeSharePath' which is used for automountInformation is only saved when 'homeShare' is a also set. At least for 'unlock' the popup would appear every time to inform the user that the default value for 'unlock' has been set. A flag to prevent the popup for specific properties has been added. I did not find another objecttype where a property has a default value but no ldap mapping (which would lead to the same problem has 'unlock' for users/user) Created attachment 9509 [details]
udm_detailpage_with_applied_patch
0f77c31 Bug #46529: Notify about set default values in UMC 7b28e0c Bug #46529: Restore 4.2-3 behaviour for setting automount objectclass 152f362 Bug #46529: Debian changelog 8a6ab15 Bug #46529: YAML entry df22826 Bug #46529: Merge branch 'jkeiser/46529_umc_does_not_recognize_default_values' into 4.3-0 61d8d39 Bug #46529: YAML update version Package: univention-management-console-module-udm Version: 8.0.5-8A~4.3.0.201804261634 Package: univention-directory-manager-modules Version: 13.0.21-19A~4.3.0.201804261637 7b28e0c Bug #46529: Restore 4.2-3 behaviour for setting automount objectclass: after homeSharePath (with the default value of <username>) was no longer ignored when saving i got this error message when trying to save: "Das LDAP-Objekt konnte nicht gespeichert werden: LDAP-Fehler No such attribute: modify/delete: objectClass: no such value" This was due to the 'automount' objectclass missing. In 4.2-3 it was added when 'homeShare' or 'homeSharePath' was modified. I fixed what i believe was a typo. 32d5659 Bug #46529: make shouldPreventPopupForEmptyPropWithDefault call safe 65de35a Bug #46529: Debian changelog 8a38ee2 Bug #46529: YAML update version Package: univention-management-console-module-udm Version: 8.0.5-9A~4.3.0.201805041301 Tests: OK: I was able to reproduce the original report. It has been fixed with the latest est errata packages. YAML: OK Incomplete Advisory: Package "univention-management-console-module-udm.yaml" is WIP with incomplete YAML. ================================================================== arequate@omar:~/git/ucs/doc/errata/staging$ less univention-management-console-module-udm.yaml product: ucs release: "4.3" version: [0] scope: ucs_4.3-0-errata4.3-0 src: fix: 8.0.5-9A~4.3.0.201805041301 desc: | This update addresses the following issue(s): * Properties that have been set to default values are no longer ignored when saving from the UDM detail page. bug: [46529] ================================================================== I've added the missing src: value 608752ac9f | Fix inclomplete advisory |