•  
      request #45586 Pull-request raises an error when viewing a deleted file
    Infos
    #45586
    Joris MASSON (jmasson)
    2025-11-05 15:32
    2025-11-05 15:30
    47309
    Details
    Pull-request raises an error when viewing a deleted file

    When viewing the diff for a deleted file, Tuleap can raise an error modal with a 404 error "The file does not exist".

    It does not happen for all deleted files, but it can be reproduced by replaying the steps of the test:

    The issue has been raised in test Campaign Tuleap 17.0 - Non regression
    Test case Diff side by side

    When switching to "File" view i get a "Oh snap!" with "404 Not Found: The file does not exist"
    As the first file of the PR is ".babelrc" that is "deleted"
    It also happens when switching back to the file from the drop down

    Scenario to reproduce

    1. Create a repository called testpr
    2. Clone a bare repository:  git clone --bare git@github.com:vuejs/vue-test-utils.git
    3. Push --mirror to your project repository: cd vue-test-utils && git push --mirror ssh://gitolite@tuleap.valid.enalean.com/...
    4. Create a PR from migrate-to-jest to dev
    5. Show the file diff for the .babelrc file (the first in the list)
    Pull Request
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Verified
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2025-11-05 15:32
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes