Univention Bugzilla – Bug 33004
Traceback when opening the policies tab of a container
Last modified: 2014-01-29 11:19:39 CET
JavaScript error: > TypeError {} "TypeError: Cannot read property '$linkWidget$' of null In line 973 in DetailPage: > var container = iwidget._rowContainers[j]; > if (!container.$linkWidget$) { > ... For UCR policy values, references are added to their corresponding policies. There seems to be a ready() call missing as the MultiInput does not seem to be finished: > iwidget._rowContainers > [Object, null, null] This error leads to incorrectly displayed policy references for UCR policy values. Not sure whether this problem could have other side effects.
This should be a side effect of Bug 26214.
Maybe a duplicate of Bug 32902?
(In reply to Alexander Kläser from comment #2) > Maybe a duplicate of Bug 32902? Not duplicate, but related to Bug 32902?
(In reply to Alexander Kläser from comment #0) > There seems to be a ready() call missing Yes, fixed that in univention-management-console-module-udm 4.0.97-12.428.201312131728 (In reply to Alexander Kläser from comment #3) > Not duplicate, but related to Bug 32902? Yes, changed behaviour of MultiInput in Bug#32902 and did not adjust UDM module accordingly. YAML created
There was another issue in the part of the code which I fixed (bug description in YAML fitted): UCR policies may sum up, i.e. computers-container-UCR-policy and actual-computer-UCR-policy are both active at the same time. The UMC widget for this case is a multi input with one link per "UCR line" which can be used to edit the policy directly. When having multiple policies active at the same time this goes wrong: There is a JS error and there are not enough links and some may be wrong. Fixed in univention-management-console-module-udm 4.0.97-13.429.201401061404
Created attachment 5713 [details] Policy 2 only sets two of the four policies Screenshot shows the bug described above: The links get messed up when multiple UCR policies are used here.
OK no exception raised OK policy values are correctly linking to the referenced policy YAML: OK
http://errata.univention.de/ucs/3.2/38.html