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

Listbox Partial invalidate breaks popup ROD

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 9.5.0
    • 9.0.0, 9.0.1.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 9.5.0 S1

    Description

      Steps to Reproduce

      https://zkfiddle.org/sample/2kjguos/6-Cannot-read-property-z-vp-of-undefined

      run fiddle, press refresh twice

      Current Result

      after 1st refresh, popup button no longer works,

      after 2nd refresh, Failed to mount: Cannot read property 'z_vp' of undefined

      Expected Result

      no conflict with Popup and partialInvalidate

      Debug Information

      Tied to ROD.

      If the popup is opened (and ROD triggers) before the first refresh, then the issue doesn't appear.

      after 1st refresh, the _rod attribute on the popup is null, so it's lost somewhere during the 1st partial invalidate.

      At this point, the popup is unrendered, but also don't have a _rod loader anymore.

      Workaround

      <custom-attributes org.zkoss.zul.client.rod="false" />

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified