Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug --- 119815 Relative path isn't supported in drill-through link as report, 120500 Eclipse 3.0: Hyperlink to other report, system reports error.

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 119815 Relative path isn't supported in drill-through link as report, 120500 Eclipse 3.0: Hyperlink to other report, system reports error.

Summary 

Bugzilla Bug (s) Resolved:

Description:
119815 Relative path isn't supported in drill-through link as report,
120500 Eclipse 3.0: Hyperlink to other report, system reports error.

Engine use MODEL's findResource API to find the relative resource. This API return a URL which specify the local resource. To translate the URL to file, ENINE uses following codes:

        new File(new URI(url.toString()))

Which successed in java 1.4.3_03 but failed in 1.4.3_08 or following.

Change the source code to:
        URL.getFile() to get the file path.

 
Test Description:
Manul Test, test in LiWen's machine which is 1.4.3_08.
 
Files Edited:
cvs ci -m "fix bugs in drillthrough link" -l "/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java"

"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ReportItemExecutor.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ImageItemExecutor.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/HTMLActionHandler.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan




Back to the top