Apply Suggestion feature not as expected

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Issue Summary

      Code review of a pull request has the functionality to Apply Suggestions direct on files in pull request diff.

      Steps to Reproduce

      1. Create a pull request
      2. In the source branch of the pull request in the local repository, copy a file from one directory and rename it in another directory
      3. push the changes to the source branch
      4. observer that git diff shows the new file as COPIED
      5. Create a suggestion
      6. Apply the Suggestions and commit

      Expected Results

      Changes are applied to the file in the COPIED state

      Actual Results

      Changes are applied to the original file, not the actual new file which was in a COPIED state

      Workaround

      None at the moment. 

      Until the fix, Suggestion should be applied to files without the COPIED status

            Assignee:
            elisalter-atl
            Reporter:
            VICTOR-OSEGHALE (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: