traccar / traccar-web

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

Error when opening link from notification #1044

Closed joystickjockey closed 1 year ago

joystickjockey commented 1 year ago

Describe the bug On a copy of latest master with some modifications. When opening the link from the email notification I get error "TypeError: Cannot read properties of undefined (reading 'type')".

To Reproduce Steps to reproduce the behavior:

  1. Create "Ignition On" notification and set channel to email.
  2. Open the Point: link once you received the notification on email.
tananaev commented 1 year ago

Can you please provide a full stack trace or even better screenshot with the error.

joystickjockey commented 1 year ago

Hi Anton,

See screenshot of the error below. Screenshot 2022-11-01 093304

tananaev commented 1 year ago

Are you able to run it in the debug mode?

joystickjockey commented 1 year ago

Hi Anton, I don't understand debug mode well enough to assist here unfortunately. Unless there is an easy process you could explain.