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

Exception "Adding causes a smaller list?" in ListModelList

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 8.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      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>
        

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: