Skip to content
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

DUP: resending properties takes into account device-owned properties and datastream interfaces #770

Open
Annopaolo opened this issue Apr 4, 2023 · 0 comments
Labels
app:data_updater_plant This issue or pull request is about astarte_data_updater_plant application bug Something isn't working
Milestone

Comments

@Annopaolo
Copy link
Collaborator

Annopaolo commented Apr 4, 2023

When resending property values to the device, Astarte performs a check on all interfaces, rather than just ones with properties type and server ownership. (see here). Therefore, other interfaces might interfere with the server-owned property lifecycle. E.g. if a datastream interface can't be loaded, resending properties will fail even if all properties interfaces are ok, resulting in the device being forcefully disconnected.
Handle this by checking that only server-owned properties interfaces are considered when resending property values.

@Annopaolo Annopaolo added bug Something isn't working app:data_updater_plant This issue or pull request is about astarte_data_updater_plant application labels Apr 4, 2023
@Annopaolo Annopaolo changed the title DUP: datastream interfaces are taken into account when resending properties DUP: resending properties takes into account device-owned properties and datastream interfaces Apr 4, 2023
@Annopaolo Annopaolo added this to the v1.3 milestone Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:data_updater_plant This issue or pull request is about astarte_data_updater_plant application bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant