What version are you using?
Im using version 3.7
I also noticed that the positionid of associated device is not being set. Could this be interconnected?
Probably. I would recommend to upgrade. Also, you should try official version without any modifications to the code or config, if you changed anything in your version.
Is this a bug in version 3.7 that is already fixed in newer version?
Are there breaking changes in the newer version?
I don't think I have heard of such issue, but 3.7 was a long time ago, so anything is possible.
What do you mean by "breaking" changes? Breaking what? There were some database and API modifications, but nothing major, as far as I remember.
My app is listening to traccar web socket events and Im particularly interested with deviceMoving event. I need the positionid of the event to determine where the device started moving. But the positionid is always 0. Why is that?