| Summary: | Script error when using total in chart bookmark and define link. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Liwen Chen <lchen> | ||||
| Component: | BIRT | Assignee: | Yulin Wang <Lionel.wyl> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | dmichonneau, qwang | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 2.2.0 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | Non-Auto | ||||||
| Bug Depends on: | 132768, 187496 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Liwen Chen
Created attachment 41075 [details]
report design
No this problem in latest version. Please verify. REOPEN IT. The error only occurs when the chart type is "svg" and the bookmark includes total function. Is this because the chart is not support total funciton and will cause the problem of svg? Chart does not support total, it has been removed from the expression builder in chart in the latest build, please verify. In latest build, I still can define such bookmark in Property Editor for chart, so this issue still exists. If chart doesn't support total in Property Editor, I think this bug's resolution should be won't fix we need to disable total in expression builder in property editor too. Is it possible? please see David's comment on diabling total is property editor. (In reply to comment #8) please see David's comment on disabling totals in property editor. It looks like we can't disable the total in property editor. I reassign to UI team to give more control on the expression builder from the property editor for extended items. At GUI side, we can know if the extended item support total or not. That control have to be done by chart. GUI can provide more api to help chart do it. We indeed need this API from the GUI team. Reassigning to GUI team to get additional API, that's actually what I meant in comment#10. Reassigning to GUI team to get additional API, that's actually what I meant in comment#10. Reassigning to GUI team to get additional API, that's actually what I meant in comment#10. As discussed with Zhiqiang, looks GUI can't help for this issue. Can chart team provide more info about the api you need? Yulin, please detail what API is needed from the designer side to implement that behavior. There are uncertain factors to fix this, such as how to support customized pages in designer side. deferred to future as requested by designer team, due to the complexity of introducing an extension point at such a late stage of the release. Suggest deferring this, since it needs to implement a customized UI in property editor Does the new property editor framework support this? Yes, We already provide the extensible property editor framework. Is this an obsolete issue? We should support total by now, it has been moved in the databinding definition anyway? Engine has supported Total now. It's indeed an obsolete bug. We will enable UI for Total in chart builder, and do not need to change property editor any more. Note that in attached report, link to bookmark should be 2. Total in expression builder is invisible by default (see Bug#187496), and chart builder will remove the expression filter to use the default expression trees. However, for this bug, Total function still works even if it can not be selected from expression builder. Verify in build 2.2.0.v20070528 |