| Summary: | [Cheatsheet] Using e4 SDK Commands launched from cheat sheets not working | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Chris Goldthorpe <cgold> | ||||||
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | pwebster, remy.suen | ||||||
| Version: | 4.1 | ||||||||
| Target Milestone: | 3.7 M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 328963 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Chris Goldthorpe
Looks like the same problem as bug 321263. Thread [main] (Suspended (breakpoint at line 454 in Command)) Command.executeWithChecks(ExecutionEvent) line: 454 ParameterizedCommand.executeWithChecks(Object, Object) line: 508 CommandRunner.executeCommand(CheatSheetCommand, CheatSheetManager) line: 83 CheatSheetCommand.execute(CheatSheetManager) line: 44 CoreItem.runExecutable(AbstractExecutable, CheatSheetManager) line: 506 CoreItem.runExecutable(CheatSheetManager) line: 501 CheatSheetViewer.runPerformExecutable(ImageHyperlink) line: 1046 CoreItem$1.linkActivated(HyperlinkEvent) line: 89 ImageHyperlink(AbstractHyperlink).handleActivate(Event) line: 233 ImageHyperlink.handleActivate(Event) line: 199 ImageHyperlink(AbstractHyperlink).handleMouseUp(Event) line: 327 Created attachment 181978 [details]
CommandRunner patch v1
This should do it.
Thanks Remy, that worked! I will apply this patch after 3.6M3 is announced. I meant 3.7M3 of course. The patch improves the situation but I am still not getting the result of the command passed back correctly. With the patch in place commands execute OK but the result is always null. When running against Eclipse 4.1 with patch three test cases fail in the JUnit test org.eclipse.ua.tests.cheatsheet.execution.TestCommandExecution. When using Eclipse 3.7 all tests pass. (In reply to comment #5) > The patch improves the situation but I am still not getting the result of the > command passed back correctly. With the patch in place commands execute OK but > the result is always null. Hi Chris, see bug 328963. I believe that should resolve the problem. Created attachment 182155 [details]
Patch v2
The same issue exists for intro and help, I have attached a patch which addresses all of these.
Patch committed to HEAD. Added dependency to Bug 328963. With the fix for Bug 328963 and Patch v2 the cheat sheet JUnit tests now all pass. Fixed Verified using Eclipse 4.1 build I20110125-2200 |