Open Eddasol opened 2 months ago
Bug was introduced in this commit: https://github.com/equinor/flotilla/commit/54ba48c323403d1e3122b802bd79521354b3d06b
One suggestion is too make Area optional on MissionDefinition and only load Area once someone is trying to start the mission.
The plan is to get the area information from the mission planner (Echo for example). Waiting on implementation for this
Describe the bug If clicking the "Add predefined missions" button on an asset with several longer missions, the loading is unreasonable long. This is if using echoMissionLoader as selected missionLoader.
This is probably because the missionLoader is iterating through all missions and calling ProcessEchoMissions which is iterating through all tasks and inspections.
To Reproduce Steps to reproduce the behavior:
Expected behavior This shouldn't take several minutes. Tested on one asset with 75missions, and the fetching took 2,5 minutes.
Screenshots