Actions
Bug #4979
closedROML has type of ReportInstance instead of ReportLayout in kar manifest
Status:
Resolved
Priority:
Normal
Assignee:
Category:
reporting
Target version:
Start date:
05/04/2010
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
4979
Description
E.g.:
Name: Unnamed1_ROML.xml
dependsOnModule: reporting
handler: org.kepler.kar.handlers.ReportLayoutKAREntryHandler
lsid: urn:lsid:kepler-project.org/ns/:951:2:1
type: org.kepler.reporting.rio.ReportInstance
dependsOn: urn:lsid:kepler-project.org/ns/:951:1:4
I believe this is because calling reportLayout.getClass().getName() in ReportLayoutKAREntryHandler saveReportLayout sometimes returns ReportInstance. I'm not sure why yet.
Related issues
Updated by Derik Barseghian over 14 years ago
discussed with Ben, the ReportLayout is a ReportInstance during open, so for reference, we decided the best soln was to make this change in ReportLayoutKAREntryHandler:
//entry.setType(reportLayout.getClass().getName());
entry.setType(ReportLayout.class.getName());
Actions