Univention Bugzilla – Bug 40777
U@S32R2: wake on LAN not always available in computerroom
Last modified: 2017-06-23 18:53:58 CEST
The option "switch on computers" (WOL - wake on LAN) is not always available in computer room. The most likely situation in which the option is disabled/greyed out, is directly after switching the current room. It is not neccessary that the selected computer/s is/are online. After some time the menu item in "more" menu is available. A first glimpse at the code suggests, that the menu code check for several statuses (error/autherror/offline) but not the status "disconnected". So on reestablishing the connection, the status of the selected computer/s switch to "disconnected" and the menu item is unavailable again.
As assumed, the status disconnected has not been recognized as valid status for activating wake on LAN. Package: ucs-school-umc-computerroom Version: 5.0.9-1.167.201602251537 User: sschwardt Branch: ucs_3.2-0 Scope: ucs-school-3.2r2 r67708 | Bug #40777: fixed logic of menu item 'switch on computer'
OK: fix item.connection[0] !== 'connected' would have been better.
Will not be released anymore.