traccar / traccar-web

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

Error when selecting device, devices or users #1172

Closed joystickjockey closed 1 year ago

joystickjockey commented 1 year ago

Describe the bug On a latest copy of master I get the below error when selecting a device, devices or users

TypeError: Cannot read properties of undefined (reading 'negative')
    at http://mydomain.com:8082/assets/index-2db1699e.js:321:17263
    at Object.create (http://mydomain.com:8082/assets/index-2db1699e.js:317:6842)
    at Xzu (http://mydomain.com:8082/assets/index-2db1699e.js:317:8152)
    at http://mydomain.com:8082/assets/index-2db1699e.js:317:9501
    at o8u (http://mydomain.com:8082/assets/index-2db1699e.js:317:9103)
    at http://mydomain.com:8082/assets/index-2db1699e.js:317:9419
    at VI (http://mydomain.com:8082/assets/index-2db1699e.js:321:18117)
    at bO (http://mydomain.com:8082/assets/index-2db1699e.js:38:19614)
    at Jz (http://mydomain.com:8082/assets/index-2db1699e.js:40:44101)
    at Kz (http://mydomain.com:8082/assets/index-2db1699e.js:40:39819)

To Reproduce Steps to reproduce the behavior:

  1. Download copy of master
  2. Build
  3. Create new database on MYSQL or use H2
  4. Start server and register new user
  5. Create new device, I've just used Traccar Client
  6. Device will come online
  7. Select device in device panel

Or

Select devices in settings menu

Or select users in settings menu

tananaev commented 1 year ago

Fixed. Thanks for reporting the issue.