nasa / openmct-tutorial

A tutorial for OpenMCT that guides you through integrating historical and realtime telemetry.
Other
246 stars 104 forks source link

Cannot read property 'key' of undefined #14

Closed ampeixoto closed 7 years ago

ampeixoto commented 7 years ago

Hi!

I'm starting to play around with the tutorials.

I cloned the project and when I run it, the following error is presented:

error_openmct

Don't think this should be happening...

VWoeltjen commented 7 years ago

Thanks for reporting this! I believe this is a bug in Open MCT.

@larkin - I think we could fix this by registering a time system in these tutorials, but my preference would be to add some checks in the URL handler. This would qualify as unnecessary guard code if we expect that a time system is always active, but I don't think it should be URL population that imposes that constraint. (I have a recollection of recently discussing which parts of the time API become mandatory under which conditions, but I'm drawing a blank on the context.)

VWoeltjen commented 7 years ago

nasa/openmct#1624 is the discussion I was thinking of above. Noting here to establish a little linkage, as an error message about time systems would have been more informative here