本地启动板; 在应用扩展程序的负缓存中找到

2020-09-19 22:37发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,

我已经构建了一个"基本"应用程序,该应用程序已扩展为其他几个应用程序。 如果清除所有缓存,则我的所有应用程序都可以正常工作,并且没有任何麻烦。 然后,启动板缓存内容,并破坏"基本"应用程序。

错误:从未定义/encollab/dp/parts/enquiry/Component.js中找到否定缓存:'encollab/dp/parts/enquiry/Component.js':错误:无法加载'encollab/dp/base/来自/sap/bc/ui5_ui5/ui2/ushell/resources/~20171109155700~/encollab/dp/base/Component.js的Component.js:404-未找到

看起来像20171109155700缓存用于UI5库。 我的基本应用程序已像其他任何应用程序一样被加载为UI5应用程序。

这是我的清单:

 {
 " _version":" 1.8.0",
 " sap.app":{
 " id":" encollab.dp.parts.enquiry",
 " type":"应用程序",
 " i18n":" i18n/i18n.properties",
 " applicationVersion":{
 " version":" 1.0.0"
 },
 " title":" {{appTitle}}",
 " description":" {{appDescription}}",
 " sourceTemplate":{
 " id":" ui5template.basicSAPUI5ApplicationProject",
 "版本":" 1.40.12"
 },
 "数据源": {
 "主要":{
 " uri":"/img/sap/opu/odata/sap/Y_DP_PART_SRV/",
 " type":" OData",
 "设置":{
 " odataVersion":" 2.0",
 " localUri":" localService/Y_DP_PART_SRV/metadata.xml"
 }
 },
 "核心":{
 " uri":"/img/sap/opu/odata/sap/Y_DP_CORE_SRV/",
 " type":" OData",
 "设置":{
 " odataVersion":" 2.0",
 " localUri":" localService/Y_DP_CORE_SRV/metadata.xml"
 }
 }
 },
 " crossNavigation":{
 "入站":{
 " intent1":{
 "签名":{
 "参数":{
 "信息": {
 "必填":true
 },
 "语言": {
 "必填":true
 }
 },
 " additionalParameters":"允许"
 },
 " semanticObject":" ydp_i_c",
 " action":"更新"
 }
 }
 }
 },
 " sap.ui":{
 " technology":" UI5",
 "图标":{
 " icon":"",
 " favIcon":"",
 "电话": "",
 " phone @ 2":"",
 " tablet":"",
 " tablet @ 2":""
 },
 " deviceTypes":{
 "桌面":是的,
 "平板电脑":是的,
 "电话":正确
 },
 " supportedThemes":[" sap_hcb"," sap_belize"],
 " fullWidth":true
 },
 " sap.ui5":{
 " rootView":{
 " viewName":" encollab.dp.base.pages.app.App",
 " type":" XML"
 },
 "依赖关系":{
 " minUI5Version":" 1.30.0",
 " libs":{
 " sap.ui.layout":{},
 " sap.ui.core":{},
 " sap.m":{},
 " sap.uxap":{}
 },
 "组件": {
 " encollab.dp.base":{
 " minVersion":" 1.0.0"
 }
 }
 },
 "扩展":{
 " component":" encollab.dp.base",
 "扩展名":{
 " sap.ui.controllerExtensions":{
 " encollab.dp.base.pages.main.Main":{
 " controllerName":" encollab.dp.parts.enquiry.pages.main.Main"
 }
 },
 " sap.ui.viewReplacements":{
 " encollab.dp.base.pages.main.Main":{
 " viewName":" encollab.dp.parts.enquiry.pages.main.Main",
 " type":" XML"
 }
 }
 }
 },
 " contentDensities":{
 "紧凑":是的,
 "舒适":是
 },
 "楷模": {
 " i18n":{
 " type":" sap.ui.model.resource.ResourceModel",
 "设置":{
 " bundleName":" encollab.dp.parts.enquiry.i18n.i18n"
 }
 },
 "":{
 " type":" sap.ui.model.odata.v2.ODataModel",
 "设置":{
 " defaultOperationMode":"服务器",
 " defaultBindingMode":" TwoWay",
 " defaultCountMode":"内联"
 },
 " dataSource":" MAIN",
 " preload":是
 },
 "核心":{
 " type":" sap.ui.model.odata.v2.ODataModel",
 "设置":{
 " defaultOperationMode":"服务器",
 " defaultBindingMode":" TwoWay",
 " defaultCountMode":"内联"
 },
 " dataSource":" CORE",
 " preload":是
 }
 },
 "资源":{
 " css":[{
 " uri":" css/style.css",
 " id":"样式"
 }]
 }
 }
 }
 

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,

我已经构建了一个"基本"应用程序,该应用程序已扩展为其他几个应用程序。 如果清除所有缓存,则我的所有应用程序都可以正常工作,并且没有任何麻烦。 然后,启动板缓存内容,并破坏"基本"应用程序。

错误:从未定义/encollab/dp/parts/enquiry/Component.js中找到否定缓存:'encollab/dp/parts/enquiry/Component.js':错误:无法加载'encollab/dp/base/来自/sap/bc/ui5_ui5/ui2/ushell/resources/~20171109155700~/encollab/dp/base/Component.js的Component.js:404-未找到

看起来像20171109155700缓存用于UI5库。 我的基本应用程序已像其他任何应用程序一样被加载为UI5应用程序。

这是我的清单:

 {
 " _version":" 1.8.0",
 " sap.app":{
 " id":" encollab.dp.parts.enquiry",
 " type":"应用程序",
 " i18n":" i18n/i18n.properties",
 " applicationVersion":{
 " version":" 1.0.0"
 },
 " title":" {{appTitle}}",
 " description":" {{appDescription}}",
 " sourceTemplate":{
 " id":" ui5template.basicSAPUI5ApplicationProject",
 "版本":" 1.40.12"
 },
 "数据源": {
 "主要":{
 " uri":"/img/sap/opu/odata/sap/Y_DP_PART_SRV/",
 " type":" OData",
 "设置":{
 " odataVersion":" 2.0",
 " localUri":" localService/Y_DP_PART_SRV/metadata.xml"
 }
 },
 "核心":{
 " uri":"/img/sap/opu/odata/sap/Y_DP_CORE_SRV/",
 " type":" OData",
 "设置":{
 " odataVersion":" 2.0",
 " localUri":" localService/Y_DP_CORE_SRV/metadata.xml"
 }
 }
 },
 " crossNavigation":{
 "入站":{
 " intent1":{
 "签名":{
 "参数":{
 "信息": {
 "必填":true
 },
 "语言": {
 "必填":true
 }
 },
 " additionalParameters":"允许"
 },
 " semanticObject":" ydp_i_c",
 " action":"更新"
 }
 }
 }
 },
 " sap.ui":{
 " technology":" UI5",
 "图标":{
 " icon":"",
 " favIcon":"",
 "电话": "",
 " phone @ 2":"",
 " tablet":"",
 " tablet @ 2":""
 },
 " deviceTypes":{
 "桌面":是的,
 "平板电脑":是的,
 "电话":正确
 },
 " supportedThemes":[" sap_hcb"," sap_belize"],
 " fullWidth":true
 },
 " sap.ui5":{
 " rootView":{
 " viewName":" encollab.dp.base.pages.app.App",
 " type":" XML"
 },
 "依赖关系":{
 " minUI5Version":" 1.30.0",
 " libs":{
 " sap.ui.layout":{},
 " sap.ui.core":{},
 " sap.m":{},
 " sap.uxap":{}
 },
 "组件": {
 " encollab.dp.base":{
 " minVersion":" 1.0.0"
 }
 }
 },
 "扩展":{
 " component":" encollab.dp.base",
 "扩展名":{
 " sap.ui.controllerExtensions":{
 " encollab.dp.base.pages.main.Main":{
 " controllerName":" encollab.dp.parts.enquiry.pages.main.Main"
 }
 },
 " sap.ui.viewReplacements":{
 " encollab.dp.base.pages.main.Main":{
 " viewName":" encollab.dp.parts.enquiry.pages.main.Main",
 " type":" XML"
 }
 }
 }
 },
 " contentDensities":{
 "紧凑":是的,
 "舒适":是
 },
 "楷模": {
 " i18n":{
 " type":" sap.ui.model.resource.ResourceModel",
 "设置":{
 " bundleName":" encollab.dp.parts.enquiry.i18n.i18n"
 }
 },
 "":{
 " type":" sap.ui.model.odata.v2.ODataModel",
 "设置":{
 " defaultOperationMode":"服务器",
 " defaultBindingMode":" TwoWay",
 " defaultCountMode":"内联"
 },
 " dataSource":" MAIN",
 " preload":是
 },
 "核心":{
 " type":" sap.ui.model.odata.v2.ODataModel",
 "设置":{
 " defaultOperationMode":"服务器",
 " defaultBindingMode":" TwoWay",
 " defaultCountMode":"内联"
 },
 " dataSource":" CORE",
 " preload":是
 }
 },
 "资源":{
 " css":[{
 " uri":" css/style.css",
 " id":"样式"
 }]
 }
 }
 }
 
付费偷看设置
发送
2条回答
何必丶何苦呢
1楼-- · 2020-09-19 23:28

如果在component.js文件中声明名称空间的资源路径怎么办?

2楼-- · 2020-09-19 23:28

是的,那应该使它不再试图通过资源访问它。

一周热门 更多>