| Summary: | reportContext.getPageVariable("pageNumber") will return totalPage not pageNumber | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | yadong xu <sssxyd> |
| Component: | BIRT | Assignee: | Gang Liu <hustlg> |
| Status: | RESOLVED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier, ghigad |
| Version: | 2.6.1 | ||
| Target Milestone: | 3.7.1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed. *** Bug 363055 has been marked as a duplicate of this bug. *** |
Build Identifier: Build id: 20100917-0705 in the method: org.eclipse.birt.report.engine.executor.ExecutionContext.getPageVariable(String) You guys spell wrong word. if ( "pageNumber".equals( name ) ) { return Long.valueOf( totalPage ); } Reproducible: Always Steps to Reproduce: 1.create a report with at least two pages. 2.print pageNumber with script reportContext.getPageVariable("pageNumber"). 3.run.