@sapui5/sap.suite.ui.generic.template 1.148.8 → 1.148.9

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.suite.ui.generic.template",
3
- "version": "1.148.8",
3
+ "version": "1.148.9",
4
4
  "description": "SAPUI5 Library sap.suite.ui.generic.template",
5
5
  "keywords": [
6
6
  "sapui5",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.148.8</version>
10
+ <version>1.148.9</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.148.8"
11
+ "version": "1.148.9"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.148.8"
11
+ "version": "1.148.9"
12
12
  },
13
13
  "title": "Canvas",
14
14
  "description": "Canvas Page",
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.148.8"
11
+ "version": "1.148.9"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.148.8"
9
+ "version": "1.148.9"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.148.8"
9
+ "version": "1.148.9"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.148.8"
9
+ "version": "1.148.9"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -961,7 +961,7 @@ sap.ui.define([
961
961
  * @public
962
962
  * @extends sap.ui.core.UIComponent
963
963
  * @author SAP SE
964
- * @version 1.148.8
964
+ * @version 1.148.9
965
965
  * @name sap.suite.ui.generic.template.lib.AppComponent
966
966
  */
967
967
  var oAppComponent = UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
@@ -1115,8 +1115,15 @@ sap.ui.define(["sap/ui/base/Object",
1115
1115
  // The value "sEntitySet" holds the entity set of an object page or a table.
1116
1116
  //
1117
1117
  // Sometimes, the SmartLink is located on a field group which belongs to the child entity set of object page.
1118
- // So, we have to always derive the entity type from the smart link's binding context.
1118
+ // So, we try to derive the entity type from the SmartLink's binding context.
1119
1119
  var oEntityType = ModelUtil.getEntityTypeFromContext(oControl.getBindingContext());
1120
+ // CS20260013063140: ModelUtil.getEntityTypeFromContext returns null when the SmartLink
1121
+ // is resolved via SmartLinkDelegate, because the binding context is not yet resolvable
1122
+ // to an entity type at that point.
1123
+ // Fall back to deriving the entity type from the enclosing entity set instead.
1124
+ if (!oEntityType) {
1125
+ oEntityType = oMetaModel.getODataEntityType(oEntitySet.entityType);
1126
+ }
1120
1127
  var oField = oEntityType.property.find(function (oProperty) { return oProperty.name === sSourceClickedField; });
1121
1128
  var sTextArrangement = "descriptionAndId";
1122
1129
  if (oField) { // TODO: Need to provide the correct field Object using the entityType and corresponding association (should be handled by a BLI)
@@ -3222,7 +3222,7 @@ sap.ui.define(["sap/ui/base/Object",
3222
3222
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
3223
3223
  * @public
3224
3224
  * @extends sap.ui.base.Object
3225
- * @version 1.148.8
3225
+ * @version 1.148.9
3226
3226
  * @since 1.30.0
3227
3227
  * @alias sap.suite.ui.generic.template.lib.NavigationController
3228
3228
  */
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  interfaces: [],
69
69
  controls: [],
70
70
  elements: [],
71
- version: "1.148.8",
71
+ version: "1.148.9",
72
72
  extensions: {
73
73
  //Configuration used for rule loading of Support Assistant
74
74
  "sap.ui.support": {