Univention Bugzilla – Bug 43273
local variable 'windomain' referenced before assignment
Last modified: 2017-06-19 15:04:48 CEST
Version: 4.1-4 errata366 (Vahr) Traceback(d41d8cd98f00b204e9800998ecf8427e): Ein unerwarteter Fehler trat während des Einrichtungsprozesses auf: local variable 'windomain' referenced before assignment
Created attachment 8329 [details] patch Function was added in svn r52011. Happens if the entered domainname doesn't contain a dot.
Reported again, 4.1-4 errata324 (Vahr)
Can be reproduced in a python shell: # python >>> from univention.management.console.modules.setup.util import domain2windowdomain >>> domain2windowdomain('foo') univention-system-setup (10.0.10-19): r79939 | Bug #43273: don't crash if given domainname contains no dot univention-system-setup.yaml: r79941 | YAML Bug #44035 Bug #44394 Bug #43273
The change looks reasonable and the function works with inputs without '.'s now. -> Verified.
<http://errata.software-univention.de/ucs/4.2/50.html>