-
Bug
-
Resolution: Fixed
-
Critical
-
8.0.4.1
-
Security Level: Jean
-
None
Steps to Reproduce
run the attached example notify-nested-ref.zul OR notify-nested-ref2.zul
both create the same output
click the left "+1" button
click the right "+1" button
Current Result
the left label age is only updated after the right "+1" button for person 2 is clicked
Expected Result
the age labels should increment individually when either button is clicked
Debug Info
notify-nested-ref.zul shows a simplified scenario using shadow elements
notify-nested-ref2.zul shows the same without using shadow elements, to prove it also happens without shadow elements
the zul files contain comments with additional hints:
e.g. moving the person.name label after the age label will fix the problem for unknown reasons.
Workaround
avoid references partially sharing the same path
e.g. change
person="@ref(couple.person2)" details="@ref(couple.person2.personalDetails)"
to
person="@ref(couple.person2)" details="@ref(person.personalDetails)"