Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug -- 117608 Render report page raises exception and mutiple enhancement

Title: [birt-dev]CheckIn: Fix Bugzilla Bug -- 117608 Render report page raises exception and mutiple enhancement

Summary 

Bugzilla Bug (s) Resolved:
117608    Render report page raises exception.

Description:
117608:
Why:
        While saving the report content, it saves the page header twice instead of header and footer. In the test design, the header is empty and the footer contains one item. Then in rend task, it tries to load the footer from the empty stream, it failes and throw an exception.

Fix:
        Save the page header and footer.

Add ZIP archive support
Add open/close in the IDocumentArchive, in the open(), it wil unzip the contents for zip archive, in the close, it rezips the content to zip file.

Change the RenderTask/RunTask to support zip archive
Call open/close in the RenderTask and RunTask.

Chage the ReportRunner to support Run, Render and RunAndRenderTask

Add a paramter -m (mode  can be one of the Run, Render and RunAndRender) to execute run, render and runAndRenderTask.

 
Test Description:
Unit test for archives and Manual test for others
 
Files Edited:

cvs ci -m "fix bug 117608, add ZIP archives, add run, render, runAndRenderTask in report runner" -l "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/IDocumentArchive.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/DocumentArchive.java" "/org.eclipse.birt.core/test/org/eclipse/birt/core/archive/DocumentArchiveTest.java"

***
cvs ci -m "fix bug 117608, add ZIP archives, add run, render, runAndRenderTask in report runner" -l "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/ReportRunner.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportEngineHelper.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/ReportContentLoader.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/ReportDocumentEmitter.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RenderTask.java"


Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan




Back to the top