Symptom
You got some deprecated module error in SAPUI5 applications when using 1.143.0.
Error sample:
Importing the pseudo module 'sap/ushell/ui/launchpad/ViewPortState' is deprecated. To access the type 'sap.ushell.ui.launchpad.ViewPortState', please import 'sap/ushell/library'. You can then reference this type via the library's module export. For more information, see documentation under 'Best Practices for Loading Modules'.
Read more...
Environment
SAPUI5 1.143.0
Keywords
SAPUI5, deprecated module, error logs, Diagnostics tool, console warnings, module imports, SAP Fiori Launchpad, pseudo module, sap/ushell/ui/launchpad/ViewPortState, sap/m/DialogRoleType, LoaderExtension API, getAllRequiredModules, version 1.144, module deprecations , KBA , CA-UI5-CTR-ROD , SAP UI5 Controls Rodopi team , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview