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

Figure out why checking robot.model.type fixes it being null #1661

Open oysand opened 2 weeks ago

oysand commented 2 weeks ago

Describe the bug When isar finished the mission the screen turned white and it complained that type was null. After reproducing it locally the following check #1659 was added during debugging and then the problem dissapeared.

To Reproduce Steps to reproduce the behavior:

  1. Connect to the dev database locally.
  2. Revert #1659
  3. Run a mission and observe what happens when the mission completes

Expected behavior Would like some other fix than just doing an if check

Screenshots If applicable, add screenshots to help explain your problem.

oysand commented 2 weeks ago

Connected to #1537

oysand commented 2 weeks ago

The if check never true, but checking the value makes the system investigate the value and stops it from being treated as null further down the line.