Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0035501 | Retail Modules | Web POS | public | 2017-03-13 19:51 | 2017-03-13 19:51 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0035501: Add Warning message to code which inside renderLine hook does either http requests or websql queries | |||||||||||
Description | Example issue 35456 is caused by using the renderLine hook to do potentially slow things like doing http requests. That renderLine hook can be called many times for each UI update and should be used for anything which could be slow. So idea is to add a WARN line in the logs whenever: - from inside any renderLine hook - either an http request is fired - or any websql query is ran So code not following this can be found more easily (i.e. by having ci tests warnings triggers) | |||||||||||
Steps To Reproduce | i.e. see 35456 issue for example | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-03-13 19:51 | shuehner | New Issue | ||||||||||
2017-03-13 19:51 | shuehner | Assigned To | => Retail | |||||||||
2017-03-13 19:51 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2017-03-13 19:51 | shuehner | Relationship added | related to 0035456 |
There are no notes attached to this issue. |