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

client-bind fails for zk.$extends created widget classes, without ClientBindComposer declared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 10.0.0
    • 10.0.0, 10.0.0.FL
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      Run with client-bind
      https://zkfiddle.org/sample/1lhfh7m/2-Client-bind-extends

      Current Result

      page fails with JS error.

      Uncaught TypeError: Cannot convert undefined or null to object
          at hasOwnProperty (<anonymous>)
          at b.n [as constructor] (clientbind.wpd:3:5256)
          at new b (zk.wpd:5:1108501)
          at z.bind_ (clientbind.wpd:3:464818)
          at e.bind_ (zk.wpd:9:39764)
          at z.bindChildren_ (zk.wpd:5:1133183)
          at z.bind_ (zk.wpd:5:1132719)
          at o (clientbind.wpd:3:464888)
          at b.bind_ (clientbind.wpd:3:465491)
          at e.bind_ (zk.wpd:9:39764)
      n @ clientbind.wpd:3
      b @ zk.wpd:5
      bind_ @ clientbind.wpd:3
      e.bind_ @ zk.wpd:9
      z.bindChildren_ @ zk.wpd:5
      z.bind_ @ zk.wpd:5
      o @ clientbind.wpd:3
      bind_ @ clientbind.wpd:3
      e.bind_ @ zk.wpd:9
      z.bindChildren_ @ zk.wpd:5
      z.bind_ @ zk.wpd:5
      o @ clientbind.wpd:3
      bind_ @ clientbind.wpd:3
      z.bind @ zk.wpd:5
      z.replaceChildHTML_ @ zk.wpd:5
      z.replaceHTML @ zk.wpd:5
      h @ zk.wpd:5
      l @ zk.wpd:5
      q @ zk.wpd:5
      s @ zk.wpd:5
      (anonymous) @ zul.utl.wpd:15
      q @ zk.wpd:5
      s @ zk.wpd:5
      (anonymous) @ zul.utl.wpd:15
      

      Expected Result

      Page loads

      Debug Information

      Seem to affect any classes created from zk.$extends, not tied to specific methods.

      Workaround

      n/a

            DevChu DevChu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: