midas status page shows blank if there is a bogus equipment

Issue #149 closed
dd1 created an issue

we had a bogus entry in /equipment, it did not have the usual /eq/xxx/statistics and the midas status page was showing completely empty because of a javascript exception trying to access (I should have written it down, but I think it was) "events_sent". I hope this can be reproduced easily. K.O.

Comments (4)

  1. dd1 reporter

    Yes, easy to reproduce. ODB mkdir /equipment/aaa and the midas status page will be blank (empty). K.O.

  2. Thomas Lindner

    KO seems to agree that this seems fixed in current develop MIDAS.

    He notes that a better check in that loop might be to add a try...catch statement that catches all the different ways that the equipment directory could be mal-formed. For instance, to catch an equipment folder that has 'Common' subdir, but is missing 'Common/Status'. Add that to the list as a future improvement...

  3. Log in to comment