Promise.all fails early with potentially non existing process ID's
Closed this issue · 1 comments
brickpop commented
Displaying process entries may fail on the UI due to a (still) unresolved ID duplication issue. Until an update is available, the global process refreshing routine needs to be resilient to this.
The root cause is a Promise.all()
where N process ID's are resolved to the actual data+parameters. Some of these process ID's will fail to resolve immediately, while the valid ones will take longer.
Since Promise.all()
will reject on the first failure, the rest of (legitimate) data fetches are ignored right away. This causes the UI to not have any process to display.