Univention Bugzilla – Bug 39928
traceback in school wizards if no school is set up
Last modified: 2016-01-11 11:15:33 CET
There is a javascript traceback in the School wizards if no school exists yet. I don't think it breaks something. TypeError: Cannot read property 'length' of null at declare.getSearchWidgets (http://10.200.27.30/univention-management-console/js_$20151011154150$/umc/modules/schoolwizards/UserGrid.js:92:15) at declare.buildSearchForm (http://10.200.27.30/univention-management-console/js_$20151011154150$/umc/modules/schoolwizards/Grid.js:215:23) at declare.buildRendering (http://10.200.27.30/univention-management-console/js_$20151011154150$/umc/modules/schoolwizards/Grid.js:69:9) this.schools is null instead of a empty list: getSearchWidgets: function() { var schools = lang.clone(this.schools); if (schools.length > 1) { schools.unshift({id: '/', label: _('All')}); }
What is the impact of this traceback? Error message to the user? Faulty behavior of the UMC?
(In reply to Sönke Schwardt-Krummrich from comment #1) > What is the impact of this traceback? Error message to the user? Faulty > behavior of the UMC? The module doesn't render and is therefore not shown. But there is a non-closeable pop up to create a school which opens the school wizard successfully when clicking on it.
This affects only multi server environments since the installer creates a OU by default in single server mode.
Package: ucs-school-umc-wizards Version: 7.0.1-1.133.201511131306
OK: code change OK: functional test OK: xml changelog
UCS@school 4.1 has been released: http://docs.software-univention.de/release-notes-ucsschool-4.1v1-de.html If this error occurs again, please use "Clone This Bug".