@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 +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +8 -1
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json
CHANGED
|
@@ -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.
|
|
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
|
|
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.
|
|
3225
|
+
* @version 1.148.9
|
|
3226
3226
|
* @since 1.30.0
|
|
3227
3227
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
3228
3228
|
*/
|