@sapui5/sap.ushell_abap 1.96.8 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ushell_abap",
3
- "version": "1.96.8",
3
+ "version": "1.96.9",
4
4
  "description": "SAPUI5 Library sap.ushell_abap",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "keywords": [
@@ -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.8</version>
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 AppStateAdapter for the ABAP platform.
5
- * @version 1.96.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -9,7 +9,7 @@
9
9
  * <li>provide the resolveHashFragmentFallback function, a fallback method called by ClientSideTargetResolution service.</li>
10
10
  * </ul>
11
11
  *
12
- * @version 1.96.8
12
+ * @version 1.96.9
13
13
  */
14
14
  sap.ui.define([
15
15
  "sap/ui/thirdparty/jquery",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The ConfigurationDefaults adapter for the ABAP platform.
5
- * @version 1.96.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell_abap/bootstrap/evo/abap.constants",
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview The Unified Shell's container adapter for the ABAP platform.
4
4
  *
5
- * @version 1.96.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/thirdparty/jquery",
@@ -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.8
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 (oTargetMappingServiceConfig && oTargetMappingServiceConfig.cacheId) {
2418
- // add cache buster token for the allCatalogs request.
2419
- // Reuse TargetMappings token as it is also invalidated in case the user's catalogs changed
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, oTargetMappingServiceConfig.cacheId);
2425
-
2414
+ oCacheTokens.put(sDEFAULT_PAGE_ID, oLaunchPageServiceConfig.cacheId);
2426
2415
  if (Config.last("/core/spaces/enabled")) {
2427
- oCacheTokens.put(PAGE_ID_WITHOUT_TM, oTargetMappingServiceConfig.cacheId);
2416
+ oCacheTokens.put(PAGE_ID_WITHOUT_TM, oLaunchPageServiceConfig.cacheId);
2428
2417
  }
2429
2418
  })
2430
2419
  .catch(oDeferred.reject);
@@ -8,7 +8,7 @@
8
8
  * service now calls the ClientSideTargetResolution service in the abap
9
9
  * platform.
10
10
  *
11
- * @version 1.96.8
11
+ * @version 1.96.9
12
12
  */
13
13
  sap.ui.define([], function () {
14
14
  "use strict";
@@ -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.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview PagePersistenceAdapter for the ABAP platform.
5
- * @version 1.96.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -7,7 +7,7 @@
7
7
  * Container header properties transported via pseudo-items are mapped to the
8
8
  * respective header properties in setItem/getItem/delItem
9
9
  *
10
- * @version 1.96.8
10
+ * @version 1.96.9
11
11
  */
12
12
  sap.ui.define([
13
13
  "sap/ushell_abap/adapters/abap/AdapterContainer",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The Search adapter for the ABAP platform.
5
- * @version 1.96.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([], function () {
8
8
  "use strict";
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The SupportTicket adapter for the ABAP platform.
5
- * @version 1.96.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/isEmptyObject",
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview The Unified Shell's Ui5ComponentLoaderAdapter for the ABAP platform
4
4
  *
5
- * @version 1.96.8
5
+ * @version 1.96.9
6
6
  */
7
7
  sap.ui.define([
8
8
  ], function () {
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Unified Shell's container adapter for the HANA platform.
5
5
  *
6
- * @version 1.96.8
6
+ * @version 1.96.9
7
7
  */
8
8
  /**
9
9
  * @namespace Default namespace for Unified Shell adapters for the HANA platform. They can usually
@@ -14,7 +14,7 @@
14
14
  * It furthermore calculates if FLP pages get activated and if needed sets up
15
15
  * the configuration environment to run these.
16
16
  *
17
- * @version 1.96.8
17
+ * @version 1.96.9
18
18
  */
19
19
  sap.ui.define([
20
20
  "./abap.constants",
@@ -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.8
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.8",
22
+ version: "1.96.9",
23
23
  dependencies: ["sap.ui.core", "sap.m"],
24
24
  noLibraryCSS: true,
25
25
  extensions: {