Blank files in Crucible code review even though revision in Fisheye shows code
Symptoms
Blank files in code review even though revision in Fisheye shows code.
Cause
There was a bug for Fisheye/Crucible that was fixed in version 2.7.9. The bug itself was fixed but bad patch files weren't cleaned up as part of the bug fix. For reference:
CRUC-6013 - Getting issue details... STATUS
Resolution
If currently running a version prior to 2.7.9 proceed by upgrading to the latest version. Otherwise, remove current diff index files to trigger Crucible to re-fetch the diff information the next time the review is accessed.
- Go to
FISHEYE_INST/var/data/uploads
. Note the nested directory/file structure, e.g.00/00/1.dat
. - Backup the directory.
Delete all zero length files from the
uploads
directory. For example, if using Unix, this can be done with the following command:find . -type f -size 0 | xargs rm