Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035501
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2017-03-13 19:512017-03-13 19:51
ReportershuehnerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035501: Add Warning message to code which inside renderLine hook does either http requests or websql queries

DescriptionExample 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 Reproducei.e. see 35456 issue for example
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035456 closedranjith_qualiantech_com Multiple duplicate requests to Complementary Products when adding product to ticket with remote data enabled. 

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker