Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4646

make a treeitem invisible causes a javascript error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.5.1, 9.1.0
    • Fix Version/s: 9.5.0
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      Steps to Reproduce

      1. run the attached zul
      2. expand the first node

      Current Result

      zk.wpd:48151 Uncaught TypeError: Cannot read property 'isClientRodEnabled' of null
      at init.setVisible (zk.wpd:48151)
      at Function._set2 (zk.wpd:12115)
      at init.setter.func (zk.wpd:20680)
      at init.zk.Widget.zk.$extends.set (zk.wpd:20708)
      at create (zk.wpd:26158)
      at create (zk.wpd:26170)
      at create (zk.wpd:26170)
      at mtAU (zk.wpd:26058)
      at zkx (zk.wpd:26245)
      at zkx_ (zk.wpd:26261)

      Expected Result

      • no error
      • the treeitem named "invisible" is hidden

      Workaround

      • create treerow and treecell and call treerow.setVisible(false)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rudyhuang rudyhuang
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h