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

Bug 401686

Summary: Custom widget id may not contain "." anymore
Product: [RT] RAP Reporter: Claudio Guglielmo <claudio.guglielmo>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Claudio Guglielmo CLA 2013-02-25 07:42:34 EST
According to UITestUtil.isValidId, a dot is a valid char for a custom widget id. 

Using dots as part of the id worked well with rap 1.5, with rap 2.0 it doesn't.

The problem seems to be in the function addParameter of Server.js. The id and the property are not extracted properly if the id contains a '.'.
Comment 1 Ivan Furnadjiev CLA 2013-03-04 11:21:09 EST
We should not use the method Server.js#addParameter for adding an operation to the protocol message. The new protocol API must be used instead.
Comment 2 Ivan Furnadjiev CLA 2013-04-01 11:01:36 EDT
The obsolete methods Server#addProperty and Server#addEvent have been removed. The new remote object API is use instead. Fixed with commit 0e6b49bc657bf7197fa5104682ecded4b5e8daac.