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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 3.1.0
    • Component/s: Pull Requests
    • None
    • Environment:

      Standalone Stash server.
      Windows Server 2008 R2, SQL Server 2008R2. jdk 1.7.0.51

      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.

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

            Assignee:
            Unassigned
            Reporter:
            Roger Oberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: