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

Bug 387532

Summary: Javascript error in RAP Workbench Demo
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: DemoAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: ruediger.herrmann
Version: 1.5   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Full error message with response none

Description Rüdiger Herrmann CLA 2012-08-18 08:03:20 EDT
The RAP Workbench Demo [1] reponds with this Javascript error after a few clicks:
  Error: TypeError: Cannot read property 'length' of null
The message varies, but the error is reproducible in latest FF, IE and Chrome.

The quickest way to reproduce the error is to click the "Do it" button in the "Editorparts" section. The error also occurs when trying to open an editor for one of the items in the Navigator

The demo application is barely useable.

[1] http://rap.eclipsesource.com/workbenchdemo/rms
Comment 1 Rüdiger Herrmann CLA 2012-08-18 08:04:13 EDT
Created attachment 220030 [details]
Full error message with response
Comment 2 Ivan Furnadjiev CLA 2012-08-18 08:29:26 EDT
This has been fixed 9 months :-) ago (see duplicate bug), but the online version has never been re-deployed.

*** This bug has been marked as a duplicate of bug 362248 ***
Comment 3 Rüdiger Herrmann CLA 2012-08-18 09:17:11 EDT
(In reply to comment #2)
> This has been fixed 9 months :-) ago (see duplicate bug), but the online
> version has never been re-deployed.
> 
> *** This bug has been marked as a duplicate of bug 362248 ***

Sorry for not checking for duplicates myself.
While responding to a forum post about slowly opening views I wanted to reference the demo but backed away after seeing how broken it is.
I think it is high time to redeploy the demo.

[1] http://www.eclipse.org/forums/index.php/t/369644/