-
Bug
-
Resolution: Fixed
-
Major
-
8.5.1
-
Security Level: Jean
-
ZK 8.5.2 S1, ZK 8.5.2 S2
Steps to Reproduce
run either of the 2 attachments
click the button
Current Result
Uncaught TypeError: Cannot read property 'value' of undefined at init.bind_ (zul.inp.wpd:803) at init.$supers (zk.wpd:11754) at init.bind_ (zul.inp.wpd:1917) at init.bindChildren_ (zk.wpd:21102) at init.bind_ (zk.wpd:21065) at init.$supers (zk.wpd:11754) at init.bind_ (zk.wpd:30016) at init.$supers (zk.wpd:11754) at init.bind_ (zul.wnd.wpd:1132) at init.bindChildren_ (zk.wpd:21102)
tree-only-colSpan-error.zul ->
zul.sel.wpd:1596 Uncaught TypeError: Cannot set property 'colSpan' of undefined at _fixForEmpty (zul.sel.wpd:1596) at zul.sel.wpd:1768 at init.bind (zk.wpd:20986) at init._onDataLoading (zk.wpd:39557) at init._redrawRod (zk.wpd:39588) at init.onResponse (zk.wpd:39563) at _invoke (zk.wpd:15000) at init.fire (zk.wpd:14983) at zk.wpd:15121
Expected Result
no JS error
Debug Info
the error happens when adding a treeitem with hidden children containing certain components
the 2 cases here demonstrate this for textbox and listbox (other components are likely affected)
Root Cause
potential side effect of ZK-3835 (8.5.1) since the workaround is to disable client ROD for the tree
Workaround
disable client rod for the surrounding tree or the individual hidden treeitem children
as commented out in the attachments (either of the commented out lines avoids the error)