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

Apply Suggestion feature not as expected

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but there is no synchronization info for this issue.