New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
id of position always zero in json payload #4529
Comments
addHandlers(
pipeline,
FilterHandler.class,
GeocoderHandler.class,
MotionHandler.class,
CopyAttributesHandler.class,
EngineHoursHandler.class,
ComputedAttributesHandler.class,
WebDataHandler.class,
DefaultDataHandler.class); in this code if I switch positions of the last two handlers ,it solves my problem. Is this a bug ? |
Not a bug. The idea is that internal position id is irrelevant to an external server that you forward to. |
I understand now. Actually I am trying to use tracccar as a microservice that just collects data, and use a message broker or webhook to communicate. Are you planning to support any message broker anytime soon? If not, I can give it a try. |
No plan at the moment, as far as I know. |
When using
forward.url
withjson
, the id of the position object is always zero . Ex -Here
id
is0
. It should instead reflect the last insert id. @dough29 @tananaevThe text was updated successfully, but these errors were encountered: