Community
Participate
Working Groups
Overview Description: If you create a copy of a project and delete the copy, the content of the states in local history of both projects (original and copy) will get lost while shutdown. Steps to Reproduce: 1. Create project called 'orig' (simple project is OK). 2. Create file 'foo.txt' in project 'orig'. 3. Modifiy 'foo.txt' to get some states in local history. 4. Copy project 'orig' to new project 'Copy of orig'. Now, you have all the states of 'foo.txt' in both projects (use "compare with local history" to verify). 5. Delete project 'Copy of orig'. 6. Shutdown Eclipse. 7. Start Eclipse. 9. Compare 'foo.txt' in project 'orig' with local history using "compare with local history" Actual Results: Now, you see the list of states of 'foo.txt' (timestamps), but the text compare says: "State is not valid or might have expired". Expected Results: Text compare should show the corresponding diff. Additional Information: The method public InputStream getContents(IFileState target) in org.eclipse.core.internal.localstore.FileState throws ResourceException(IResourceStatus.FAILED_READ_LOCAL, target.getFullPath(), message, null); because IFileState target does not exist.
*** This bug has been marked as a duplicate of 79398 ***