electricitymaps / bloom-contrib

Making carbon footprint data available to everyone.
https://www.bloomclimate.com
MIT License
434 stars 104 forks source link

activity.id missing from TFL #306

Closed sentry-io[bot] closed 4 years ago

sentry-io[bot] commented 4 years ago

Sentry Issue: TMROWAPP-NT

Error: Activity.id must be of type 'string', got 'null' (null)
  File "app:///[native code]", in create
  File "src/models.js", line 99, in create
    return realm.create(this.schema.name, data, update);
  File "src/models.js", line 126, in createFromObject
    return this.create(parseObject(obj, this.schema), update);
  File "src/actioncreators.js", line 170
    const entities = activities.map(d => Activity.createFromObject(d, true));
  File "app:///[native code]", in map
...
(29 additional frame(s) were not displayed)
martincollignon commented 4 years ago

@liamgarrison any chance you can look at it?

liamgarrison commented 4 years ago

Sure, I'll take a look.

corradio commented 4 years ago

@liamgarrison I think this was fixed?

liamgarrison commented 4 years ago

I haven't fixed this yet. I can't work out why there wouldn't be a start time (used for ID), for certain journeys. How many occurrences of this are there on Sentry?

corradio commented 4 years ago

Only happened twice 20 days ago. Will reopen of it happens again