-
Bug
-
Resolution: Fixed
-
Normal
-
9.0.0, 9.0.1.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 9.5.0 S1
-
None
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" />