Univention Bugzilla – Bug 46596
[4.3] UCS@school wizards should offer object creation if non exist
Last modified: 2018-06-04 15:27:43 CEST
The user/workgroup/class/room/computer wizards should ask the user if he wishes to create a user/workgroup/class/room/computer if non exists. This was once done, but the behavior changed at some point in UCS@school 4.2.
Please check, what the reason for this behaviour change was. We should then discuss, how the new behaviour should look like.
As far as I can tell the behavior is still implemented in the Grid baseclass of the schoolwizards (ucsschool/ucs-school-umc-wizards/umc/js/schoolwizards/Grid.js) in line 225ff. The dialog is hooked in via before aspect on the grids _onFetchComplete function. After brief testing though I can tell that the aspect is never triggered and so the dialog never created. Is the _onFetchComplete function not called anymore?
The implementation of the grid changed from the deprecated dojox/grid/EnhancedGrid to dgrid: Bug #32027
onFilterDone might be a suitable alternative.
onFilterDone is indeed a suitable alternative. A fixing commit is available on the oschwieg/46596 branch.
Package: ucs-school-umc-wizards Version: 10.0.1-1A~4.3.0.201803231614
What I tested: No users -> Creation wizard is shown -> OK Users already exists -> No creation wizard is shown -> OK [4.3 b7d90f21] Bug #46596: YAML -> Verified Note: workgroup and room are not part of the schoolwizards -> no creation wizard is shown -> Please open a new bug if that should be changed.
UCS@school 4.3 v3 has been released. https://docs.software-univention.de/changelog-ucsschool-4.3v3-de.html If this error occurs again, please clone this bug.