-
Bug
-
Resolution: Fixed
-
Low
-
7.4.0
-
Severity 3 - Minor
-
Issue Summary
Applying the code suggestion can fail with a generic error when the FILE_EDIT hook rejects the commit. This can be caused by a custom hook or a Yet Another Commit Checker Plugin (YACC).
Steps to Reproduce
Check the community ticket for more details: https://community.atlassian.com/t5/Bitbucket-questions/Are-code-suggestions-broken-in-Bitbucket-7-4/qaq-p/1453200
Expected Results
- The displayed error message should show detailed information about the reason of rejecting commit.
- It should be possible to apply the suggestion with a second try.
Actual Results
- The displayed error message doesn't give the user any clue what's the reason of the failure.
- After the failure, the apply button is disabled and the user can't re-apply the suggestion.
Workaround
Disable the custom FILE_EDIT hook or disable the Yet Another Commit Checker Plugin.
- mentioned in
-
Page Failed to load
Form Name |
---|
[BSERV-12528] Code suggestion apply rejected by plugin: error message is unhelpful and cannot retry
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Fix Version/s | New: 7.14.0 [ 95494 ] |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Status | Original: Long Term Backlog [ 12073 ] | New: In Progress [ 3 ] |
Assignee | New: Kristy [ khughes@atlassian.com ] |
Remote Link |
New:
This issue links to "Bitbucket Server › Pull Request Build › bugfix- |
Remote Link | New: This issue links to "Page (Confluence)" [ 552312 ] |
Attachment | New: Screen Shot 2020-10-21 at 4.25.50 pm.png [ 395021 ] |
Labels | New: dob-pr |
Status | Original: Needs Triage [ 10030 ] | New: Long Term Backlog [ 12073 ] |