Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0033643 | Retail Modules | StoreServer | public | 2016-08-07 10:29 | 2016-09-14 11:26 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR16Q4 | |||
Merge Request Status | |||||
Review Assigned To | Sandrahuguet | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0033643: Too many reads of mobile server definition during standard webpos request | ||||
Description | Doing a standard webpos request to the server (for example to read products) results in many queries for the same mobile server definition (for the central or current store server). For example see the call stack here [1] which was reported to be called 16 times during one request. Although hibernate should cache the object still many requests seem to be done. at org.openbravo.dal.service.OBDal.get(OBDal.java:298) at org.openbravo.mobile.core.servercontroller.MobileServerController.getThisServerDefinition(MobileServerController.java:311) at org.openbravo.mobile.core.servercontroller.MobileServerController.serverHasTransitioningStatus(MobileServerController.java:283) | ||||
Steps To Reproduce | Preferably install multi-server but it also shows up for non-multi-server Enable sql logging Log into webpos | ||||
Proposed Solution | Cache common values such as the current server offline/online state, the same for the central server | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=9685&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-08-07 10:29 | mtaal | New Issue | |||
2016-08-07 10:29 | mtaal | Assigned To | => mtaal | ||
2016-08-07 10:29 | mtaal | OBNetwork customer | => No | ||
2016-08-07 10:29 | mtaal | Triggers an Emergency Pack | => No | ||
2016-08-07 10:30 | mtaal | File Added: 33643.diff | |||
2016-08-08 09:28 | shuehner | Issue Monitored: shuehner | |||
2016-08-31 01:16 | mtaal | Target Version | RR16Q4 => RR17Q1 | ||
2016-08-31 01:16 | mtaal | Target Version | RR17Q1 => | ||
2016-09-08 10:00 | hgbot | Checkin | |||
2016-09-08 10:00 | hgbot | Note Added: 0089833 | |||
2016-09-08 10:00 | hgbot | Status | new => resolved | ||
2016-09-08 10:00 | hgbot | Resolution | open => fixed | ||
2016-09-08 10:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/46b650105936a4001c6409a74b517c4b65e8173c [^] | ||
2016-09-08 10:07 | mtaal | Review Assigned To | => Sandrahuguet | ||
2016-09-14 11:26 | Sandrahuguet | Note Added: 0089946 | |||
2016-09-14 11:26 | Sandrahuguet | Status | resolved => closed | ||
2016-09-14 11:26 | Sandrahuguet | Fixed in Version | => RR16Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|