Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358753

Summary: [Webapp] Fix in 3.7.2 - Print selected topic and all subtopics doesn't work when using anchors
Product: [Eclipse Project] Platform Reporter: Chris Goldthorpe <cgold>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: carlos.morais, cgold, ChrisAustin, eero.helenius, lukasz.hurmanski, natario
Version: 3.7Flags: ChrisAustin: review+
Target Milestone: 3.7.2   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 347428    
Bug Blocks:    

Description Chris Goldthorpe CLA 2011-09-23 13:30:26 EDT
+++ This bug was initially created as a clone of Bug #347428 +++

Build Identifier: Helios

Hi,

Print Selected Topic and All Subtopics option seems not to work properly when using anchors (example: DITA-based document with enabled chunking, produced by DITA OT).

Sample document's TOC structure:

<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="Test doc" topic="chunk_test.html">
<topic label="Test title 1" href="chunk_test.html#chunk_test">
<topic label="Test title 2" href="chunk_test.html#DN0948387_SNMP"/>
<topic label="Test title 3" href="chunk_test.html#chunk_test3"/>
</topic>
</toc>

More info will be provided as an attachment.


Reproducible: Always

Steps to Reproduce:
1. Open attached sample_doc.jar in Infocenter
2. Expand Test doc book
3. Click on Test title 1
4. Select Print selected topic and all subtopics
Comment 1 Chris Goldthorpe CLA 2011-09-26 13:05:54 EDT
*** Bug 355760 has been marked as a duplicate of this bug. ***
Comment 2 Chris Goldthorpe CLA 2011-09-26 13:11:36 EDT
Chris A, can you review the patch "Fix version 2" which is attached to Bug 347428 for inclusion in 3.7.2.
Comment 3 Chris Austin CLA 2011-09-29 15:19:03 EDT
+1 Patch looks good.
Comment 4 Chris Goldthorpe CLA 2011-09-29 17:14:12 EDT
The patch has been applied to the 3.7 maintenance stream with this commit message:

Bug 358753 - [Webapp] Fix in 3.7.2 - Print selected topic and all
subtopics doesn't work when using anchors