Open tobiasqueck opened 9 months ago
Small corrections to avoid misunderstandings:
sap.ui.getCore().getConfiguration().getLanguage()
needs to be replaced with import("sap/base/i18n/Localization").getLanguage
For FLP Sandbox and UI5 2.0 we've discussed the following options:
The decision is to go for option 3.
Implementation details for option 3.:
Description (include screenshots)
Internal testing of the preview middleware with a preliminary version of UI5 2.0 has shown issues in the code. This ticket is to track (and solve) these issues.
Value
Getting the preview middleware ready for UI5 2.0.
Architecture Elaboration
All fixes are expected in the
preview-middleware-client
moduleNotes
Tasks
sap.ui.getCore().getConfiguration().getLanguage()
needs to be replaced, with import("sap/base/i18n/Localization").getLanguagesap.ushell.Container
needs to be replaced withsap.ui.require(“sap/ushell/Container”)
sap.ushell.Container.createRenderer()
is also deprecated - however there is no production ready solution yetsap.base.util.UriParameters
needs to be replaced withsap/base/util/UriParameters
fiori-tools-proxy
middleware has an additional initialization routine to manage the app state which also needs to be reworked for 2.0 and in the same process should be moved into thepreview-middleware-client