SAP UI5:如何处理resource not found for the segment XXXXX error message
生活随笔
收集整理的這篇文章主要介紹了
SAP UI5:如何处理resource not found for the segment XXXXX error message
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Created by Jerry Wang, last modified on Dec 10, 2015
使用Postman 測(cè)試Odata request時(shí)遇到如下error message:
原因是因?yàn)檎?qǐng)求的entityset在變量ms_model_class-associations里不存在對(duì)應(yīng)的entry:
因此拋exception:
在line 66系統(tǒng)并不會(huì)進(jìn)入line 71的model cache invalidation,因?yàn)閙v_cache_handshake為abap_false:
如果在debugger里強(qiáng)行進(jìn)入cache evaluation,則會(huì)trigger到backend system的model metadata retrieve:
結(jié)束時(shí)候會(huì)hard code成outdated = abap_true:
這個(gè)cache evaluation的flag只有在metadata request時(shí)才起作用:
總結(jié)
以上是生活随笔為你收集整理的SAP UI5:如何处理resource not found for the segment XXXXX error message的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Python的pip如何安装与使用
- 下一篇: SAP UI5 Gateway后台ETA