Univention Bugzilla – Bug 37001
Appliance wizard hangs due to JavaScript error for multiple network interfaces
Last modified: 2014-12-04 12:22:48 CET
Unfortunately, with more than four devices the wizard hangs again. +++ This bug was initially created as a clone of Bug #36880 +++ See screeshot for JS exact error, reproducible with two network interfaces where one (in this case eth1) is not configured via UCR.
There were 5 places where a not existing widget was accessed. So I fixed the method which returns the network devices to only return the first 4 widgets. Package: univention-system-setup Version: 8.1.65-3.791.201411251527 Branch: ucs_4.0-0 Scope: errata4.0-0
WORKAROUND for affected systems is to execute the following lines on the CLI: sed -i 's#return devices;#return devices.slice(0, 4);#' /usr/share/univention-management-console-frontend/js/umc/modules/setup/ApplianceWizard.js; . /usr/share/univention-lib/umc.sh; umc_frontend_new_hash; After this a browser reload is necessary.
Works fine now, the fix only shows at maximum 4 network interfaces. YAML file ok (updated the package version). → VERIFIED
http://errata.univention.de/ucs/4.0/2.html