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

Bug 331339

Summary: Invalid preference page path: Web Page Editor
Product: [WebTools] Java Server Faces Reporter: Kaloyan Raev <kaloyan>
Component: JSF ToolsAssignee: Ian Trimble <ian.trimble>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: raghunathan.srinivasan
Version: 3.2.2Flags: raghunathan.srinivasan: iplog+
Target Milestone: 3.4.0   
Hardware: PC   
OS: Windows Vista   
See Also: https://git.eclipse.org/r/114288
https://git.eclipse.org/c/jsf/webtools.jsf.git/commit/?id=613ac065c07dd97062604e5091db1bba34789645
Whiteboard:
Attachments:
Description Flags
web page editor preference page is moved under web category raghunathan.srinivasan: iplog+

Description Kaloyan Raev CLA 2010-11-29 08:53:50 EST
Steps to reproduce:

   1. Install the Eclipse IDE for JavaScript Web Developers.
   2. Install the Web Page Editor feature from the WTP update site.
   3. Call Window > Preferences.

The following error is logged in the .log file:
Invalid preference page path: Web Page Editor

This happens because the preference page of the Web Page Editor has the path Web > JavaServer Faces Tools > Web Page Editor. But since the JSF Tools feature is not available in the Eclipse IDE for JavaScript Web Developers distribution, the latter path is invalid.

There is no functional consequences of this error. The Web Page Editor appears as a root preference page. It looks like this is a fall-back mechanism of the Eclipse Workbench.

Nevertheless, to avoid logging the error, it would be better to register the preference page one level above: Web > Web Page Editor.

Note: Here the Eclipse IDE for JavaScript Web Developers is given as an example to reproduce the problem. I file this bug, because we have a similar use case in an adopter product.
Comment 1 Dimitar Giormov CLA 2011-10-03 08:54:45 EDT
Created attachment 204443 [details]
web page editor preference page is moved under web category
Comment 2 Ian Trimble CLA 2011-10-21 14:33:45 EDT
Fix checked into HEAD at 2011/10/21 11:33AM PDT.
Comment 3 Eclipse Genie CLA 2017-12-18 20:17:16 EST
New Gerrit change created: https://git.eclipse.org/r/114288