traccar / traccar-web

Traccar GPS Tracking System
https://www.traccar.org
Apache License 2.0
786 stars 1.09k forks source link

Error after comment #1243 #1248

Closed joystickjockey closed 5 days ago

joystickjockey commented 1 week ago

Describe the bug After including comment #1243 I get below error when running a combined report. This is on latest master with some customisation but I compared the copy that worked with the one flagging the error and the only changes is from comment #1243

TypeError: Cannot read properties of undefined (reading 'map')
    at index-DDKx5vYz.js:871:302118
    at uC (index-DDKx5vYz.js:40:24296)
    at Yg (index-DDKx5vYz.js:40:42451)
    at index-DDKx5vYz.js:40:40763
    at E (index-DDKx5vYz.js:25:1659)
    at MessagePort.de (index-DDKx5vYz.js:25:2039)

To Reproduce Steps to reproduce the behavior:

  1. On latest master select any device in combined reports and select show.
tananaev commented 1 week ago

@jcardus

jcardus commented 6 days ago

hello @joystickjockey, should be ok in the latest master. Can you check?

joystickjockey commented 5 days ago

The error is gone but Combined report dont show the blue route line anymore. Not sure if that is what is expected

tananaev commented 5 days ago

Reverted the recent changes because they broke other things as well, like the name.