equinor / flyt

Equinor Flyt (aka. VSM - Value Stream Mapping)
https://flyt.equinor.com
MIT License
4 stars 1 forks source link

Tobe view show Current view data on the new portal #692

Closed QiJin-Bouvet closed 2 months ago

QiJin-Bouvet commented 4 months ago

Tested on portal https://web-flyt-prod.radix.equinor.com/ After migration, for the processes with Tobe view, Tobe view show empty for the first time and show Current view data for the second time. It loads both vertices for both Current process and Tobe process at the second time, and show Current vertices data. Problem applies in processes 44, 1710, 1913 and maybe more.

Reproduce steps:

  1. Open process 1913: https://web-flyt-prod.radix.equinor.com/process/1913
  2. Click Tobe (process 1917). It should show 4 green cards and one blue card, but it shows empty view
  3. Click Current
  4. Click Tobe. It should show 4 green cards and one blue card, but it shows the same as Current view

image

nesadrian commented 4 months ago

Problem description: On Flyt 1.0 and 2.0 an api call to create a new ToBe process is made every time the ToBe button is clicked. In Flyt 1.0 the backend handled the logic for checking if a ToBe process already exists, but this is not the case for Flyt 2.0. Therefore a new process is made even though a ToBe process already exists.

nesadrian commented 4 months ago

@QiJin-Bouvet This is ready for test in POC DEV/QA

QiJin-Bouvet commented 4 months ago

Problem still there, need more investigation.

dansvend commented 4 months ago

@QiJin-Bouvet

This is ready for testing in https://web-flyt-prod.radix.equinor.com/ with commit 5eb2cc7🧪

QiJin-Bouvet commented 4 months ago

Tested in https://web-flyt-prod.radix.equinor.com/ Tobe view doesn't show the current view data for second time opening.