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

Exception "Adding causes a smaller list?" in ListModelList

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 8.0.0
    • None
    • None

      I've encountered a bug using ListModelList. I've created a test case (a zul file and a ViewModel).

      When I try to add an element to a ListModelList through a command, it works the first time, but then I get this error: "Adding causes a smaller list?"

      Additionnal information:

      • If I change the ListModelList and use a List, the exception doesn't occur.
      • If I change the zul to use tabs, the exception doesn't occur either:
        <tabbox model="@load(vm.beans)">
        	<template name="model:tab">
        		<tab label="@load(each.label)" />
        	</template>
        	<template name="model:tabpanel">
        		<tabpanel>
        			<label value="@load(each.label)" />
        		</tabpanel>
        	</template>
        </tabbox>
        

            Unassigned Unassigned
            MathieuPiette MathieuPiette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: