Bug 157418 Nest page-break-interval fails in subQuery
Description: Nest page-break-interval fails in subQuery Steps to reproduce: 1. New sample data source and dataset from table Customers 2. Insert a table, bind it with dataset, add a group on country, insert a data item in detail row to display CUSTOMERNUMBER column. 3. Insert another table to outer table's group header without binding any dataset, insert data item to inner table's detail row with dataSetRow["CUSTOMERNUMBER"]. 4. Set page-break-interval to 5 for outer table and 3 for inner table 5. Preview in web viewer. Expected result: Page break happens after 5 data rows in outer table. Page break happens after 3 data rows in inner table. Actaul result: Incorrect effect. Preview attached report and see page 8, page break happens for outer table after displaying only 3 data rows instead of 5 data rows.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ListItemExecutor.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.executor;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.content.IListContent;
import org.eclipse.birt.report.engine.ir.ListItemDesign;
import org.eclipse.birt.report.engine.script.internal.ListScriptExecutor;
/**
 * Defines execution logic for a List report item.
 * 
 * @version $Revision: 1.40.2.1 $ $Date: 2006/09/04 08:26:37 $
 */
public class ListItemExecutor extends ListingElementExecutor