@sapui5/sap.fe.macros 1.96.10 → 1.96.12

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.macros",
3
- "version": "1.96.10",
3
+ "version": "1.96.12",
4
4
  "description": "SAPUI5 Library sap.fe.macros",
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.10</version>
9
+ <version>1.96.12</version>
10
10
 
11
11
  <documentation>UI5 library: sap.fe.macros</documentation>
12
12
 
@@ -838,11 +838,18 @@ sap.ui.define(
838
838
  // on the Listreport there is no bindingContext
839
839
  if (!bindingContext) {
840
840
  var subPath = propertyPath;
841
+ var metaModelFromsubPath = metaModel.getObject(subPath);
842
+ var checkBeAction = null;
841
843
  while (subPath.length > 0) {
842
- if (metaModel.getObject(subPath).$kind === "NavigationProperty") {
844
+ checkBeAction = Array.isArray(metaModelFromsubPath) ? metaModelFromsubPath[0] : metaModelFromsubPath;
845
+ // In/Out parameters shall be considered if we handle a Action aParameter
846
+ if (checkBeAction.$kind === "Action") {
847
+ return true;
848
+ } else if (checkBeAction.$kind === "NavigationProperty") {
843
849
  return false;
844
850
  }
845
851
  subPath = subPath.substring(0, subPath.lastIndexOf("/"));
852
+ metaModelFromsubPath = metaModel.getObject(subPath);
846
853
  }
847
854
  }
848
855
  return true;
@@ -59,7 +59,7 @@ sap.ui.define(
59
59
  interfaces: [],
60
60
  controls: [],
61
61
  elements: [],
62
- version: "1.96.10",
62
+ version: "1.96.12",
63
63
  noLibraryCSS: true
64
64
  });
65
65