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

Websocket implementation causing issues with PE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: Freshly, 8.5.0
    • Fix Version/s: 8.5.0
    • Component/s: ZK Update Engine
    • Security Level: Jimmy
    • Labels:
      None
    • Environment:

      CE / PE

      Description

      Steps to Reproduce

      run ZK using CE or PE

      trigger an event to server:

      <button onClick=""/>
      

      Current Result

      zk.wpd:formatted:12597 Uncaught ReferenceError: zWs is not defined
          at Object.sendNow (zk.wpd:formatted:12597)
          at zk.wpd:formatted:12267
      

      Expected Result

      no error

      Root Cause

      incorrect checks for undefined variables
      e.g.:
      https://github.com/zkoss/zk/blob/6b4ae14a691e663ab8199e4315aeb4c662544b56/zk/src/archive/web/js/zk/au.js#L712

        Attachments

          Activity

            People

            Assignee:
            wenninghsu wenninghsu
            Reporter:
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m