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

Bug 400654

Summary: RCP e4 accessor: Object mapping works only after clicking button in AUT
Product: [Technology] Jubula Reporter: Raimar Bühmann <raimar.buehmann>
Component: RCAssignee: Raimar Bühmann <raimar.buehmann>
Status: CLOSED FIXED QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: critical    
Priority: P2 CC: Achim.Loerke
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 399745    
Bug Blocks:    

Description Raimar Bühmann CLA 2013-02-13 03:25:45 EST
When object mapping with the new RCP accessor on a Eclipse e4 application has been started, mapping with CTRL+SHIFT+Q works only after a button has been pressed.
Object mapping with the new RCP accessor on a Eclipse e3 application works correct.
Comment 1 Raimar Bühmann CLA 2013-02-13 03:26:40 EST
Added dependency on BUG 399745
Comment 2 Achim Loerke CLA 2013-02-21 08:46:09 EST
@Triaged:+

This seems somewhat critical. Has it really to be a button? What if there is no button in the window? This might even be a blocker.
Comment 3 Raimar Bühmann CLA 2013-02-26 04:23:43 EST
This BUG does not appear anymore. There are three possible modifications, which have fixed this BUG:

1. Correction of Imports and Exports in RCP accessor bundles caused by changed package names in org.eclipse.jubula.rc.swt [1].
2. Bugfix for classloading in RCP by instroducing the EclipseUrlLocator.
3. Correction for registering adapter factory [2].

[1] http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=6cffff0651bc0b64653fbcb582d58671c30355d0
[2] http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=59f58ced8a05bf1e9c67673e19e32062bd016ad3
Comment 4 Oliver Goetz CLA 2013-02-26 08:52:40 EST
Fix verified. I tested this using our CaA RCP AUTs (4.2 e4, 4.2, 3.7) on a Windows machine. Mapping components was possible without previous clicking into the AUT or clicking any button.