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

Bug 307581

Summary: [Theming] Missing appearance entry warning when running RMS demo
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2010-03-30 16:45:39 EDT
Running the RMS demo against the CVS HEAD I got the following javascript warning in the qooxdoo console:
001669 WARN:  qx.theme.manager.Appearance[48]: Missing appearance entry: hyperlink
001684 WARN:  qx.theme.manager.Appearance[48]: Missing appearance entry: hyperlink-label
Tested in FF 3.6.2 and IE8.
Comment 1 Ivan Furnadjiev CLA 2010-03-30 16:51:33 EDT
All "external" themeable widgets have this problem:
Upload, Hyperlink, FormText
Comment 2 Ivan Furnadjiev CLA 2010-03-31 03:38:16 EDT
The problem is in EngineConfigWrapper#createResourceLoader(Bundle).... FileLocator.find( bundle, path, null ) returns null all the time.
Comment 3 Ivan Furnadjiev CLA 2010-03-31 03:46:56 EDT
Old code works:
URL url = bundle.getResource( resourceName );
instead of:
IPath path = new Path( resourceName );
URL url = FileLocator.find( bundle, path, null );
Comment 4 Ivan Furnadjiev CLA 2010-04-01 10:29:19 EDT
Fixed by reverting the ResourceLoader creation in EngineConfigWrapper#registerThemeableWidgets.