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

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.
@@ -5639,11 +5639,22 @@ class RemoteCommandsProcessor extends CommandsProcessorBase {
5639
5639
  }
5640
5640
  }
5641
5641
  }
5642
- window.localStorage.clear();
5642
+ this.clearLocalStorage();
5643
5643
  throw ex;
5644
5644
  }
5645
5645
  return response;
5646
5646
  }
5647
+ clearLocalStorage() {
5648
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT);
5649
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_SRC_TSK);
5650
+ window.localStorage.removeItem(ConstInterface.LAST_ROUTE_EVENT_ARG_LIST);
5651
+ window.localStorage.removeItem(ConstInterface.IS_SESSION_REINITIALIZING);
5652
+ window.localStorage.removeItem(ConstInterface.MAIN_PROG_VIEW);
5653
+ window.localStorage.removeItem(ConstInterface.GLOBAL_PARAM_LIST);
5654
+ window.localStorage.removeItem(ConstInterface.ENV_VAR_LIST);
5655
+ window.localStorage.removeItem(ConstInterface.LAST_EXCEPTION);
5656
+ window.localStorage.removeItem(ConstInterface.CTX_REMOVED_FROM_SRVR);
5657
+ }
5647
5658
  HandleErrorResponse(response) {
5648
5659
  try {
5649
5660
  Logger.Instance.WriteServerMessagesToLog("MESSAGE FROM SERVER: " + response);
@@ -29531,7 +29542,7 @@ class CommandsTable {
29531
29542
  }
29532
29543
  }
29533
29544
 
29534
- let CurrentClientVersion = '4.1000.0-dev4100.308';
29545
+ let CurrentClientVersion = '4.1000.0-dev4100.309';
29535
29546
 
29536
29547
  class ClientManager {
29537
29548
  static get Instance() {
@@ -29795,7 +29806,7 @@ class ClientManager {
29795
29806
  await MGDataCollection.Instance.addMGData(mgd, 0, true);
29796
29807
  await ClientManager.Instance.WorkThreadExecution();
29797
29808
  if (Logger.Instance.ShouldLog()) {
29798
- Logger.Instance.WriteToLog(OSEnvironment.EolSeq + "Ended on " + DateTimeUtils.ToString(DateTime.Now, "dd/MM/yyyy", Logger.Instance) + OSEnvironment.EolSeq + OSEnvironment.EolSeq, false);
29809
+ Logger.Instance.WriteToLog(OSEnvironment.EolSeq + "Ended on " + DateTimeUtils.ToString(DateTime.Now, XMLConstants.ERROR_LOG_DATE_FORMAT, Logger.Instance) + OSEnvironment.EolSeq + OSEnvironment.EolSeq, false);
29799
29810
  }
29800
29811
  }
29801
29812
  else {