Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
2.1.2
-
None
-
None
Description
Its possible to get the following error when adding a file to a review from the filesystem repo.
Caused by: com.cenqua.crucible.model.FileRevisionException: java.io.IOException: Revision 2009-12-23T15:18:32.000+1100 of file myfile.txt is no longer available. at com.atlassian.fisheye.scm.SCMSource.copyFile(SCMSource.java:281) at com.atlassian.fisheye.scm.SCMSource.getFileContents(SCMSource.java:265) at com.cenqua.crucible.revision.managers.DefaultContentManager.getContents(DefaultContentManager.java:583) at com.cenqua.fisheye.diff.DiffHelper.getDiffExp(DiffHelper.java:82) at com.cenqua.crucible.revision.source.Source.getDiffPrinter(Source.java:207) at com.cenqua.crucible.view.FRXDO.getDiffPrinter(FRXDO.java:1139)
Steps to reproduce:
- Create a filesystem repo
- Add a file myfile.txt to the repo
- Create a review and add myfile.txt from the repo
- Edit myfile.txt
- Edit the review and reload the files tab of the repo
- Select the newest revision but before clicking "Done" edit the file again
- Click Done and an exception will be thrown when the review reloads
The side affect of this is that viewing the file in crucible, it will appear to spin indefinitely with a "Loading diff..." message.