Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-12939

Storage page in Bitbucket has incorrect offset in the used space number

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 7.7.0, 7.15.0
    • 7.17.0
    • UI

    Description

      Issue Summary

      Storage page in Bitbitbucket admin panel is showing the size in bytes with incorrect offset:

      4,071,930,986,496 bytes = 4TB while the really occupied space is 4GB

      Steps to Reproduce

      1. Navigate to Setting - Storage (https://bitbucketdc/admin/storage)
      2. Convert the number in bytes to GB

      Expected Results

      4,071,930,986 bytes is shown (4GB)

      Actual Results

      4,071,930,986,496 is shown (4TB) while the progress bar is showing correct percentage.

      Workaround

      The issue is purely in UI. Just disregard the last 3 digits.

      Attachments

        1. Screenshot 2021-07-30 at 18.00.31.png
          Screenshot 2021-07-30 at 18.00.31.png
          113 kB
        2. storage-json.png
          storage-json.png
          34 kB
        3. storage-rendered.png
          storage-rendered.png
          13 kB

        Activity

          People

            Unassigned Unassigned
            ashaleev Anton Shaleev
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: