Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.6.2
-
None
-
None
Description
According to this documentation, the default file size limit should be 5MB.
However, Maximum Indexable File Size at Administration >> Repository Settings >> Defaults >> Other Settings default value is 0.1MB
Steps to reproduce
- Install new FishEye/Crucible 3.6.2
- Make sure that the repository default does not have the value for Maximum Indexable File Size in config.xml
- Add a SVN repository
- Commit a file with the size 2MB into the repository
FishEye/Crucible able to show the diff of the file at http://localhost:8060/changelog/svnrepo?cs=<revision> - Check the Maximum Indexable File Size at Administration >> Repository Settings >> Defaults >> Other Settings
It is showing 0.1MB - Check the Maximum Indexable File Size at Administration >> Repository Settings >> Repositories >> svnrepo >> Other Settings
It is showing "Use the system default settings for max indexable settings" (0.1MB)
However, it is still able to index 2MB file - Navigate to Administration >> Repository Settings >> Defaults
- Click on the button "Save changes" on any of the tab
It will save the default selected option "0.1MB" for Maximum Indexable File Size. Can confirm this by checking config.xml - Change only a line in the 2MB file and commit it
FishEye/Crucible can still show the diff of the file - Restart the repository
- Change only a line in the 2MB file and commit it again
FishEye/Crucible can't show the diff of the file with the following info:test.txt is too large to show a diff. To see the diff between revisions 24 and 25 of test.txt download them and use a diff tool. For more information about text file size limits and how to modify them see the documentation.
However, FishEye/Crucible can still show the diff of the same file for the older revision (eg: 23-24) that is committed before the restart
- Change only a line in the 2MB file and commit it again
- Before the above commit is indexed by FishEye/Crucible, set the Maximum Indexable File Size at Administration >> Repository Settings >> Repositories >> svnrepo >> Other Settings to be 5MB
- Restart the repository
FishEye/Crucible still can't show the diff at step 12 - Change only a line in the 2MB file and commit it again
FishEye/Crucible can show the latest diff now