@magic-xpa/engine 4.1000.0-dev4100.308 → 4.1000.0-dev4100.310

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.
@@ -5797,12 +5797,23 @@ class RemoteCommandsProcessor extends CommandsProcessorBase {
5797
5797
  }
5798
5798
  }
5799
5799
  }
5800
- window.localStorage.clear();
5800
+ this.clearLocalStorage();
5801
5801
  throw ex;
5802
5802
  }
5803
5803
  return response;
5804
5804
  });
5805
5805
  }
5806
+ clearLocalStorage() {
5807
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT);
5808
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_SRC_TSK);
5809
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_ARG_LIST);
5810
+ window.localStorage.removeItem(ConstInterface.IS_SESSION_REINITIALIZING);
5811
+ window.localStorage.removeItem(ConstInterface.MAIN_PROG_VIEW);
5812
+ window.localStorage.removeItem(ConstInterface.GLOBAL_PARAM_LIST);
5813
+ window.localStorage.removeItem(ConstInterface.ENV_VAR_LIST);
5814
+ window.localStorage.removeItem(ConstInterface.LAST_EXCEPTION);
5815
+ window.localStorage.removeItem(ConstInterface.CTX_REMOVED_FROM_SRVR);
5816
+ }
5806
5817
  HandleErrorResponse(response) {
5807
5818
  try {
5808
5819
  Logger.Instance.WriteServerMessagesToLog("MESSAGE FROM SERVER: " + response);
@@ -30345,7 +30356,7 @@ class CommandsTable {
30345
30356
  }
30346
30357
  }
30347
30358
 
30348
- let CurrentClientVersion = '4.1000.0-dev4100.308';
30359
+ let CurrentClientVersion = '4.1000.0-dev4100.310';
30349
30360
 
30350
30361
  class ClientManager {
30351
30362
  static get Instance() {
@@ -30614,7 +30625,7 @@ class ClientManager {
30614
30625
  yield MGDataCollection.Instance.addMGData(mgd, 0, true);
30615
30626
  yield ClientManager.Instance.WorkThreadExecution();
30616
30627
  if (Logger.Instance.ShouldLog()) {
30617
- Logger.Instance.WriteToLog(OSEnvironment.EolSeq + "Ended on " + DateTimeUtils.ToString(DateTime.Now, "dd/MM/yyyy", Logger.Instance) + OSEnvironment.EolSeq + OSEnvironment.EolSeq, false);
30628
+ Logger.Instance.WriteToLog(OSEnvironment.EolSeq + "Ended on " + DateTimeUtils.ToString(DateTime.Now, XMLConstants.ERROR_LOG_DATE_FORMAT, Logger.Instance) + OSEnvironment.EolSeq + OSEnvironment.EolSeq, false);
30618
30629
  }
30619
30630
  }
30620
30631
  else {