error in report: copyInstance missing
I'm trying to run a report to generate a chart. It worked when my RTC server was at 3.0, but after the administrators updated to 3.0.1, the report now fails.
Anybody seen this before:
Is this something we need to fix in the report? Is it something the administrator needs to fix on the server? The report design has this code inside a javascript block (just one example of using the copyInstance method):
|
4 answers
Very strange. RTC 3.0 and RTC 3.0.1 use the same version of BIRT. Can you please file a defect and attach a small report design file that causes the error.
|
Can you please file a defect and attach a small report design file that causes the error. filed as defect 188439 |
A variant of the report is in RTC 4.0, apparently (according to the bug info).
Is there a fix we can make to our 3.0.1 (maybe 3.0.1.1) server or report definition to make it work again? |
I needed two updates to the report design I was using.
(1) change all references like this: var newLegend = TextImpl.copyInstance(oldLegend); to this: var newLegend = oldLegend.copyInstance(); (2) Change the output format from SVG to PNG (better browser compatibility): <property>SVG</property> to this: <property>PNG</property> |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.