当前位置:网站首页>Discussion on error messages and API versions of SAP ui5 getsaplogonlanguage is not a function
Discussion on error messages and API versions of SAP ui5 getsaplogonlanguage is not a function
2022-07-05 12:56:00 【Wang Zixi】
title : About SAP UI5 this.language._getSAPLogonLanguage is not a function Error messages for
This error is using the latest SAP UI5 SDK And when you switch to debug mode , But not always .
Uncaught ModuleError: failed to execute module factory for ‘‘sap/ui/core/Core.js’’: this.language._getSAPLogonLanguage is not a function
at makeModuleError (https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:1044:15)
at Module.failWith (https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:816:13)
at https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:1832:33
at requireAll (https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:1747:12)
at executeModuleDefinition (https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:1798:3)
at Object.ui5Define [as define] (https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:1931:3)
at eval (https://sapui5.hana.ondemand.com/resources/sap/ui/core/Core-dbg.js?eval:8:8)
at eval ()
at execModule (https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:1647:15)
at requireModule (https://sapui5.hana.ondemand.com/resources/sap-ui-core-dbg.js:1548:5)
In debug mode :
Can't reproduce stably :
adopt JavaScript operation HTML/CSS it is possible that , Consider the following code :
className = "someCSSClass";
Or directly through CSS, for example . But be careful :SAPUI5 Generated HTML and CSS It's not public API Part of , Changes may occur in patches and minor releases
.
If you decide to rewrite the style , You need to in SAPUI5 Test and update changes every time . The prerequisite for this is that the developer can control SAPUI5 Version of , for example , The version used in the stand-alone scenario . When in SAP Fiori When running your application on the launchpad , Developers cannot have SAP UI5 Version control ,SAPUI5 It is to load all applications centrally . therefore ,SAP Fiori The startup platform application of should not override the style .
Never use or overwrite anything that does not belong to API Refer to the private
function . Private functions usually ( But not always ) With a “_” As a prefix .
Unless otherwise stated ,SAP UI5 In the official website API refer to public API
, It's a function 、 class 、 The name space 、 Control and its declared properties 、 Polymerization, etc. . public API The only definition of is API Reference resources , It is contained in SAPUI5 Demo Suite . The features not mentioned are not API Part of .
The following rules apply to the introduction of new api Or to the existing api Make incompatible changes :
Major version (x.y .zz): The new major version can introduce new api Or to the existing api Make incompatible changes .
minor (x.y .zz): New minor versions can introduce new api, But it can't include any api Incompatible changes for .
Patch version (x.y .zz): The new patch version contains only fixes to existing implementations , But usually does not contain new features or incompatible API change .
边栏推荐
- leetcode:221. 最大正方形【dp状态转移的精髓】
- RHCSA5
- MySQL giant pit: update updates should be judged with caution by affecting the number of rows!!!
- Docker configures redis and redis clusters
- CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器
- SAP 自开发记录用户登录日志等信息
- I'm doing open source in Didi
- 太方便了,钉钉上就可完成代码发布审批啦!
- Introduction to sap ui5 dynamicpage control
- 从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
猜你喜欢
随机推荐
Simply take stock reading notes (3/8)
Research: data security tools cannot resist blackmail software in 60% of cases
Concurrent performance test of SAP Spartacus with JMeter
Introduction to the principle of DNS
关于 SAP UI5 floating footer 显示与否的单步调试以及使用 SAP UI5 的收益
stirring! 2022 open atom global open source summit registration is hot!
Kotlin function
Wechat enterprise payment to change access, open quickly
#yyds干货盘点#js截取文件后缀名
SAP SEGW 事物码里的 ABAP Editor
Talk about my drawing skills in my writing career
太方便了,钉钉上就可完成代码发布审批啦!
CF:A. The Third Three Number Problem【关于我是位运算垃圾这个事情】
Iterator details in list... Interview pits
946. Verify stack sequence
Transactions on December 23, 2021
在家庭智能照明中应用的测距传感芯片4530A
CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器
RHCSA7
Shi Zhenzhen's 2021 summary and 2022 outlook | colorful eggs at the end of the article