Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331339 - Invalid preference page path: Web Page Editor
Summary: Invalid preference page path: Web Page Editor
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: 3.4.0   Edit
Assignee: Ian Trimble CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 08:53 EST by Kaloyan Raev CLA
Modified: 2017-12-19 13:26 EST (History)
1 user (show)

See Also:
raghunathan.srinivasan: iplog+


Attachments
web page editor preference page is moved under web category (847 bytes, patch)
2011-10-03 08:54 EDT, Dimitar Giormov CLA
raghunathan.srinivasan: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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