@sapui5/sap.ushell_abap 1.90.5 → 1.90.6

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.
Files changed (21) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ui2/srvc/ODataWrapper.js +1297 -1274
  3. package/src/main/js/sap/ushell_abap/.library +1 -1
  4. package/src/main/js/sap/ushell_abap/adapters/abap/AppStateAdapter.js +1 -1
  5. package/src/main/js/sap/ushell_abap/adapters/abap/ClientSideTargetResolutionAdapter.js +1 -1
  6. package/src/main/js/sap/ushell_abap/adapters/abap/ConfigurationDefaultsAdapter.js +1 -1
  7. package/src/main/js/sap/ushell_abap/adapters/abap/ContainerAdapter.js +1 -1
  8. package/src/main/js/sap/ushell_abap/adapters/abap/EndUserFeedbackAdapter.js +1 -1
  9. package/src/main/js/sap/ushell_abap/adapters/abap/LaunchPageAdapter.js +1 -1
  10. package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionAdapter.js +1 -1
  11. package/src/main/js/sap/ushell_abap/adapters/abap/PageBuildingAdapter.js +1 -1
  12. package/src/main/js/sap/ushell_abap/adapters/abap/PagePersistenceAdapter.js +1 -1
  13. package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationAdapter.js +1 -1
  14. package/src/main/js/sap/ushell_abap/adapters/abap/SearchAdapter.js +1 -1
  15. package/src/main/js/sap/ushell_abap/adapters/abap/SupportTicketAdapter.js +1 -1
  16. package/src/main/js/sap/ushell_abap/adapters/abap/Ui5ComponentLoaderAdapter.js +1 -1
  17. package/src/main/js/sap/ushell_abap/adapters/hana/ContainerAdapter.js +1 -1
  18. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +1 -1
  19. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.catalog.js +6 -8
  20. package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.pageset.js +10 -9
  21. package/src/main/js/sap/ushell_abap/library.js +2 -2
@@ -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.90.5</version>
5
+ <version>1.90.6</version>
6
6
  <copyright>Copyright (c) 2009-2021 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.90.5
5
+ * @version 1.90.6
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.90.5
12
+ * @version 1.90.6
13
13
  */
14
14
  sap.ui.define([
15
15
  "sap/ui/thirdparty/jquery",
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview The ConfigurationDefaults adapter for the ABAP platform.
4
4
  *
5
- * @version 1.90.5
5
+ * @version 1.90.6
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.90.5
5
+ * @version 1.90.6
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/thirdparty/jquery",
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview The end user feedback adapter for the ABAP platform.
4
4
  *
5
- * @version 1.90.5
5
+ * @version 1.90.6
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui2/srvc/ODataWrapper",
@@ -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.90.5
5
+ * @version 1.90.6
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/thirdparty/URI",
@@ -7,7 +7,7 @@
7
7
  * service now calls the ClientSideTargetResolution service in the abap
8
8
  * platform.
9
9
  *
10
- * @version 1.90.5
10
+ * @version 1.90.6
11
11
  */
12
12
  sap.ui.define([], function () {
13
13
  "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.90.5
5
+ * @version 1.90.6
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.90.5
5
+ * @version 1.90.6
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.90.5
10
+ * @version 1.90.6
11
11
  */
12
12
  sap.ui.define([
13
13
  "sap/ushell_abap/adapters/abap/AdapterContainer",
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Search adapter for the ABAP platform.
5
5
  *
6
- * @version 1.90.5
6
+ * @version 1.90.6
7
7
  */
8
8
  sap.ui.define([], function () {
9
9
  "use strict";
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The SupportTicket adapter for the ABAP platform.
5
- * @version 1.90.5
5
+ * @version 1.90.6
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.90.5
5
+ * @version 1.90.6
6
6
  */
7
7
  sap.ui.define([
8
8
  ], function () {
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview The Unified Shell's container adapter for the HANA platform.
4
4
  *
5
- * @version 1.90.5
5
+ * @version 1.90.6
6
6
  */
7
7
  /**
8
8
  * @namespace Default namespace for Unified Shell adapters for the HANA platform. They can usually
@@ -13,7 +13,7 @@
13
13
  * It furthermore calculates if FLP pages get activated and if needed sets up
14
14
  * the configuration environment to run these.
15
15
  *
16
- * @version 1.90.5
16
+ * @version 1.90.6
17
17
  */
18
18
  sap.ui.define([
19
19
  "./abap.constants",
@@ -1,11 +1,11 @@
1
1
  // Copyright (c) 2009-2021 SAP SE. All rights reserved.
2
+
2
3
  sap.ui.define([
3
4
  "./abap.bootstrap.utils",
4
5
  "sap/ui2/srvc/allcatalogs"
5
-
6
- ],
7
- function (oAbapUtils) {
6
+ ], function (oAbapUtils) {
8
7
  "use strict";
8
+
9
9
  /* global OData */
10
10
 
11
11
  var oCatalogHandler = {},
@@ -74,7 +74,6 @@ function (oAbapUtils) {
74
74
  * @since 1.70.0
75
75
  */
76
76
  function _getAllCatalogsUrl (oStartupResult, sServicePropertyName, sPageId) {
77
-
78
77
  var S_DEFAULT_SORTING_CONDITION = "title",
79
78
  S_DEFAULT_FILTERING_CONDITION = "type eq 'CATALOG_PAGE' or type eq 'H' or type eq 'SM_CATALOG' or type eq 'REMOTE'",
80
79
  S_DEFAULT_PAGE_ID = "/UI2/FLPNoActionChip",
@@ -84,12 +83,11 @@ function (oAbapUtils) {
84
83
  sUI2CacheDisable = oAbapUtils.getUrlParameterValue("sap-ui2-cache-disable");
85
84
 
86
85
  sServiceUrl = oServiceData.baseUrl + "/Pages('" + encodeURIComponent(sPageId || S_DEFAULT_PAGE_ID) +
87
- "')/allCatalogs?$expand=Chips/ChipBags/ChipProperties&" +
88
- "$orderby=" + S_DEFAULT_SORTING_CONDITION;
86
+ "')/allCatalogs?$expand=Chips/ChipBags/ChipProperties&" +
87
+ "$orderby=" + S_DEFAULT_SORTING_CONDITION;
89
88
 
90
89
  sServiceUrl = sServiceUrl + "&$filter=" + encodeURIComponent(S_DEFAULT_FILTERING_CONDITION);
91
90
 
92
-
93
91
  if (sUI2CacheDisable) {
94
92
  sServiceUrl += (sServiceUrl.indexOf("?") < 0 ? "?" : "&") + "sap-ui2-cache-disable=" + oServiceData["sap-ui2-cache-disable"];
95
93
  }
@@ -156,4 +154,4 @@ function (oAbapUtils) {
156
154
  }; //Only for testing
157
155
 
158
156
  return oCatalogHandler;
159
- });
157
+ });
@@ -1,10 +1,13 @@
1
1
  // Copyright (c) 2009-2021 SAP SE. All rights reserved.
2
+
2
3
  sap.ui.define([
3
4
  "./abap.bootstrap.utils",
4
5
  "sap/ui/thirdparty/jquery",
5
- "sap/base/util/UriParameters"
6
- ], function (oAbapUtils, jQuery, URI) {
6
+ "sap/base/util/UriParameters",
7
+ "sap/base/Log"
8
+ ], function (oAbapUtils, jQuery, URI, Log) {
7
9
  "use strict";
10
+
8
11
  /*global OData */
9
12
 
10
13
  var oPagesetHandler = {},
@@ -52,10 +55,9 @@ sap.ui.define([
52
55
  * Determines the URL for the PageSets OData service from the startup service result. If the URL is not set
53
56
  * a hard-coded fallback URL is returned and set in the startupResult.
54
57
  */
55
- function getAndAdjustServiceURL (oStartupCallResult, sServicePropertyName, sFallbackBaseUrl,
56
- sFallbackRelativeUrl, sFallbackExpand) {
58
+ function getAndAdjustServiceURL (oStartupCallResult, sServicePropertyName, sFallbackBaseUrl, sFallbackRelativeUrl, sFallbackExpand) {
57
59
  var sServiceUrl,
58
- oServiceData, // shortcut for oStartupCallResult.services[sServicePropetyName]
60
+ oServiceData, // shortcut for oStartupCallResult.services[sServicePropertyName]
59
61
  bFallbackApplied = false;
60
62
 
61
63
  if (oStartupCallResult.services) {
@@ -80,7 +82,7 @@ sap.ui.define([
80
82
  }
81
83
 
82
84
  if (bFallbackApplied) {
83
- jQuery.sap.log.warning(
85
+ Log.warning(
84
86
  "URL for " + sServicePropertyName + " service not found in startup service result; fallback to default; cache invalidation might fail",
85
87
  null,
86
88
  "sap.ushell_abap.bootstrap"
@@ -166,7 +168,6 @@ sap.ui.define([
166
168
  function requestOData (sUrl, oStartupResult, fnCallback) {
167
169
  var oXHR;
168
170
  oXHR = oAbapUtils.createAndOpenXHR(sUrl, oStartupResult);
169
- oXHR.setRequestHeader("X-CSRF-Token", "fetch");
170
171
  // set sap-statistics header, see
171
172
  // http://help.sap.com/saphelp_nw74/helpdata/de/40/93b81292194d6a926e105c10d5048d/content.htm
172
173
  if (bSapStatistics) {
@@ -176,7 +177,7 @@ sap.ui.define([
176
177
  if (this.readyState !== /*DONE*/4) {
177
178
  return; // not yet DONE
178
179
  }
179
- fnCallback(oXHR.status, oXHR.getResponseHeader("x-csrf-token"), oXHR.responseText);
180
+ fnCallback(oXHR.status, undefined /* csrf token */, oXHR.responseText);
180
181
  };
181
182
  oXHR.send();
182
183
  }
@@ -191,4 +192,4 @@ sap.ui.define([
191
192
  return oPagesetHandler;
192
193
 
193
194
 
194
- });
195
+ });
@@ -16,14 +16,14 @@ sap.ui.define([
16
16
  * @namespace
17
17
  * @name sap.ushell_abap
18
18
  * @author SAP SE
19
- * @version 1.90.5
19
+ * @version 1.90.6
20
20
  * @private
21
21
  * @ui5-restricted
22
22
  *
23
23
  */
24
24
  sap.ui.getCore().initLibrary({
25
25
  name:"sap.ushell_abap",
26
- version:"1.90.5",
26
+ version:"1.90.6",
27
27
  dependencies:["sap.ui.core","sap.m"],
28
28
  noLibraryCSS: true,
29
29
  extensions: {