Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-5297

Pull request/commit displays "The added file is empty" when it´s NOT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 3.1.0
    • Pull Requests
    • None
    • Standalone Stash server.
      Windows Server 2008 R2, SQL Server 2008R2. jdk 1.7.0.51

    Description

      We have discovered that certain files are displayed empty("The added file is empty") in the Pull reqests Diff view (and the commit view) despite their NOT. Looks like a problem in stash only because if you merge the pull request and get the files from the developer machines they are looking just fine.
      Not sure if it has something to do with naming of the actual files or something else, as you can see from the screenshot the name of the file is cropped both in the url and on the context path to the right.

      In this pull requests all HSATEST* were displayed empty except HSATEST2-CFD.xml which was showed correctly. The other files were also displayed correctly.

      In another pull request the file "npo_HSATEST2-C77.xml" was also displayed as empty...

      I have attached both the screenshot and some of the xml-files we were having problem with.

      Attachments

        1. HSATEST2-C8L.xml
          1 kB
        2. HSATEST2-C8X.xml
          1 kB
        3. HSATEST2-CB8.xml
          1 kB
        4. HSATEST2-CC6.xml
          1 kB
        5. HSATEST2-CFD.xml
          1 kB
        6. HSATEST2-CKD.xml
          1 kB
        7. HSATEST2-CQ2.xml
          1 kB
        8. stash-bug.GIF
          stash-bug.GIF
          84 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              320cb3107b27 Roger Oberg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: