Univention Bugzilla – Bug 37711
False positive "The following empty properties were set to default values in the form." notifications
Last modified: 2015-02-24 08:25:10 CET
+++ This bug was initially created as a clone of Bug #36700 +++ If I open a user without "Samba Account"-Option in UMC the following notification shows up (every time of cause as those values will never be set): --- The following empty properties were set to default values in the form. These values will be applied when saving. [Advanced settings] - Windows terminal server - CTX RAS Dialin: Disabled [Advanced settings] - Windows terminal server - CTX Mirroring: Disabled [Advanced settings] - Windows terminal server - Terminated or timed-out sessions: Disconnect [Advanced settings] - Windows terminal server - Reconnect session: All Clients ---
Are the properties then displayed in UMC?
This also happens for a "Simple Authentication Account" user: > The following empty properties were set to default values in the form. These values will be applied when saving. > Account - Locking and deactivation - Account deactivation: None > [Advanced settings] - Windows terminal server - CTX RAS Dialin: Disabled > [Advanced settings] - Windows terminal server - CTX Mirroring: Disabled > Groups - Primary group - Primary group: Backup Join > [Advanced settings] - Windows terminal server - Terminated or timed-out sessions: Disconnect > Account - Locking and deactivation - Locked login methods: None > [Advanced settings] - Windows terminal server - Reconnect session: All Clients As none of those options are available, the message is very confusing. $ udm users/user create --option ldap_pwd --set username=test --set lastname=test --set password=univention
yes, probably we have to check if the widget is visible to fix it.
(In reply to Philipp Hahn from comment #2) > This also happens for a "Simple Authentication Account" user: And with other objects too (like shares for example if only one of NFS, Samba is activated.
Created attachment 6693 [details] patch (1) Here is a patch which excludes invisible widgets from being displayed in the error message (and don't display the message if all widgets are invisible). I tested it with Philipps example. The main problem still exists: detailpage.getAlteredValues() detects every combobox as altered because it does not have a value and is therefore set to the first available value... This causes btw. also other bugs like Bug #37532.
I've got a fully working patch now.
Fix: svn r58245 YAML: 2015-02-12-univention-management-console-module-udm.yaml
Changes: OK, everything works smoothly, now (shares + users tested). YAML file: OK → VERIFIED
http://errata.univention.de/ucs/4.0/87.html