Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 213969

Summary: [Improve Page Break Management] [Automation][Regression]Script on page break does not work
Product: z_Archived Reporter: Wen Lin <wlin>
Component: BIRTAssignee: Gang Liu <hustlg>
Status: CLOSED DUPLICATE QA Contact: mindan xu <mindan.xu>
Severity: normal    
Priority: P3 CC: bluesoldier, wenfeng.fwd, wyan, xwang
Version: 2.3.0Keywords: plan
Target Milestone: 2.5.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
report design none

Description Wen Lin CLA 2007-12-28 04:21:30 EST
Description:
  Set a script on page break to change a parameter value, but it does not work at all.

Test Date:
20071228

Test Build:
BIRT2.3.0 Daily Build: v20071228-1005

Step to reproduce:

1. Use the report attached
2. Preview it in web viewer

Expect result:
The second page's footer should be "page-break-after:always"

Actual result:
The footer does not change.
Comment 1 Wen Lin CLA 2007-12-28 04:21:55 EST
Created attachment 85899 [details]
report design
Comment 2 Gang Liu CLA 2007-12-29 03:09:45 EST
Engine can not support this case since m4.
Now the execution logic of master page had been changed. Engine only execute  one time for each master page design. Please refers to #198221. So the values (except auto text)in masterpage are the same in different pages.
Suggest removing this case from automation test.
Comment 3 Wei Wang CLA 2007-12-29 04:02:19 EST
*** Bug 213979 has been marked as a duplicate of this bug. ***
Comment 4 Wen Lin CLA 2007-12-29 04:13:35 EST
Because engine only execute one time for each master page design, script on page break in masterpage does not take any effect at all. 
So if we does not support this feature, we should remove this feature from designer.
Comment 5 Wei Yan CLA 2008-01-01 20:00:43 EST
before we have a well design of page model, UI needn't do any changes.
Comment 6 Wei Yan CLA 2008-05-28 22:32:04 EDT
defer to next major milestone. We need resolve most of the page-break/page-number/page-script issues together.
Comment 7 Wei Yan CLA 2009-02-04 03:31:43 EST
need more time to resolve those issues.
Comment 8 Wei Yan CLA 2009-04-27 23:29:33 EDT
defer to RC1 due to resource limitation.
Comment 9 Wei Yan CLA 2009-05-15 03:46:01 EDT
BIRT support a new page script framework, see 159857.

*** This bug has been marked as a duplicate of bug 159857 ***
Comment 10 mindan xu CLA 2009-05-17 23:05:28 EDT
Verified
Comment 11 Wen Lin CLA 2009-05-21 00:45:30 EDT
Closed