Univention Bugzilla – Bug 53115
TypeError: Cannot read property 'setDetails' of null
Last modified: 2021-04-16 10:50:35 CEST
Encountered again in the UCS 5.0 product tests Reproduce - Open "LDAP Directory" module - select root container (happens with other containers too) - add "Group" type object (happens with other types too) -> error message in console TypeError: Cannot read property 'setDetails' of null udm.js:2027: this._newObjectDialog.setDetails(this._detailPage, template, properties); +++ This bug was initially created as a clone of Bug #40648 +++ Just stumbled upon this exception when using the LDAP-Directory in UMC after creating a container. I don't know what side effect it has, maybe that templates don't work? It seems to be a side effect of Bug #38190. this._newObjectDialog.setDetails(this._detailPage, template, properties); fails with: TypeError: Cannot read property 'setDetails' of null(…) "TypeError: Cannot read property 'setDetails' of null at null.<anonymous> (https://xen3/univention-management-console/js_$20161202113821$/umc/modules/udm.js:1676:27) at https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:819:130 at e (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:337) at h (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:263) at resolve (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:768:352) at https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:1916:111 at e (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:337) at h (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:263) at resolve (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:768:352) at e (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:337) ---------------------------------------- rejected at a (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:767:243) at e (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:496) at h (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:263) at resolve (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:768:352) at https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:1916:111 at e (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:337) at h (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:263) at resolve (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:768:352) at e (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:337) at h (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:263) ---------------------------------------- Error at then.b.then (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:769:143) at declare.createDetailPage (https://xen3/univention-management-console/js_$20161202113821$/umc/modules/udm.js:1668:28) at null.<anonymous> (https://xen3/univention-management-console/js_$20161202113821$/umc/modules/udm.js:1566:10) at null.<anonymous> (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:819:130) at b.(anonymous function).t [as onFirstPageFinished] (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:1490:483) at declare.buildCreateWizard (https://xen3/univention-management-console/js_$20161202113821$/umc/modules/udm/NewObjectDialog.js:198:9) at null.<anonymous> (https://xen3/univention-management-console/js_$20161202113821$/umc/modules/udm/NewObjectDialog.js:178:11) at https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:819:130 at e (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:766:337) at then.b.then (https://xen3/univention-management-console/js_$20161202113821$/dojo/dojo.js:769:198)"