Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0037520 | Retail Modules | Web POS | public | 2017-12-20 09:59 | 2018-01-19 09:24 | ||||||||||||||
Reporter | Sandrahuguet | ||||||||||||||||||
Assigned To | ranjith_qualiantech_com | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 30 | OS Version | Openbravo Appliance 14.04 | |||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | RR18Q2 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | marvintm | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0037520: Performance problem in remote mode when filter by best sellers category | ||||||||||||||||||
Description | Performance problem in remote mode when filter by best sellers category test failing in hgvol jobs: https://ci.openbravo.com/view/retail/job/ret-higvol-pgsql/1093/testReport/org.openbravo.test.mobile.retail.pack.selenium.tests.receipts/I32445_FilterByBrandAndBestseller/test/ [^] | ||||||||||||||||||
Steps To Reproduce | In a hgvol environment -Enable all high volumes preference -Log in the WebPOS -Tap on Search -Select "Best sellers" in product category combo Slow part: add(new HQLProperty("case when product.isGeneric is false then " + "(case when pli.bestseller = 'Y' then true else false end) " + "when (product.isGeneric is true and exists(select 1 " + "from Product p3 left join p3.oBRETCOProlProductList as pli3, " + "PricingProductPrice ppp3 where p3.genericProduct.id = product.id and " + "p3 = ppp3.product and ppp3.priceListVersion.id = :priceListVersionId " + "and pli3.obretcoProductlist.id = :productListId and pli3.bestseller = true)) " + "then true else false end", "bestseller")); | ||||||||||||||||||
Proposed Solution | Reestablish property to: add(new HQLProperty("pli.bestseller", "bestseller")); And persist bestsellers information for variant products Same fix should be aplied to org.openbravo.retail.bestsellers module https://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/file/35dff2889283/src/org/openbravo/retail/bestsellers/BestSellersProperties.java#l47 [^] | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | Performance | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-12-20 09:59 | Sandrahuguet | New Issue | |||||||||||||||||
2017-12-20 09:59 | Sandrahuguet | Assigned To | => Retail | ||||||||||||||||
2017-12-20 09:59 | Sandrahuguet | Resolution time | => 1516143600 | ||||||||||||||||
2017-12-20 09:59 | Sandrahuguet | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-12-20 10:00 | Sandrahuguet | Relationship added | related to 0033057 | ||||||||||||||||
2017-12-20 10:00 | Sandrahuguet | Tag Attached: Performance | |||||||||||||||||
2017-12-20 10:01 | Sandrahuguet | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16485#r16485 | ||||||||||||||||
2017-12-20 11:14 | Sandrahuguet | Proposed Solution updated | |||||||||||||||||
2017-12-20 11:17 | Sandrahuguet | Proposed Solution updated | |||||||||||||||||
2017-12-21 08:47 | hgbot | Checkin | |||||||||||||||||
2017-12-21 08:47 | hgbot | Note Added: 0101179 | |||||||||||||||||
2017-12-21 08:47 | Sandrahuguet | Note Added: 0101180 | |||||||||||||||||
2017-12-21 16:39 | Sandrahuguet | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16490#r16490 | ||||||||||||||||
2017-12-27 16:02 | Sandrahuguet | Relationship added | related to 0037555 | ||||||||||||||||
2018-01-05 07:39 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||||||||||||||||
2018-01-05 08:46 | ranjith_qualiantech_com | Status | new => scheduled | ||||||||||||||||
2018-01-10 14:33 | hgbot | Checkin | |||||||||||||||||
2018-01-10 14:33 | hgbot | Note Added: 0101652 | |||||||||||||||||
2018-01-10 14:33 | hgbot | Checkin | |||||||||||||||||
2018-01-10 14:33 | hgbot | Note Added: 0101653 | |||||||||||||||||
2018-01-10 14:34 | hgbot | Checkin | |||||||||||||||||
2018-01-10 14:34 | hgbot | Note Added: 0101654 | |||||||||||||||||
2018-01-10 14:34 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2018-01-10 14:34 | hgbot | Resolution | open => fixed | ||||||||||||||||
2018-01-10 14:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a31a53d79bda0f8457833c69119c5169cc96d235 [^] | ||||||||||||||||
2018-01-10 14:34 | hgbot | Checkin | |||||||||||||||||
2018-01-10 14:34 | hgbot | Note Added: 0101655 | |||||||||||||||||
2018-01-19 09:24 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||
2018-01-19 09:24 | marvintm | Status | resolved => closed | ||||||||||||||||
2018-01-19 09:24 | marvintm | Fixed in Version | => RR18Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|