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

JavaScript error when PDF Viewer is closed while it's loading a huge page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 9.5.0.2
    • Fix Version/s: 9.5.1
    • Component/s: Components
    • Labels:
    • Environment:

      Test

      Description

      Steps to Reproduce

      • Create a PDF page with a big image in it (so that loading this data takes a long time)
      • Open the PDF in the PDF viewer component
      • Close the PDF viewer before the loading of the page is complete

      Current Result

      JavaScript error "Cannot read property 'lastChild' of undefined"

      Expected Result

      The PDF viewer in the browser should cancel pending requests or silently swallow them.

      Debug Information

      The affected compoent is org.zkoss.zkex.zul.Pdfviewer

      Workaround

      Haven't found one, yet

        Attachments

        1. ZK-4754.odt
          2.14 MB
        2. ZK-4754.pdf
          2.34 MB

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                3h