Bug 53115 - TypeError: Cannot read property 'setDetails' of null
TypeError: Cannot read property 'setDetails' of null
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on: 40648
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-16 10:50 CEST by Johannes Keiser
Modified: 2021-04-16 10:50 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 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)"