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

Resending request is broken after ZK-3709

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.5.0
    • Fix Version/s: 9.5.0
    • Component/s: ZK Client Engine
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 9.5.0 S1

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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