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

RepositoryHookCommitCallback sometimes incorrectly returns commits that have not been added or removed to ref

      Repository hooks that use PreRepositoryHook and/or PostRepositoryHook which were introduced in 5.0 that register a RepositoryHookCommitCallback can incorrectly get a onCommitAdded callback for commits that were neither added or removed, but are instead ancestors of the updated branch.

      More specifically, this happens when for branches that are updated by merging in another branch.

            [BSERV-9802] RepositoryHookCommitCallback sometimes incorrectly returns commits that have not been added or removed to ref

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 2021626 ] New: JAC Bug Workflow v3 [ 3133815 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Michael Heemskerk (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Closed [ 6 ]
            Michael Heemskerk (Inactive) made changes -
            Fix Version/s New: 5.0.2 [ 72009 ]
            Michael Heemskerk (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]
            Michael Heemskerk (Inactive) made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Michael Heemskerk (Inactive) made changes -
            Assignee New: Michael Heemskerk [ mheemskerk ]
            Michael Heemskerk (Inactive) made changes -
            Description Original: Repository hooks that use {{PreRepositoryHook}} and/or {{PostRepositoryHook}} which were introduced in 5.0 that register a {{RepositoryHookCommitCallback}} can incorrectly get a {{onCommitAdded}} callback for commits that were neither added or removed, but are instead common ancestors of the updated branch.

            More specifically, this happens when for branches that are updated by merging in another branch.
            New: Repository hooks that use {{PreRepositoryHook}} and/or {{PostRepositoryHook}} which were introduced in 5.0 that register a {{RepositoryHookCommitCallback}} can incorrectly get a {{onCommitAdded}} callback for commits that were neither added or removed, but are instead ancestors of the updated branch.

            More specifically, this happens when for branches that are updated by merging in another branch.
            Michael Heemskerk (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Michael Heemskerk (Inactive) made changes -
            Description New: Repository hooks that use {{PreRepositoryHook}} and/or {{PostRepositoryHook}} which were introduced in 5.0 that register a {{RepositoryHookCommitCallback}} can incorrectly get a {{onCommitAdded}} callback for commits that were neither added or removed, but are instead common ancestors of the updated branch.

            More specifically, this happens when for branches that are updated by merging in another branch.

              mheemskerk Michael Heemskerk (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: