当前位置:网站首页>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 .
边栏推荐
- 自然语言处理从小白到精通(四):用机器学习做中文邮件内容分类
- About the single step debugging of whether SAP ui5 floating footer is displayed or not and the benefits of using SAP ui5
- 我在滴滴做开源
- Simply take stock reading notes (3/8)
- What is the difference between Bi software in the domestic market
- 155. Minimum stack
- Insmod prompt invalid module format
- Simply take stock reading notes (2/8)
- 《信息系统项目管理师》备考笔记---信息化知识
- How to connect the API interface of Taobao open platform (super detailed)
猜你喜欢
I met Tencent in the morning and took out 38K, which showed me the basic smallpox
Overflow toolbar control in SAP ui5 view
I'm doing open source in Didi
Leetcode20. Valid parentheses
A deep long article on the simplification and acceleration of join operation
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花
ABAP editor in SAP segw transaction code
How to connect the API interface of Taobao open platform (super detailed)
How can non-technical departments participate in Devops?
使用 jMeter 对 SAP Spartacus 进行并发性能测试
随机推荐
自然语言处理从小白到精通(四):用机器学习做中文邮件内容分类
Transactions on December 23, 2021
【Nacos云原生】阅读源码第一步,本地启动Nacos
Leetcode20. Valid parentheses
stm32和电机开发(从架构图到文档编写)
谈谈我写作生涯的画图技巧
2021-12-22 transaction record
leetcode:221. 最大正方形【dp状态转移的精髓】
SAP SEGW 事物码里的 ABAP Editor
Docker configures redis and redis clusters
以VMware创新之道,重塑多云产品力
国内市场上的BI软件,到底有啥区别
SAP UI5 DynamicPage 控件介绍
SAP ui5 objectpagelayout control usage sharing
155. 最小栈
奔跑,开路
由扫地增而引起的小叙
SAP SEGW 事物码里的 Association 建模方式
自然语言处理系列(一)入门概述
Language model