Describe the bug
If a dashboard contains a widget such as Device Admin Table, which is configured to show the latest time series values for a device, the latest values should load instantly when you load the dashboard. Since upgrading to Thingsboard 3.6.1, the dashboard will initially load with empty spaces where the telemetry values should be.
Eventually when realtime telemetry is pushed from the device, the values in the widget will populate. This was not previously an issue in 3.6.0, and after downgrading 3.6.1 -> 3.6.0 the dashboards are behaving as expected again.
This only seems to be an issue for the latest timeseries values, attributes load straight away.
The behaviour is replicable via the WebSocket API /api/ws/plugins/telemetry, using the same JSON object that is used by a widget. Looking at the initial response, the data.data.latest.TIME_SERIES values are all empty, for example:
"temperature": {
"ts": 0,
"value": ""
},
It might be useful to note that when viewing a device detail page, the "Latest Telemetry" tab loads instantly with all of the latest values, so I've only seen this to affect dashboards.
We are using Cassandra as the time series data store, and the ts_kv_latest_cf table seems to be correctly populated with the latest values. The Postgres ts_kv_dictionary / ts_kv_latest tables are both empty, which I think is to be expected with a hybrid database configuration, however is it possible that with version 3.6.1, the data is attempted to be fetched from Postgres, even when a Cassandra DB is used as the timeseries data store?
Server Environment
- EKS microservices
- Thingsboard v3.6.1 w/ hybrid database (Postgres + Cassandra)
To Reproduce
Steps to reproduce the behavior:
- Ensure Thingsboard 3.6.1 is running
- Create a dashboard with a "Device Admin Table" widget
- Select an active Device as the data source
- Add at least one column with a time series value
- Save & refresh the page
- Note that the timeseries value will be empty until telemetry is pushed from the device
Expected behavior
The table will load the latest values from each device, regardless of whether it is actively pushing telemetry.
Screenshots
Note the empty temperature/humidity value. Provisioned / active are attributes.

Describe the bug
If a dashboard contains a widget such as Device Admin Table, which is configured to show the latest time series values for a device, the latest values should load instantly when you load the dashboard. Since upgrading to Thingsboard 3.6.1, the dashboard will initially load with empty spaces where the telemetry values should be.
Eventually when realtime telemetry is pushed from the device, the values in the widget will populate. This was not previously an issue in 3.6.0, and after downgrading 3.6.1 -> 3.6.0 the dashboards are behaving as expected again.
This only seems to be an issue for the latest timeseries values, attributes load straight away.
The behaviour is replicable via the WebSocket API
/api/ws/plugins/telemetry, using the same JSON object that is used by a widget. Looking at the initial response, thedata.data.latest.TIME_SERIESvalues are all empty, for example:It might be useful to note that when viewing a device detail page, the "Latest Telemetry" tab loads instantly with all of the latest values, so I've only seen this to affect dashboards.
We are using Cassandra as the time series data store, and the
ts_kv_latest_cftable seems to be correctly populated with the latest values. The Postgrests_kv_dictionary/ts_kv_latesttables are both empty, which I think is to be expected with a hybrid database configuration, however is it possible that with version 3.6.1, the data is attempted to be fetched from Postgres, even when a Cassandra DB is used as the timeseries data store?Server Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The table will load the latest values from each device, regardless of whether it is actively pushing telemetry.
Screenshots

Note the empty temperature/humidity value. Provisioned / active are attributes.