You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DeviceDeploymentStatus contains the following two fields when NotDeployed:
/**
* The role names of devices which need to be registered before the deployment information for this device can be obtained.
*/
abstract val remainingDevicesToRegisterToObtainDeployment: Set<String>
/**
* The role names of devices which need to be registered before this device can be declared as successfully deployed.
*/
abstract val remainingDevicesToRegisterBeforeDeployment: Set<String>
But, DeviceDeploymentStatus is created for all devices in a deployment, including non-primary connected devices. And remainingDevicesToRegisterToObtainDeployment contains the device itself for those (set in StudyDeployment.getDeviceStatus()). This doesn't make sense, since connected devices can't be deployed.
Functionally, this doesn't impact much. However, it does seem confusing and likely misleading.
What is a clean way to fix this? Do devices which can't be deployed need another status? Or, should these fields simply remain unset for non-primary connected devices?
The text was updated successfully, but these errors were encountered:
DeviceDeploymentStatus
contains the following two fields whenNotDeployed
:But,
DeviceDeploymentStatus
is created for all devices in a deployment, including non-primary connected devices. AndremainingDevicesToRegisterToObtainDeployment
contains the device itself for those (set inStudyDeployment.getDeviceStatus()
). This doesn't make sense, since connected devices can't be deployed.Functionally, this doesn't impact much. However, it does seem confusing and likely misleading.
What is a clean way to fix this? Do devices which can't be deployed need another status? Or, should these fields simply remain unset for non-primary connected devices?
The text was updated successfully, but these errors were encountered: