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

client bind fails when merging zul.mesh into zk.wpd

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.0.0-Beta
    • None

      Steps to Reproduce

      1. load lang-addon.xml in zk.xml
        	<language-config>
        		<addon-uri>/WEB-INF/lang-addon.xml</addon-uri>
        	</language-config>
        
      2. include client-bind.jar
      3. visit any zul

      Current Result

      client mvvm cannot work anymore.

      clientbind.wpd:6 ReferenceError: zkbind is not defined
          at 5363 (clientbind.wpd:3:52734)
          at __webpack_require__ (clientbind.wpd:3:533074)
          at clientbind.wpd:3:533863
          at clientbind.wpd:3:535316
          at clientbind.wpd:3:535623
          at q (zk.wpd:5:1087623)
          at Function.s [as setLoaded] (zk.wpd:5:1087950)
          at zk.wpd:12:48
          at q (zk.wpd:5:1087623)
          at Function.s [as setLoaded] (zk.wpd:5:1087950)
      

      Expected Result

      no error

      Debug info

      only happen for zul.mesh, other packages like zul.wnd, zul.sel don't cause this error.

      Workaround

      don't use <javascript package="zul.mesh" merge="true"/>

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: