Fiori Launchpad 无法启动 App(负缓存 - sap.ui.define 不是函数)

Fiori Launchpad cant start App (negative cache - sap.ui.define is not a function)

当我在 LPD_CUST 中添加其他参数时,我的 UI5 应用程序不再加载。

Screenshot - SAPUI5.Component Path

启动板错误:

Error - found in negative cache: 'com/untersee/flexnet/supplier/Component.js' from /sap/bc/ui5_ui5/sap/zfn_request/Component.js: TypeError: sap.ui.define is not a function

后端服务器的版本为 740,带有 ui5 1.16.3,但由于我使用的是来自 ondemand 的在线资源,所以应该无关紧要,对吗?

Codesnipped of the Component.js

奇怪的是,当我在没有组件的附加信息的情况下配置 Launchpad 时它可以工作 - 但它在沙盒模式下运行,这不允许我从 URL用于在不同的后端服务之间切换。

我解决了两个问题。

更新后端解决了 sap.ui.define is not a function 错误。

为了获取哈希,我必须使用 parent.location.hash,因为该应用程序 运行 在 iF​​rame 中。