Univention Bugzilla – Bug 39863
policy editing detail page is not closable anymore
Last modified: 2015-11-17 12:11:37 CET
The patch introduced the following side effect: The detail page for editing / adding policies can't get closed anymore. 1. open a object (e.g. a user) 2. click on the policy tab 3. choose any policy and click 'Create policy' 4. a new detail page gets opened which cannot be closed anymore (neither save nor cancel) (5.) after saving a second time a error message is shown +++ This bug was initially created as a clone of Bug #39779 +++ Probably due to the changes with Bug 38190, the multi-edit feature does currently not work and shows a traceback. +++ This bug was initially created as a clone of Bug #38190 +++ If I open a user on demo.univention.de, it took between 2 to 4 seconds. A user should be opened in less than a second.
TypeError: Cannot read property 'resolve' of null at declare.createDetailPage (http://10.200.27.40/univention-management-console/js_$20151011025729$/umc/modules/udm.js:1654:27) at b._hitchArgs (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:818:321) at e (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:766:337) at f.then.b.then [as then] (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:769:198) at declare.buildRendering (http://10.200.27.40/univention-management-console/js_$20151011025729$/umc/modules/udm.js:295:30) at c.create (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1334:125) at c.postscript (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1333:99) at new <anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1158:192) at null.<anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1263:435) at b.hitch (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:819:130) "TypeError: Cannot read property 'resolve' of null at declare.createDetailPage (http://10.200.27.40/univention-management-console/js_$20151011025729$/umc/modules/udm.js:1654:27) at b._hitchArgs (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:818:321) at e (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:766:337) at f.then.b.then [as then] (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:769:198) at declare.buildRendering (http://10.200.27.40/univention-management-console/js_$20151011025729$/umc/modules/udm.js:295:30) at c.create (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1334:125) at c.postscript (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1333:99) at new <anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1158:192) at null.<anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1263:435) at b.hitch (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:819:130) ---------------------------------------- rejected at a (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:767:243) at e (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:766:496) at f.then.b.then [as then] (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:769:198) at declare.buildRendering (http://10.200.27.40/univention-management-console/js_$20151011025729$/umc/modules/udm.js:295:30) at c.create (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1334:125) at c.postscript (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1333:99) at new <anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1158:192) at null.<anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1263:435) at b.hitch (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:819:130) at e (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:766:337) ---------------------------------------- Error at f.then.b.then [as then] (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:769:143) at declare.buildRendering (http://10.200.27.40/univention-management-console/js_$20151011025729$/umc/modules/udm.js:295:30) at c.create (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1334:125) at c.postscript (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1333:99) at new <anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1158:192) at null.<anonymous> (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1263:435) at b.hitch (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:819:130) at e (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:766:337) at f.then.b.then [as then] (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:769:198) at l.openModule (http://10.200.27.40/univention-management-console/js_$20151011025729$/dojo/dojo.js:1261:412)"
*** Bug 39865 has been marked as a duplicate of this bug. ***
I think we need to fix it for 4.1 and we should add a backport for 4.0-3 + 4.0-4.
this._ldapNameDeferred wasn't created yet in the case the detail page was opened via topic.publish / openObject property. No changelog required.
udm 6.0.11-1.632.201511111112 I reproduced the bug by the description of comment 1. After the patch it's again possible to save the policy or cancel the site. OK - Fix OK - No changelog required.
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".