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

Bug 317871

Summary: [Webapp] If a toc satisfies a criterion but its children do not it is still displayed - Fix in Eclipse 3.7
Product: [Eclipse Project] Platform Reporter: Chris Goldthorpe <cgold>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6   
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Chris Goldthorpe CLA 2010-06-24 14:27:13 EDT
+++ This bug was initially created as a clone of Bug #313994 +++

I20100520-1744

1. Install org.eclipse.ua.tests
2. Insert the lines below into the plugin customization file and start an infocenter

# Filtering by criteria
# Set true to enable criteria filtering, otherwise set false
org.eclipse.help/enableCriteria=true

# List all the supported criteria names, separated by comma 
org.eclipse.help/supportedCriteria=platform,version,containsLetter

3. Create a scope with all topics selected and under the criterion "Topic contains letter" check "letter v"

The four books which contain developer or development in the title show

4. Expand Platform Plug-in developer guide

Loading ... please wait shows and no children load

The problem is that no child topics satisfy the criterion. In this case "Platform Plug-in developer guide" should not have been shown because the toc does not have an href and no children satisfy the criteria.
Comment 1 Chris Goldthorpe CLA 2010-06-24 14:29:39 EDT
The patch attached to Bug 313994 has been applied to HEAD, Fixed.