欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

SAP UI5:如何处理resource not found for the segment XXXXX error message

发布时间:2023/12/19 编程问答 54 豆豆
生活随笔 收集整理的这篇文章主要介绍了 SAP UI5:如何处理resource not found for the segment XXXXX error message 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

Created by Jerry Wang, last modified on Dec 10, 2015

使用Postman 测试Odata request时遇到如下error message:

原因是因为请求的entityset在变量ms_model_class-associations里不存在对应的entry:

因此抛exception:

在line 66系统并不会进入line 71的model cache invalidation,因为mv_cache_handshake为abap_false:

如果在debugger里强行进入cache evaluation,则会trigger到backend system的model metadata retrieve:

结束时候会hard code成outdated = abap_true:

这个cache evaluation的flag只有在metadata request时才起作用:

总结

以上是生活随笔为你收集整理的SAP UI5:如何处理resource not found for the segment XXXXX error message的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。