Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug ---

Title: [birt-dev]CheckIn: Fix Bugzilla Bug ---

Summary 

Bugzilla Bug (s) Resolved:
112161 NullPointerException when render html from report document which generated from report containing library.

Description:
Why:
        The MODEL use the "systemId" (the design file name) as the base path to load the resourced defined in the report design. If the report design is loaded from the report document, the base path is NULL. So all the resource defined in the report design is missing (including the library).

        The attached report design contains libraires which is referenced by relative path.
Fix:
        save the original report design file name to the report document, and re-set it while loading the report document.

 
Test Description:
Manual Test
 
Files Edited:
cvs ci -m "save the report design file name into the report document." -l "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/ReportEngine.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportDocumentWriter.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/api/impl/ReportDocumentReader.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan




Back to the top