-
Notifications
You must be signed in to change notification settings - Fork 174
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
[C#] Protobuf objects in callbacks might contain old values #1593
Labels
Comments
KerstinKeller
added
bug
Something isn't working
master
support/v5.13
support/v5.12
labels
May 17, 2024
KerstinKeller
added a commit
that referenced
this issue
May 23, 2024
…ot reset fields which are not contained on the wire. (#1593)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
When you have a C# Protouf callback, the data might contain "old" values, if on the wire null values are send.
Problem could be that the object is not cleared before it's being merged from the new stream.
https:/eclipse-ecal/ecal/blob/support/v5.13/lang/csharp/Continental/eCAL/Protobuf/ProtoSubscriber.cs#L86C1-L86C50
How to reproduce
Send an object with a protobuf boolean.
Set the value to
true
and send it. Send it again tofalse
. In the callback it will still have the valuetrue
.Pull Requests:
The text was updated successfully, but these errors were encountered: