Bug 40777 - U@S32R2: wake on LAN not always available in computerroom
U@S32R2: wake on LAN not always available in computerroom
Status: CLOSED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2 Errata
Assigned To: Sönke Schwardt-Krummrich
Florian Best
:
Depends on:
Blocks: 40778 40779
  Show dependency treegraph
 
Reported: 2016-02-25 14:17 CET by Sönke Schwardt-Krummrich
Modified: 2017-06-23 18:53 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2016-02-25 14:17:10 CET
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.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-02-25 15:40:18 CET
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'
Comment 2 Florian Best univentionstaff 2016-02-29 13:46:13 CET
OK: fix
item.connection[0] !== 'connected' would have been better.
Comment 3 Florian Best univentionstaff 2017-06-23 18:53:58 CEST
Will not be released anymore.