AutomatedProcessImprovement / pix-portal

Suite of services for automated business process improvement
https://pix.cloud.ut.ee
1 stars 1 forks source link

Fix ModelViewer component - Prosimos #24

Closed JonasBerx closed 1 year ago

JonasBerx commented 1 year ago

Prosimos model viewer component currently returns null as the bpmnContent in localstorage is not set.

Steps: When routing to prosimos interface, set bpmncontent localstorage based on bpmn file that was selected.

JonasBerx commented 1 year ago

Its a state issue; bpmn content is set after uploading file in prosimos, this has to change to loading the file when moving to the Prosimos interface after file selection in PIX.

JonasBerx commented 1 year ago

Modelviewer issue was caused by authentication being set too late. Resolved now, other issue encountered: BPMN model being rendered twice.

Resolved: REACT.Strictmode removed from main.tsx. Intentional React behaviour if strictmode is on.