@magic-xpa/engine 4.900.0-dev490.16 → 4.900.0-dev490.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29517,7 +29517,7 @@ class CommandsTable {
29517
29517
  }
29518
29518
  }
29519
29519
 
29520
- let CurrentClientVersion = '4.900.0-dev490.16';
29520
+ let CurrentClientVersion = '4.900.0-dev490.19';
29521
29521
 
29522
29522
  class ClientManager {
29523
29523
  constructor() {
@@ -29783,7 +29783,7 @@ class ClientManager {
29783
29783
  let task = MGDataCollection.Instance.GetTaskByID(taskId);
29784
29784
  let control = null;
29785
29785
  let newValue = value;
29786
- if (controlName !== null)
29786
+ if (controlName !== null && task !== null)
29787
29787
  control = task.getForm().GetCtrl(controlName);
29788
29788
  if (control != null && control.DataType == StorageAttribute.NUMERIC) {
29789
29789
  pic = control.getPIC();