@magic-xpa/engine 4.1201.0-dev4121.253 → 4.1201.0-dev4121.263

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.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # Magic-xpa/engine
2
-
3
- This package is part of Magic xpa Web Application Framework.
4
- It is used to easily create modern business apps powered by Angular to provide a rich user experience and meet the increasingly complex enterprise business expectations for digital transformation.
5
-
6
-
7
-
1
+ # Magic-xpa/engine
2
+
3
+ This package is part of Magic xpa Web Application Framework.
4
+ It is used to easily create modern business apps powered by Angular to provide a rich user experience and meet the increasingly complex enterprise business expectations for digital transformation.
5
+
6
+
7
+
@@ -22983,6 +22983,9 @@ class DataView extends DataViewBase {
22983
22983
  break;
22984
22984
  case XMLConstants.MG_ATTR_TASKID:
22985
22985
  continue;
22986
+ case XMLConstants.MG_MAINPRG_CTL_PATH:
22987
+ this._task.MainPrgCtlPath = valueStr;
22988
+ break;
22986
22989
  case ConstInterface.MG_ATTR_LOW_ID:
22987
22990
  this._lastCreatedRecId = NNumber.Parse(valueStr);
22988
22991
  break;
@@ -30018,6 +30021,7 @@ class Task extends TaskBase {
30018
30021
  _loopStack = null;
30019
30022
  allowRemoteCmdExecution;
30020
30023
  DelayCommandExecution = false;
30024
+ MainPrgCtlPath = null;
30021
30025
  ///<summary>
30022
30026
  /// This is the task which invoked the handler containing the Call operation.
30023
30027
  /// This member is used for searching the variables like VarIndex(), etc
@@ -30577,6 +30581,12 @@ class Task extends TaskBase {
30577
30581
  message.Append(XMLConstants.START_TAG + XMLConstants.MG_TAG_TASK);
30578
30582
  message.Append(" " + XMLConstants.MG_ATTR_TASKID + "=\"" + this.getTaskTag() + "\"");
30579
30583
  message.Append(" " + ConstInterface.MG_ATTR_TASK_MAINLEVEL + "=\"" + this.getMainLevel() + "\"");
30584
+ if (RemoteCommandsProcessor.IsSessionReInitializing && this.isMainProg) {
30585
+ // While sending context reinitialize request, send the application path for main program
30586
+ // This path will be used to match mainprogram on server side while updating its dataview
30587
+ Debug.Assert(this.MainPrgCtlPath.length > 0);
30588
+ message.Append(" " + XMLConstants.MG_MAINPRG_CTL_PATH + "=\"" + this.MainPrgCtlPath + "\"");
30589
+ }
30580
30590
  message.Append(XMLConstants.TAG_CLOSE);
30581
30591
  await this.DataView.buildXML(message);
30582
30592
  if (this.Form != null && this.Form.Opened)
@@ -39629,7 +39639,7 @@ class CommandsTable {
39629
39639
  }
39630
39640
  }
39631
39641
 
39632
- let CurrentClientVersion = '4.1201.0-dev4121.253';
39642
+ let CurrentClientVersion = '4.1201.0-dev4121.263';
39633
39643
 
39634
39644
  // @dynamic
39635
39645
  class ClientManager {