| Summary: | Empty Subgroup bookmarks when exporting to PDF | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | David <dldeveloper21> | ||||
| Component: | BIRT | Assignee: | Birt-Report-inbox <Birt-Report-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Xiaoying Gu <bluesoldier> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bluesoldier, jouyang, yChen | ||||
| Version: | 2.6.0 | ||||||
| Target Milestone: | 3.7.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
David
Created attachment 179029 [details]
Screenshot of PDF with issue
Suppressing these empty bookmarks may be not the right way. If these bookmarks do not have their destinations, what's the point to create them out? If they have their destinations, they should be assigned readable display names. Right? If we simply suppress these empty bookmarks, the users will not be able to jump to the destinations where these empty bookmarks point to, and the Table Of Content hierarchy is actually broken. Another case we have to consider is one empty bookmark have nonempty child bookmarks. If so, we can't hide it even it is empty. I don't think this is a bug. The report designer has the duty to ensure the bookmark has a readable display name. If I missed anything, please correct me. The case I brought up is where a parent group does not have any child group data but there is still an unnecessary bookmark created for the child group. For example some sample data below for a report: --------------------- Subject A MISSING MEASUREMENT 5.6 6.2 MISSING DATE 10/19/2010 Subject B --------------------- I would want bookmarks created for Subject A and Subject B but since Subject B doesn't have any child group data, no subgroup bookmark should be created for Subject B. Since Subject A has two child groups of discrepancies (MISSING MEASUREMENT and MISSING DATE) a bookmark for each of these should be created. A sample layout of the bookmark layout I'd be expecting is below: -Subject A |--MISSING MEASUREMENT |--MISSING DATE -Subject B However, currently there is still an empty subgroup bookmark being created under Subject B even though there is no data for the child group...like below: -Subject A |--MISSING MEASUREMENT |--MISSING DATE -Subject B |-- <--Extra bookmark here Could you please attach the report design? Does the "Extra bookmark" under "Subject B" point to some content? No response, set as worksforme. |