-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 9.5.0
-
Component/s: None
-
Security Level: Jimmy
-
None
-
ZK 9.5.1 S1
-
None
Steps to Reproduce
Run attached zul / java (doesn't work on fiddle)
Click on "form1" -> "close" -> "form2" -> "close"
Current Result
The save _saveFormFields in binder associated with that form still contain the property associated to template number 1
Saved Form Field Names in Binder: [formContent.commonProp, *formContent.prop1,* formContent.prop2]
This will cause exceptions when saving since the binding tries to access a component that no longer exist
Expected Result
Bindings associated to removed components should also be removed
Debug Information
Workaround
run binder.removeSaveFormFieldNames((Form) myform); when closing the template.