Bug 305375 [ui] Many dialogs about unavailable sites
I20100309-0100 I ran a "Check for Updates" immediately after my machine had come out of standby. I don't think the wireless had fully connected yet, and the check for updates failed (fine). However, I got a half dozen nested dialogs about each of the sites that it could not find. They were all stacked on top of one another, and I had to dismiss each one individually. I would expect it to accumulate this into a single dialog rather than one dialog per repository.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentServiceContentProvider.java
if (!ext.isLoaded() && !enforceHasChildren)
				return true;
			NavigatorContentExtension[] overridingExtensions;
			if (!isOverridingExtensionInSet(ext.getDescriptor(), enabledExtensions)) {
				try {
					SafeDelegateTreeContentProvider cp = ext.internalGetContentProvider();
					suggestedHasChildren |= callNormalHasChildren(anElementOrPath, anElement, cp);
					overridingExtensions = ext.getOverridingExtensionsForTriggerPoint(anElement);
					if (overridingExtensions.length > 0) {
						suggestedHasChildren = pipelineHasChildren(anElementOrPath, anElement, overridingExtensions,
								suggestedHasChildren);
					}
					if (suggestedHasChildren)
						return true;
				} catch (Throwable e) {
					NavigatorPlugin.logError(0, NLS.bind(
							CommonNavigatorMessages.Exception_Invoking_Extension, new Object[] {
									ext.getDescriptor().getId(), anElementOrPath }), e);
				}
			}
		}
		return suggestedHasChildren;
	}
	public synchronized boolean hasChildren(TreePath path) {
		return hasChildren((Object)path);
	}
	private boolean callNormalHasChildren(Object anElementOrPath, Object anElement, SafeDelegateTreeContentProvider cp) {
		if (cp.isTreePath() && anElementOrPath instanceof TreePath) {
			ITreePathContentProvider tpcp = (ITreePathContentProvider) cp;
			return tpcp.hasChildren((TreePath) anElementOrPath);