@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
|
@@ -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
|
-
|
|
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;
|