Skip to content

UI5 inspector causes warnings in browser console #268

@mdreier-sap

Description

@mdreier-sap

When using the UI5 inspector with current UI5 releases, it raises a number of warnings in the browser console because it uses deprecated APIs. Since these look the same as warnings raised from the running app, it distracts when trying to identify issues with the application. Observed call stacks with SAPUI5 1.126.1:

[Deprecated] UriParameters.mParams must not be accessed. -  
log @ Log.js?eval:498
Log.warning @ Log.js?eval:270
get @ UriParameters.js?eval:186
_getFrameworkInformation @ ToolsAPI.js:141
mutation._observer @ main.js:41
Do not use deprecated function 'sap.ui.getVersionInfo' synchronously! Use 'sap/ui/VersionInfo' module's asynchronous .load function instead - Deprecation 
log @ Log.js?eval:498
Log.warning @ Log.js?eval:270
sap.ui.getVersionInfo @ Global.js?eval:113
_getFrameworkInformation @ ToolsAPI.js:105
mutation._observer @ main.js:41

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions