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 35 forks source link

Predefined missions tab sometimes show missions from other installations #1506

Closed Eddasol closed 1 month ago

Eddasol commented 5 months ago

Describe the bug If a mission definition is created it will show in predefined missions tab, regardless of which installation the user has selected.

To Reproduce

  1. Run new missions on a plant such that mission definitions are created
  2. Change installation and select predefined missions tab. The missions definitions will appear once they are created. Reload and they will disappear again.

Alternatively:

  1. Have two open browsers/tabs with flotilla open at different installations.
  2. Run new missions on one of the plants such that a mission definition is created.
  3. Monitor mission predefined missions tab in the other browser/tab and note the new mission definitions.

This is most likely caused by there being no installation filter used for deciding if a new missionDefinition from signalR should be included in the context.

Expected behavior Mission definitions should only be shown for the relevant installation

Screenshots

aeshub commented 2 months ago

This issue has automatically been marked as stale as there has been no activity for 60 days.