@sapui5/sap.fe.core 1.96.5 → 1.96.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.fe.core",
3
- "version": "1.96.5",
3
+ "version": "1.96.6",
4
4
  "description": "SAPUI5 Library sap.fe.core",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAP UI development toolkit for HTML5 (SAPUI5)
7
7
  (c) Copyright 2009-2021 SAP SE. All rights reserved
8
8
  </copyright>
9
- <version>1.96.5</version>
9
+ <version>1.96.6</version>
10
10
 
11
11
  <documentation>UI5 library: sap.fe.core</documentation>
12
12
 
@@ -1039,11 +1039,7 @@ sap.ui.define(
1039
1039
  }
1040
1040
  }
1041
1041
 
1042
- if (mParameters.isNavigable) {
1043
- mParameters.bGetBoundContext = false;
1044
- } else {
1045
- mParameters.bGetBoundContext = true;
1046
- }
1042
+ mParameters.bGetBoundContext = this._getBoundContext(oView, mParameters);
1047
1043
  // Need to know that the action is called from ObjectPage for changeSet Isolated workaround
1048
1044
  mParameters.bObjectPage = oView.getViewData().converterType === "ObjectPage";
1049
1045
  return this._syncTask()
@@ -1519,6 +1515,12 @@ sap.ui.define(
1519
1515
  bForceFocus: bForceFocus
1520
1516
  });
1521
1517
  },
1518
+
1519
+ _getBoundContext: function(oView, mParams) {
1520
+ var iViewLevel = oView.getViewData().viewLevel;
1521
+ var bRefreshAfterAction = iViewLevel > 1 || (iViewLevel === 1 && mParams.controlId);
1522
+ return !mParams.isNavigable || !!bRefreshAfterAction;
1523
+ },
1522
1524
 
1523
1525
  /**
1524
1526
  * Checks if there are validation (parse) errors for controls bound to a given context
@@ -106,7 +106,7 @@ sap.ui.define(
106
106
  interfaces: [],
107
107
  controls: [],
108
108
  elements: [],
109
- version: "1.96.5",
109
+ version: "1.96.6",
110
110
  noLibraryCSS: true,
111
111
  extensions: {
112
112
  //Configuration used for rule loading of Support Assistant