亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

SAP CRM Fiori應用冗余round trip的原因是什么

發布時間:2021-12-29 18:00:54 來源:億速云 閱讀:140 作者:iii 欄目:服務器

這篇文章主要介紹“SAP CRM Fiori應用冗余round trip的原因是什么”,在日常操作中,相信很多人在SAP CRM Fiori應用冗余round trip的原因是什么問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”SAP CRM Fiori應用冗余round trip的原因是什么”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!

有同事抱怨每次他們保存一個appointment時,除了正常的batch 操作外,還有3個莫名的read 操作。

SAP CRM Fiori應用冗余round trip的原因是什么SAP CRM Fiori應用冗余round trip的原因是什么

The callstack clearly shows that the three roundtrips are NOT issued by customer extension, or else the customer js file could be observed in the callstack.

SAP CRM Fiori應用冗余round trip的原因是什么

Set a breakpoint on the top most callstack, h function. Check the content of e.target.data:

SAP CRM Fiori應用冗余round trip的原因是什么

This is actually the batch request payload which could be observed in Chrome network tab:

SAP CRM Fiori應用冗余round trip的原因是什么

This finding gives me more confidence that these roundtrips are issued by framework, not standard or customer application code.

So I just continue debugging until I reach this suspicious stack:

SAP CRM Fiori應用冗余round trip的原因是什么

in line 1957, this.bRefreshAfterChange = true.

SAP CRM Fiori應用冗余round trip的原因是什么

However, in our internal system ( where everything works fine, there is no duplicate read operations ), this.bRefreshAfterChange = false, which has suppressed the refresh operation. This is the reason why the read operation could not be found in my internal system, since they are not executed at all. But in customer system, _isRefreshNeeded returns true, which leads to the execution of all subsequent read operations.

SAP CRM Fiori應用冗余round trip的原因是什么

So why is this difference between two systems? In Chrome development tool, search the boolean variable name and we found one function setRefreshAfterChange defined for ODataModel. Just set a breakpoint in this method and re-launch the application in my internal system from beginning:

SAP CRM Fiori應用冗余round trip的原因是什么

Breakpoint is triggered:

SAP CRM Fiori應用冗余round trip的原因是什么

However, this line in customer system is missing, which is the root cause - our latest standard code didn't reach customer system.

出問題的系統上的標準代碼里少了這一行,我在local的Eclipse里試過,如果注釋掉,behavior就和出問題的系統上一樣,能夠重現那三個多余的讀操作了。

到此,關于“SAP CRM Fiori應用冗余round trip的原因是什么”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注億速云網站,小編會繼續努力為大家帶來更多實用的文章!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

南通市| 襄樊市| 读书| 徐州市| 安达市| 宁城县| 呼图壁县| 皋兰县| 凤城市| 额济纳旗| 青龙| 丘北县| 鄂尔多斯市| 璧山县| 潜山县| 孝昌县| 丰宁| 海伦市| 横峰县| 恭城| 临西县| 集贤县| 莲花县| 莆田市| 吉安县| 延寿县| 沁水县| 邯郸市| 定襄县| 搜索| 平塘县| 分宜县| 固镇县| 平乡县| 金昌市| 开封县| 和顺县| 弥渡县| 松滋市| 阜康市| 望谟县|