Univention Bugzilla – Bug 39526
App Center - errors
Last modified: 2015-11-17 12:12:48 CET
There currently seem to be some issues with the JavaScript code: Florian Best - Bug 38894, comment #16: > I experienced some tracebacks (on a DC backup where the master is not > reachable): > > TypeError: Cannot read property '_searchSidebar' of undefined > at declare.postCreate > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/umc/modules/appcenter.js:87:23) > at c.create > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1333:348) > at c.postscript > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1332:99) > at new <anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1158:192) > at null.<anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1262:409) > at b.hitch > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:819:130) > at e > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:337) > at h > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:263) > at f.resolve > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:766:352) > at null.<anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1216:386) "TypeError: Cannot read property > '_searchSidebar' of undefined > at declare.postCreate > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/umc/modules/appcenter.js:87:23) > at c.create > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1333:348) > at c.postscript > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1332:99) > at new <anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1158:192) > at null.<anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1262:409) > at b.hitch > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:819:130) > at e > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:337) > at h > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:263) > at f.resolve > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:766:352) > at null.<anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1216:386) > ---------------------------------------- > > > TypeError: Cannot read property 'style' of null > at m.adaptWidth > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1933:468) > at l.onEach > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1465:386) > at g.adaptWidth > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1509:61) > at g._resize > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1508:339) > at g.updateRowCount > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1514:153) > at c._onFetchBegin > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:60:438) > at null.<anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:819:75) > at > http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:326:34 > at e > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:337) > at h > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:263) "TypeError: Cannot read property > 'style' of null > at m.adaptWidth > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1933:468) > at l.onEach > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1465:386) > at g.adaptWidth > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1509:61) > at g._resize > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1508:339) > at g.updateRowCount > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:1514:153) > at c._onFetchBegin > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:60:438) > at null.<anonymous> > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:819:75) > at > http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:326:34 > at e > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:337) > at h > (http://backup502.deadlock50.intranet/univention-management-console/ > js_$20152909233030$/dojo/dojo.js:764:263) Florian Best - Bug 38894, comment #17) > Another one: I cannot open a installed App (Ad-Connection) anymore (starting > with #module=appcenter:appcenter:0:category:All) > The line 379 in AppDetailsPage causes a exception: > this._installedAppsGrid = new adaptedGrid({ > > TypeError: Cannot read property 'search' of undefined > > The exception happens in _setLabelAttr of dijit.MenuItem Dirk Wiesenthal - Bug 38894, comment #18) > When appcenter/domainwide is set to False, there is no installationData for > App.js. In this case, app.get_hosts() uses a fallback. This is buggy: > > data: this > > is not compatible with > > data: item > > "item" is a special, stripped down version. this does not have all of its > properties. +++ This bug was initially created as a clone of Bug #38894 +++ The UMC App Center usability should be improved. The app list is getting longer and longer. :)
It seems to be fine by now.
(In reply to Alexander Kläser from comment #1) > It seems to be fine by now. No, it's not fine... → Bug #39688
Bug 38894, comment #18 not fixed As discussed, I always return installations information. If appcenter/domainwide is false, only the localhost will be listed. In this case, the Grid does not lead to JS errors anymore, but the Choose Host dialog is still shown. We talked about skipping it if the list only contains localhost
(In reply to Dirk Wiesenthal from comment #3) > Bug 38894, comment #18 not fixed > > As discussed, I always return installations information. If > appcenter/domainwide is false, only the localhost will be listed. > > In this case, the Grid does not lead to JS errors anymore, but the Choose > Host dialog is still shown. We talked about skipping it if the list only > contains localhost So no error at this point. AFAIS, this should go to Bug 39668. Otherwise I do not see any errors.
OK
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".