-
Bug
-
Resolution: Fixed
-
Major
-
9.6.3
-
None
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
1. click refresh button several times
2. run VisualVM, do a heap dump of the application, check the number of NoDOM object
Current Result
the number of NoDOM objects increases after each refresh
Expected Result
- there should be no NoDOM since the shadow elements have a parent component
- the number of NoDOM object should not increase and should be released
Debug Information
- The following cases don't cause the bug
<forEach items="@init(vm.numbers)"> <apply template="test"/> </forEach> <template name="test"> ${each} </template>
<forEach items="@init(vm.numbers)"> <choose> <when test="false"> <div style="color:blue">${each}</div> </when> <otherwise> <div style="color:orange">${each}</div> </otherwise> </choose> </forEach>
Workaround
<forEach items="@init(vm.numbers)"> <if test="@init(each % 2 eq 0)"> <div style="color:blue">${each}</div> </if> <if test="@init(each % 2 ne 0)"> <div style="color:orange">${each}</div> </if> <forEach items="@init(vm.numbers)">
- is blocked by
-
ZK-3630 shadow components inside a Listbox' template cause an exception
- Closed