Community
Participate
Working Groups
Build Identifier: 2.6.0 We have a custom emitter for a specific format and the format String contains a slash, e.g. "my/format". Since Birt 2.5.x such a format String breaks the visibility evaluation in ReportEngine: when configuring to "Hide Element" for output "my/format" then no visibility rules at all are applied for this report item. Reproducible: Always Steps to Reproduce: 1. Create report with some report item (e.g. Text) 2. Configure visibility: hide element for outputs "html" and "pdf" 3. Goto XML Source and add a rule for "my/format" (workaround for having such a emitter: <structure> <property name="format">my/format</property> <expression name="valueExpr" type="javascript">true</expression> </structure> 4. Do preview / view report as PDF Expected result: Visibility rules does take effect - report item is hidden. Actual result: Visibility rules does NOT take effect - report item is visible (same in custom emmitter).
This bug can't be reproduced on latest build.
Created attachment 175484 [details] visibility test Attached a test report containing 2 text report items: - first not visibile for html, pdf, my/format - second not visible for html, pdf result: first is always visible (obviously wrong), second not visible for html and pdf output tested with build 2_6_1-N20100729
It's reproducible with the report.
Will add restriction that the name of format must follow the java identifier convention. That is, a format must begin with a letter, the dollar sign "$", or the underscore character "_". Subsequent characters may be letters, digits, dollar signs, or underscore characters. Please follow this convention.
fixed. Now error is shown when format contains illegal characters.