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

Client-bind causes page with charts to fail to load without mvvm bindings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 10.0.0
    • 10.0.0-Beta
    • None
    • None

      Steps to Reproduce

      Run with ZK 10 beta, with client-bind dependency loaded through maven / graddle, but without ClientBindComposer set as default, or the ClientBindListener declared in zk.xml

      page content:

      <zk>
      	<window >
      		<charts></charts>
      	</window>
      </zk>
      

      Current Result

      page fails to load with error in JS console

      clientbind.wpd:3 Uncaught TypeError: Cannot convert undefined or null to object
          at hasOwnProperty (<anonymous>)
          at $subclass$.n [as constructor] (clientbind.wpd:3:5256)
          at new $subclass$ (zk.wpd:28072:28)
          at init.bind_ (clientbind.wpd:3:464818)
          at Widget.bind_ (zk.wpd:38819:28)
          at init.bind_ (za11y.wpd:5731:22)
          at ZKObject.$supers (zk.wpd:35277:23)
          at init.bind_ (chart.wpd:200362:8)
          at Widget.bindChildren_ (zk.wpd:30645:70)
          at Widget.bind_ (zk.wpd:30607:29)
      

      Expected Result

      page loads without error

      Debug Information

      appear to be caused by charts present in page

      Workaround


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

              Created:
              Updated:
              Resolved: