traccar / traccar-web

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

Error when queuing a new, custom command - Latest master #1038

Closed joystickjockey closed 1 year ago

joystickjockey commented 1 year ago

Describe the bug I get below error when sending a gprs command to a device that is currently offline.

Column 'description' cannot be null - SQLIntegrityConstraintViolationException (... < QueryBuilder:469 < DatabaseStorage:95 < CommandsManager:87 < ...)

To Reproduce Steps to reproduce the behavior:

  1. Select a device that is offline
  2. Send new, custom command. Ive sent web_connect to one of my Teltonika devices (GPRS command)
tananaev commented 1 year ago

Fixed here https://github.com/traccar/traccar/commit/8f537de3bbf4dc1a742222dfd3123090b79e6419.