| Summary: | Deleting a project on project nav still shows error "File not found: <project name>" | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Silenio Quarti <Silenio_Quarti> |
| Component: | Client | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gheorghe, ken_walker |
| Version: | 5.0 | Flags: | gheorghe:
review+
ken_walker: review+ |
| Target Milestone: | 5.0 RC3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Silenio Quarti
1) Open edit page 2) Create a basic project. It should show in the project nav and be selected. Do 3) Select "Edit -> Delete" menu The project is deleted, but you get a warning saying: "File not found: <project path>" The problem happens because the parent of the project item has the same ContentLocation of the project item. The project nav detects that the tree root is being deleted and tries change the tree root to the parent item which fails because it has been deleted (same ContentLocation). The fix is to detect that and change the tree root to the workspace instead. Fix is here http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=silenio/bug428443&id=46009301bbd35362626ef0a41bf978c718f16c62 Pushed to eclipse.org http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9e841c408892cf17bfae85d073f72982aa819d55 This works in beta3/orion, but still fails on qa. The problem still happens in QA because the project.Id is not the same as the project.Name (different workspace shape?). Fix http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=silenio/bug428443_1&id=d3bbf30d44c6ba52b94cc1ee52e713ae4be6a668 |