Univention Bugzilla – Bug 34608
Mass actions should be available regardless of the computers' state
Last modified: 2014-08-27 17:01:38 CEST
A customer reported that if a teacher selects all computers in a, mass actions like locking the display are not available if the room contains computers that aren't reachable. This forces the teacher to manually skim through the list and unselect every single computer that is not reachable. This renders mass actions unusable for quick changes. The desired behavior is that unreachable computers are ignored and the select action is applied to all other computers.
Currently Grid.js requires all items in the grid to return True via canExecute(), otherwise the action/button will be disabled. We should ship an erratum for Grid.js that checks each action for an additional flag, that defines if *all* or *at least one* selected item has to be "executable". This way the update path would be very smooth. The erratum of UMC frontend checks the new flag and assumes the old behaviour if the flag is missing. UMC modules like the computerroom can already define the new flag even if the erratum has not been installed yet → also old behaviour. If both parts are up to date, the new flag comes into effect.
The flag has been added to those grid actions. Changelog created.
Ok
UCS@school 3.2 R2 v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html If this error occurs again, please use "Clone This Bug".