Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035935 | Retail Modules | Web POS | public | 2017-05-06 08:42 | 2017-11-07 12:51 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR17Q3 | Fixed in Version | RR17Q3 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0035935: Performance reading cashup: set maxresults as only one record is used |
Description | The code here [1] only uses one record/object returned from the query. Therefore it makes sense to set maxresults to 1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/3c405052fa16/src/org/openbravo/retail/posterminal/master/Cashup.java#l89 [^] |
Steps To Reproduce | See code |
Proposed Solution | setMaxResults(1) on the query |
Additional Information | |
Tags | Performance |
Relationships | related to | defect | 0037245 | RR18Q1 | closed | rqueralta | Missing index in master.Cashup causes query to be slow |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-05-06 08:42 | mtaal | New Issue | |
2017-05-06 08:42 | mtaal | Assigned To | => mtaal |
2017-05-06 08:42 | mtaal | OBNetwork customer | => No |
2017-05-06 08:42 | mtaal | Triggers an Emergency Pack | => No |
2017-05-06 08:43 | mtaal | Review Assigned To | => marvintm |
2017-05-06 08:51 | hgbot | Checkin | |
2017-05-06 08:51 | hgbot | Note Added: 0096432 | |
2017-05-06 08:51 | hgbot | Status | new => resolved |
2017-05-06 08:51 | hgbot | Resolution | open => fixed |
2017-05-06 08:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/80bb76c015fd441b3376bc151190926a5bfcf8c0 [^] |
2017-05-09 11:03 | marvintm | Status | resolved => closed |
2017-05-09 11:03 | marvintm | Fixed in Version | => RR17Q3 |
2017-11-07 11:54 | shuehner | Tag Attached: Performance | |
2017-11-07 12:49 | ALopetegui | Status | closed => new |
2017-11-07 12:49 | ALopetegui | Resolution | fixed => open |
2017-11-07 12:49 | ALopetegui | Fixed in Version | RR17Q3 => |
2017-11-07 12:49 | ALopetegui | Status | new => scheduled |
2017-11-07 12:49 | ALopetegui | Note Added: 0100304 | |
2017-11-07 12:51 | ALopetegui | Status | scheduled => resolved |
2017-11-07 12:51 | ALopetegui | Fixed in Version | => RR17Q3 |
2017-11-07 12:51 | ALopetegui | Resolution | open => fixed |
2017-11-07 12:51 | ALopetegui | Note Added: 0100305 | |
2017-11-07 12:51 | ALopetegui | Status | resolved => closed |
2017-11-07 13:02 | ALopetegui | Relationship added | related to 0037245 |