Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 9.3
-
Fix Version/s: 9.4
-
Component/s: Compute Engine
-
Labels:None
-
Edition:Developer
-
Production Notes:None
Description
On 9.2 when project branch was using reference branch strategy as New Code Period, after migration to 9.3 issues stop to show up on new code.
Steps to reproduce:
When on 9.2
- Set default New Code Period on project to Reference branch
- Analyse main branch
- Create and analyse feature branch
- Commit any change to feature branch which would raise issue
- Analyse feature branch
- Commit a change to a main branch
- Analyse main branch
- Rebase feature branch on top of main branch
- Analyse feature branch
- Search for new issues on feature branch
- Wrong issues will be shown as per bug in
SONAR-14929
Migrate to 9.3
- Search for new issues on feature branch
- No issues will be found
QG conditions and issues count is not affected.
Workaround:
Delete feature branch from SQ and analyse it again
----------
After this bug fix is released in SQ 9.4, if you're still facing this problem in one of your project branches, don't forget to re-analyze the branch and that will fix it.
Attachments
Issue Links
- is caused by
-
SONAR-14929 New Code using a 'reference branch' doesn't detect changed code with git merge workflow
-
- Closed
-
- links to