Browse Source
Installed-item rows with a DASHBOARD descriptor may still exist on instances that were connected to the QA Hub. Without the subtype Jackson fails on such a row and the whole Installed items page breaks, so keep the descriptor and the delete branch to let those rows be read and removed.pull/16255/head
3 changed files with 25 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||
|
package org.thingsboard.server.common.data.iot_hub; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import org.thingsboard.server.common.data.id.DashboardId; |
||||
|
|
||||
|
/** |
||||
|
* The IoT Hub no longer has Dashboard items. Kept only so installed-item rows created before that |
||||
|
* can still be read and deleted. |
||||
|
*/ |
||||
|
@Data |
||||
|
public class DashboardInstalledItemDescriptor implements IotHubInstalledItemDescriptor { |
||||
|
|
||||
|
private DashboardId dashboardId; |
||||
|
|
||||
|
} |
||||
Loading…
Reference in new issue