@sapui5/sap.ushell_abap 1.96.6 → 1.96.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/main/js/sap/ui2/srvc/es5.js +6 -0
- package/src/main/js/sap/ushell_abap/.library +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/LaunchPageAdapter.js +7 -18
- package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/PagePersistenceAdapter.js +6 -3
- package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/hana/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +1 -1
- package/src/main/js/sap/ushell_abap/library.js +2 -2
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd">
|
|
3
3
|
<name>sap.ushell_abap</name>
|
|
4
4
|
<vendor>SAP SE</vendor>
|
|
5
|
-
<version>1.96.
|
|
5
|
+
<version>1.96.9</version>
|
|
6
6
|
<copyright>Copyright (c) 2009-2022 SAP SE. All rights reserved.</copyright>
|
|
7
7
|
<documentation>SAP library: sap.ushell_abap</documentation>
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's page building adapter for the ABAP platform.
|
|
5
|
-
* @version 1.96.
|
|
5
|
+
* @version 1.96.9
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/thirdparty/URI",
|
|
@@ -80,7 +80,6 @@ sap.ui.define([
|
|
|
80
80
|
oTargetMappingSupport = new Utils.Map(),
|
|
81
81
|
|
|
82
82
|
oAdapterConfig = (oAdapterConfiguration && oAdapterConfiguration.config) || {},
|
|
83
|
-
oTargetMappingServiceConfig = oAdapterConfig.services && oAdapterConfig.services.targetMappings,
|
|
84
83
|
oLaunchPageServiceConfig = oAdapterConfig.services && oAdapterConfig.services.launchPage,
|
|
85
84
|
mEarlyTileVisibilities = {},
|
|
86
85
|
that = this;
|
|
@@ -88,16 +87,6 @@ sap.ui.define([
|
|
|
88
87
|
this._oCurrentPageSet = null;
|
|
89
88
|
this._bPageSetFullyLoaded = false;
|
|
90
89
|
|
|
91
|
-
if (!oTargetMappingServiceConfig) {
|
|
92
|
-
throw new Error("Configuration for target mappings service not passed");
|
|
93
|
-
}
|
|
94
|
-
if (!oTargetMappingServiceConfig.baseUrl) {
|
|
95
|
-
throw new Error("baseUrl was not passed in Configuration for target mappings service");
|
|
96
|
-
}
|
|
97
|
-
if (!oTargetMappingServiceConfig.relativeUrl) {
|
|
98
|
-
throw new Error("relativeUrl was not passed in Configuration for target mappings service");
|
|
99
|
-
}
|
|
100
|
-
|
|
101
90
|
if (sap.ui2.srvc.contracts.preview.setEnvironmentType) {
|
|
102
91
|
sap.ui2.srvc.contracts.preview.setEnvironmentType("runtime");
|
|
103
92
|
}
|
|
@@ -2414,17 +2403,17 @@ sap.ui.define([
|
|
|
2414
2403
|
this._startLoading = function (oDeferred, bRefreshRequired) {
|
|
2415
2404
|
var oPromise;
|
|
2416
2405
|
|
|
2417
|
-
if (
|
|
2418
|
-
// add cache buster token for the allCatalogs request
|
|
2419
|
-
//
|
|
2406
|
+
if (oLaunchPageServiceConfig && oLaunchPageServiceConfig.cacheId) {
|
|
2407
|
+
// add cache buster token for the allCatalogs request
|
|
2408
|
+
// use the same token as for the classic homepage (for service /UI2/PAGE_BUILDER_PERS),
|
|
2409
|
+
// this is invalidated for all kind of changes of a catalog (title, tiles, target mappings)
|
|
2420
2410
|
oPromise = sap.ushell.Container.getServiceAsync("PageBuilding")
|
|
2421
2411
|
.then(function (PageBuildingService) {
|
|
2422
2412
|
var oCacheTokens = PageBuildingService.getFactory().getPageBuildingService().readAllCatalogs.cacheBusterTokens;
|
|
2423
2413
|
|
|
2424
|
-
oCacheTokens.put(sDEFAULT_PAGE_ID,
|
|
2425
|
-
|
|
2414
|
+
oCacheTokens.put(sDEFAULT_PAGE_ID, oLaunchPageServiceConfig.cacheId);
|
|
2426
2415
|
if (Config.last("/core/spaces/enabled")) {
|
|
2427
|
-
oCacheTokens.put(PAGE_ID_WITHOUT_TM,
|
|
2416
|
+
oCacheTokens.put(PAGE_ID_WITHOUT_TM, oLaunchPageServiceConfig.cacheId);
|
|
2428
2417
|
}
|
|
2429
2418
|
})
|
|
2430
2419
|
.catch(oDeferred.reject);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview PagePersistenceAdapter for the ABAP platform.
|
|
5
|
-
* @version 1.96.
|
|
5
|
+
* @version 1.96.9
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/util/ObjectPath",
|
|
@@ -2436,8 +2436,7 @@ sap.ui.define([
|
|
|
2436
2436
|
"sap-client": sap.ushell.Container.getLogonSystem().getClient()
|
|
2437
2437
|
},
|
|
2438
2438
|
defaultCountMode: "None",
|
|
2439
|
-
skipMetadataAnnotationParsing: true
|
|
2440
|
-
useBatch: false
|
|
2439
|
+
skipMetadataAnnotationParsing: true
|
|
2441
2440
|
});
|
|
2442
2441
|
|
|
2443
2442
|
// If we have the metdata cache backe in action, we will need to revert to the previous implementation
|
|
@@ -2534,6 +2533,8 @@ sap.ui.define([
|
|
|
2534
2533
|
PagePersistenceAdapter.prototype._readPage = function (pageId) {
|
|
2535
2534
|
return this.getMetadataPromise().then(function () {
|
|
2536
2535
|
return new Promise(function (resolve, reject) {
|
|
2536
|
+
// disable batch mode for reading single pages to avoid additional round trip for CSRF token fetch
|
|
2537
|
+
this.getODataModel().setUseBatch(false);
|
|
2537
2538
|
this.getODataModel().read("/pageSet('" + encodeURIComponent(pageId) + "')", {
|
|
2538
2539
|
urlParameters: {
|
|
2539
2540
|
$expand: "sections/viz,vizReferences/chipBags/properties,tileTypes/vizOptions/displayFormats/supported"
|
|
@@ -2569,6 +2570,8 @@ sap.ui.define([
|
|
|
2569
2570
|
});
|
|
2570
2571
|
aPageFilters.push(oPageFilter);
|
|
2571
2572
|
}
|
|
2573
|
+
// use batch mode for reading multiple pages to avoid URL length limit exceeding
|
|
2574
|
+
this.getODataModel().setUseBatch(true);
|
|
2572
2575
|
this.getODataModel().read("/pageSet", {
|
|
2573
2576
|
urlParameters: {
|
|
2574
2577
|
$expand: "sections/viz,vizReferences/chipBags/properties,tileTypes/vizOptions/displayFormats/supported"
|
|
@@ -13,13 +13,13 @@ sap.ui.define([
|
|
|
13
13
|
* @namespace
|
|
14
14
|
* @name sap.ushell_abap
|
|
15
15
|
* @author SAP SE
|
|
16
|
-
* @version 1.96.
|
|
16
|
+
* @version 1.96.9
|
|
17
17
|
* @private
|
|
18
18
|
* @ui5-restricted
|
|
19
19
|
*/
|
|
20
20
|
sap.ui.getCore().initLibrary({
|
|
21
21
|
name: "sap.ushell_abap",
|
|
22
|
-
version: "1.96.
|
|
22
|
+
version: "1.96.9",
|
|
23
23
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
24
24
|
noLibraryCSS: true,
|
|
25
25
|
extensions: {
|