@sapui5/sap.fe.core 1.96.4 → 1.96.5

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.fe.core",
3
- "version": "1.96.4",
3
+ "version": "1.96.5",
4
4
  "description": "SAPUI5 Library sap.fe.core",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAP UI development toolkit for HTML5 (SAPUI5)
7
7
  (c) Copyright 2009-2021 SAP SE. All rights reserved
8
8
  </copyright>
9
- <version>1.96.4</version>
9
+ <version>1.96.5</version>
10
10
 
11
11
  <documentation>UI5 library: sap.fe.core</documentation>
12
12
 
@@ -106,7 +106,7 @@ sap.ui.define(
106
106
  interfaces: [],
107
107
  controls: [],
108
108
  elements: [],
109
- version: "1.96.4",
109
+ version: "1.96.5",
110
110
  noLibraryCSS: true,
111
111
  extensions: {
112
112
  //Configuration used for rule loading of Support Assistant
@@ -134,8 +134,10 @@ sap.ui.define(
134
134
 
135
135
  oSideEffectsServices.initializeSideEffects(oAppComponent.getEnvironmentCapabilities().getCapabilities());
136
136
 
137
- sPageModelCacheKey =
138
- sCacheKey + "-" + sVersionInfo + "-" + sStableId + "-" + oShellServices.instanceType + "-pageModel";
137
+ // In case there is no cache key we ignore the view cache
138
+ sPageModelCacheKey = sCacheKey
139
+ ? sCacheKey + "-" + sVersionInfo + "-" + sStableId + "-" + oShellServices.instanceType + "-pageModel"
140
+ : undefined;
139
141
  return Promise.all(aDependenciesResult.concat([that._getCachedModel(sPageModelCacheKey)]));
140
142
  })
141
143
  .then(function(aDependenciesResult) {
@@ -170,6 +172,7 @@ sap.ui.define(
170
172
  },
171
173
  _getCachedModel: function(sCacheKey) {
172
174
  if (
175
+ sCacheKey &&
173
176
  sap.ui
174
177
  .getCore()
175
178
  .getConfiguration()
@@ -181,6 +184,7 @@ sap.ui.define(
181
184
  },
182
185
  _setCachedModel: function(sCacheKey, oCacheModel) {
183
186
  if (
187
+ sCacheKey &&
184
188
  sap.ui
185
189
  .getCore()
186
190
  .getConfiguration()