Sent: Wednesday, July 22, 2015 7:54 PM

有同事抱怨每次他们保存一个appointment时,除了正常的batch 操作外,还有3个莫名的read 操作。


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.

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

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

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:

in line 1957, this.bRefreshAfterChange = true.

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.

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:

Breakpoint is triggered:

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就和出问题的系统上一样,能够重现那三个多余的读操作了。

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

SAP CRM Fiori应用冗余round trip的原因分析相关推荐

  1. SAP CRM Fiori 应用 my Opportunities 的后台性能分析

    The performance bottleneck of this url /sap/opu/odata/NBA/CRM_OPPORTUNITY_SRV/Opportunities()?KaTeX ...

  2. 在 SAP CRM Fiori 应用上给 Opportunity 订单添加 note 的后台执行明细

    在 SAP CRM Fiori 应用上给 Opportunity 订单添加 note 的后台执行明细: 修改某些字段之后点击保存按钮: I change "chance of success ...

  3. SAP CRM Fiori Launchpad 登录之后,看不见任何 tile 的解决办法

    我登录 SAP CRM Fiori gateway 系统,发现 Launchpad 里一个 tile 也没有: 解决方法 事物码 PFCG,从标准的 role SAP_CRM_BCR_SALESREP ...

  4. SAP CRM Fiori 应用和 SAP Commerce Cloud (电商云) UI 如何通过调整 CSS 来改变UI显示风格

    这是Jerry 2021年的第 19 篇文章,也是汪子熙公众号总共第 290 篇原创文章. 本文分别针对 SAP CRM Fiori 应用和 SAP Commerce Cloud (电商云) UI,介 ...

  5. SAP CRM Fiori应用My Opportunity标题显示不正确的问题分析

    这个问题最后的分析结果令人啼笑皆非. 问题的症状:CRM Fiori应用My Oppportunity, 点击任何一个Opportunity进入明细页面,应该看到的标题是Opportunity det ...

  6. SAP审计科目余额表和序时账差异原因分析实例

    近日处理了一笔问题,过程有点曲折,也花了不少时间.主要是对账对我来说不很熟练.但月结期间,财务较忙.接到审计提出的这个问题时,我本能的好奇,有空,加上手欠,就接手了.(玩笑,其实我的观点一直是顾问应把 ...

  7. SAP CRM Fiori应用如何启用Sales Office和Sales Group两个字段

    User story In CRM WebUI, the sales area of a given opportunity consists of the following fields in a ...

  8. SAP CRM Fiori 应用如何启用 Sales Office 和 Sales Group 两个字段

    文章目录 User story 第二部分 Step1: find the available extension point in UI to hold the two fields Step2: c ...

  9. SAP CRM Fiori My appointment点了Edit按钮后的三个roundtrip详解

    my appointment edit之后有3个sequential 的roundtrip 我看了下现在的三组串行的roundtrip,我觉得我们需要搞清楚第三组到底会不会阻塞user的ui操作: a ...

最新文章

  1. c#正则表达式--环视
  2. 保洁阿姨看完都会了!java图形界面设计代码
  3. 2!=5 or 0在python中是否正确-python 中 and or
  4. DHCP企业应用指南
  5. bat等大公司常考java多线程面试题
  6. 超详细中文注释的GPT2新闻标题生成项目
  7. ae中心点重置工具_(精品)AE从小白到大神之路(七)-AE动画—动效常见的设计方法...
  8. supervisor安装和配置
  9. c++获取图像的长宽 opencv_【第一篇:C++与opencv】图片的读取和显示 | 学步园
  10. 犀牛插件开发-插件兼容性-Rhino插件-什么是Rhino插件
  11. pubg微信登录服务器维护,全军出击微信登录不了怎么办
  12. Matlab中struct2cell函数使用
  13. 信息安全中最容易被忽略的软资产管理
  14. QQ飞车手游飞越狸想怎么获得
  15. 1月末支付机构备付金总量达1.4万亿,较去年12月下滑两千多亿
  16. AutoLeaders控制组——51单片机学习笔记(DS18B20温度传感器、LCD1602、直流电机+PWM)
  17. 虚云禅师经典佛教语录大全摘抄
  18. Program Files可以删除吗?绝对不可以!
  19. 数值分析-龙格库塔法
  20. 基于angular.js的全年日历作物操作甘特图

热门文章

  1. 将devexpress中控件添加到vs工具箱中
  2. 远程屏幕传输“差异截图”的问题。
  3. vue.$nextTick 解决了哪些问题
  4. python练习之析构函数
  5. rmp (RPM软件包管理器)
  6. Python全栈开发:configparser模块
  7. javascript 表达式和运算符 (二)
  8. (原+转)ubuntu中删除文件夹
  9. POJ 1155 TELE 背包型树形DP 经典题
  10. MUI - 解决bug: iphone页面保存时popPicker自动弹出来