On deployment update UI shows blueprints in a wrong way

Description

When running the deployment update workflow the UI shows the updating blueprint as the one used for the install and the original one as the one used for update.
In the attached pic you can see that blueprint one was used for the update and one_1 was used for the install and create deployment, in reality it was the opposite.

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------

Steps to reproduce:
------------------ 1. Upload Blueprint_A and Blueprint_B to Cloudify Manager
2. Create deployment Deployment_A from Blueprint_A
3. Run install workflow on Deployment_A
4. Take a look at Deployment Executions widget and capture what is in Blueprint column (install and create_deployment_environment workflows for Deployment_A have Blueprint set to Blueprint_A, that's fine)
5. Update deployment Deployment_A - change blueprint from Blueprint_A to Blueprint_B
6. Take a look at Deployment Executions widget and see changes in Blueprint column (install and create_deployment_environment workflows for Deployment_A have Blueprint set to Blueprint_B, IMHO should be on Blueprint_A)

Expected result:
---------------

Actual result:
-------------

Why Propose Close?

None

Activity

Show:
Tal Yakobovitch
August 22, 2019, 10:43 AM

So the solution for this issue is to delete this pointer and just save the actual value in the executions table, which will allow removing the logic in the UI that was put in place to remedy this.

I estimate it as three days work at most in the BE, updating the DB and adding relevant tests

Tal Yakobovitch
August 22, 2019, 11:21 AM

do we want to add the blueprint id column to the executions list in the CLI?

Ofer Yarom
August 25, 2019, 12:14 PM

Yes.

Tal Yakobovitch
August 26, 2019, 8:40 AM

The BE side is done, switching to Jakub for finishing the FE side

Jakub Niezgoda
August 26, 2019, 9:51 AM

FE side updated according to 's changes done in BE.

Assignee

Jakub Niezgoda

Reporter

Jonathan Abramsohn

Severity

Medium

Target Version

5.0.5

Premium Only

no

Found In Version

4.5

QA Owner

None

Bug Type

unknown

Customer Encountered

Yes

Customer Name

c496

Release Notes

yes

Priority

None

Epic Link

Sprint

None

Priority

Unprioritized
Configure