-
Bug
-
Resolution: Low Engagement
-
Medium
-
None
-
None
-
1
-
Severity 2 - Major
-
0
-
Summary
While toggling between plan branches on the deployment preview page the differences panel shows inconsistent results. For the one plan it can sometimes show the x number of issues and commits different, and sometimes it will show the 'difference cannot be calculated message'.
Environment
- 5.10-OD-1
Steps to Reproduce
- Set up in bitbucket a repository with 2 branches as well as the master branch. One branch should be merged with master, i.e. identical code, the second branch should be different to master. Run builds from all of those branches.
- Set up a deployment pointing at that plan and run a deployment over master.
- Go to Deploy -> All Deployment Projects -> deployment from step 2 -> <deploy action button> -> Deployment Preview
- Change from the 'master' plan branch to the branch with identical code to master, take note of the 'difference' panel
- Change to the branch with different code to master, take note of the 'difference' panel
- Change back to the branch with the same code as master
Expected Results
The difference panel should say the same thing as in step 4.
Actual Results
The results are extremely inconsistent, in step 4 occasionally the differences are shown as x number of issues and x number of commits (took me about 20 attempts to make it appear, but in some cases it appears every time), on other occasions it's shown as the following message:
The release currently deployed on this environment is from a different branch. The difference cannot be calculated.
In step 5 and step 6 though it is pretty consistently displayed as the 'cannot be calculated message'. This causes a significant amount of confusion if in step 4 you see how many issues and commits are different and then in step 6 when it should say the same thing it doesn't.
Workaround
No known workaround