| Summary: | Got a command error logged using EGit | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Olivier Thomann <Olivier_Thomann> |
| Component: | UI | Assignee: | Project Inbox <egit.ui-inbox> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | matthias.sohn, pwebster, remy.suen |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 331240 | ||
|
Description
Olivier Thomann
I tried with EGit 1.0.0.201106090707-r and opened a file by selecting it under working directory and clicking "Open in Text Editor" but this didn't log an error. Which EGit version did you use ? Did you see any error message ? What you listed doesn't look like an error though it's strange that it ends up in the log ... This is the version of EGit I am using: org.eclipse.egit (1.0.0.201106090707-r) "Git Team Provider" org.eclipse.egit.core (1.0.0.201106090707-r) "Git Team Provider Core" org.eclipse.egit.doc (1.0.0.201106090707-r) "Git Team Provider Documentation" org.eclipse.egit.ui (1.0.0.201106090707-r) "Git Team Provider UI" When I do "Open in Text Editor", it works (no error). When I double-click on the file, it fails. Works for me also when double clicking. What's your Eclipse platform version and Eclipse package ? From which perspective do you try this ? When it fails do you see an error in the log which says more than what you posted already, maybe a stack trace ... The problem is in RepositoriesView's IOpenListener implementation on line 244. In there, we directly execute a command instead of going through the IHandlerService. See bug 348584 for details of a similarly offending block of code in PDE. A change set has been attached to Gerrit for review. http://egit.eclipse.org/r/#change,3833 merged as a105a3d157fb164e9b42ae261f630c7849d55d90 Verified with EGit 1.1.0.201107070512 on Windows XP. |