equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 38 forks source link

StartTime and currentArea on missionPage is sometimes wrong/missing #1381

Closed Eddasol closed 9 months ago

Eddasol commented 9 months ago

Describe the bug Initially Area and Start time is correct but when the mission updates the area becomes undefined and start time becomes an hour off.

Likely cause for area disappearing is that API call to get missionRun provides a MissionRunResponse (which is what the frontend expects), while signalR provides a MissionRun.

To Reproduce Start mission and go to mission page - Note area and start time Wait for mission to update - Note area and start time

Expected behavior

Screenshots Initially: image

After update: image

andchiind commented 9 months ago

Good catch, signalR should be sending a MissionRunResponse