@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
package/src/sap/fe/core/.library
CHANGED
|
@@ -134,8 +134,10 @@ sap.ui.define(
|
|
|
134
134
|
|
|
135
135
|
oSideEffectsServices.initializeSideEffects(oAppComponent.getEnvironmentCapabilities().getCapabilities());
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
|
|
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()
|