[ https://issues.apache.org/jira/browse/OFBIZ-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-7014: ----------------------------------- Description: when creating a <grid type=list> or <form type=list> to display a listing. the first entry is alway empty Use this sample form to see the symptom: {code} <grid name="TestForm" type="list" list-name="theList"> <actions> <entity-condition entity-name="Product" list="theList"> <condition-list combine="and"> <condition-expr field-name="productTypeId" operator="equals" value="FINISHED_GOOD"/> </condition-list> </entity-condition> </actions> <row-actions> <set field="productId" value="${previousItem.productId}" /> <set field="productTypeId" value="${previousItem.productTypeId}" /> </row-actions> <field name="productId" title="productIdTitle"> <display/> </field> <field name="productTypeId" title="productTypeIdTitle"> <display/> </field> </grid> {code} was: when creating a <grid type=list> or <form type=list> to display a listing. the first entry is alway empty Use this sample form to see the symptom: <grid name="TestForm" type="list" list-name="theList"> <actions> <entity-condition entity-name="Product" list="theList"> <condition-list combine="and"> <condition-expr field-name="productTypeId" operator="equals" value="FINISHED_GOOD"/> </condition-list> </entity-condition> </actions> <row-actions> <set field="productId" value="${previousItem.productId}" /> <set field="productTypeId" value="${previousItem.productTypeId}" /> </row-actions> <field name="productId" title="productIdTitle"> <display/> </field> <field name="productTypeId" title="productTypeIdTitle"> <display/> </field> </grid> > <form type=list> listing always contain empty first entry > --------------------------------------------------------- > > Key: OFBIZ-7014 > URL: https://issues.apache.org/jira/browse/OFBIZ-7014 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Trunk > Reporter: Wai > > when creating a <grid type=list> or <form type=list> to display a listing. > the first entry is alway empty > Use this sample form to see the symptom: > {code} > <grid name="TestForm" type="list" list-name="theList"> > <actions> > <entity-condition entity-name="Product" list="theList"> > <condition-list combine="and"> > <condition-expr field-name="productTypeId" > operator="equals" value="FINISHED_GOOD"/> > </condition-list> > </entity-condition> > </actions> > <row-actions> > <set field="productId" value="${previousItem.productId}" /> > <set field="productTypeId" value="${previousItem.productTypeId}" > /> > </row-actions> > <field name="productId" title="productIdTitle"> <display/> </field> > <field name="productTypeId" title="productTypeIdTitle"> <display/> > </field> > </grid> > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)