Browse Source

Fix DeviceProfile copy constructor

pull/14641/head
Nikita Mazurenko 8 months ago
parent
commit
550c65dc93
  1. 3
      common/data/src/main/java/org/thingsboard/server/common/data/DeviceProfile.java

3
common/data/src/main/java/org/thingsboard/server/common/data/DeviceProfile.java

@ -114,6 +114,9 @@ public class DeviceProfile extends BaseData<DeviceProfileId> implements HasName,
this.description = deviceProfile.getDescription();
this.image = deviceProfile.getImage();
this.isDefault = deviceProfile.isDefault();
this.type = deviceProfile.getType();
this.transportType = deviceProfile.getTransportType();
this.provisionType = deviceProfile.getProvisionType();
this.defaultRuleChainId = deviceProfile.getDefaultRuleChainId();
this.defaultDashboardId = deviceProfile.getDefaultDashboardId();
this.defaultQueueName = deviceProfile.getDefaultQueueName();

Loading…
Cancel
Save