Empty arrays properties sent as null
upon reconnection.
#918
Labels
app:appengine_api
This issue or pull request is about astarte_appengine_api application
app:data_updater_plant
This issue or pull request is about astarte_data_updater_plant application
database
This issue or pull request is about database (e.g. schema change, queries, support, etc...)
user experience
This issue is about user experience
The issue arises when a server-owned property has been set by a device to an empty array.
Upon disconnection and reconnection with a clean session, Astarte sends the server property values to the device.
In the case of the empty array, a BSON file containing a
null
value is received.For example, for a string array mapping, the following BSON is received:
Which in human readable form is:
This has been tested using Astarte
v1.1.0
.The text was updated successfully, but these errors were encountered: