Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5471

Maximum Indexable File Size by default saved as 0.1MB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.10.0
    • 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

      1. Install new FishEye/Crucible 3.6.2
      2. Make sure that the repository default does not have the value for Maximum Indexable File Size in config.xml
      3. Add a SVN repository
      4. 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>
      5. Check the Maximum Indexable File Size at Administration >> Repository Settings >> Defaults >> Other Settings
        It is showing 0.1MB
      6. 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
      7. Navigate to Administration >> Repository Settings >> Defaults
      8. 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
      9. Change only a line in the 2MB file and commit it
        FishEye/Crucible can still show the diff of the file
      10. Restart the repository
      11. 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

      12. Change only a line in the 2MB file and commit it again
      13. 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
      14. Restart the repository
        FishEye/Crucible still can't show the diff at step 12
      15. Change only a line in the 2MB file and commit it again
        FishEye/Crucible can show the latest diff now

      Attachments

        Issue Links

          Activity

            People

              mswinarski Maciej Swinarski (Inactive)
              klfoong Foong (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: