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

Resending request is broken after ZK-3709

XMLWordPrintable

    • ZK 9.5.0 S1

      Steps to Reproduce

      <zk>
          <button label="click me" onClick="" />
      </zk>
      
      1. Browse any ZUL page, then stop the server.
      2. Click something that sends the data to the server.
      3. In a confirmation dialog, choose yes to resend.

      Current Result

      Uncaught (in promise) ReferenceError: ajaxReqResend is not defined
          ajaxSendNow 
          promise callback*ajaxSendNow
          sendNow 
          ajaxSend2 
      

      Expected Result

      No JS error

      Debug Information

      In ZK-3709 / ZK-550, the method ajaxReqResend was moved to zAu object.
      https://github.com/zkoss/zk/blob/69ce6763661b1c94b183978c1a277bc93fd4d206/zk/src/archive/web/js/zk/au.js#L290
      https://github.com/zkoss/zk/blob/69ce6763661b1c94b183978c1a277bc93fd4d206/zk/src/archive/web/js/zk/au.js#L1056

      Workaround

            Leon03 Leon03
            rudyhuang rudyhuang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified