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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047475
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-07-30 08:582021-08-03 11:10
ReportermalsasuaView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047475: In 21Q2, some promotions are not applied when a lot of promotions are configured

Description. environment with a lot of promotions (more than 50K lines in m_offer_product table)
. with 56698 records actives in m_offer_product, the promotion is applied
. with 56699 products actives in m_offer_product, the promotion is not applied
Steps To Reproduce. environment with more than 50k lines in m_offer_product
. it happens randomly
TagsNo tags attached.
Attached Filespng file icon DiscountCacheBackoffice.png [^] (132,749 bytes) 2021-08-02 14:24


png file icon DiscountCacheTerminal.png [^] (151,839 bytes) 2021-08-02 14:24

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045522 closedprakashmurugesan88 10.000 hardcoded limitation on records evaluated by the Promo Engine 

-  Notes
(0130932)
prakashmurugesan88 (developer)
2021-08-02 14:24

DiscountsProductFilter are not loaded to the rule because corresponding product's entry is missed due to limit
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/blob/master/web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/interface/discount-posinterface.js#L503 [^]

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/blob/master/web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/interface/discount-posinterface.js#L406 [^]

This can be fixed by setting the preference 'Discounts cache size' in Backoffice.

Please refer attached images,
DiscountCacheBackoffice and DiscountCacheTerminal

- Issue History
Date Modified Username Field Change
2021-07-30 08:58 malsasua New Issue
2021-07-30 08:58 malsasua Assigned To => Retail
2021-07-30 08:58 malsasua Resolution time => 1628028000
2021-07-30 08:58 malsasua Triggers an Emergency Pack => No
2021-07-30 09:40 adrianromero Status new => acknowledged
2021-07-30 09:41 Practics Issue Monitored: Practics
2021-07-30 11:17 adrianromero Assigned To Retail => pradeepvarma
2021-07-30 11:18 adrianromero Assigned To pradeepvarma => prakashmurugesan88
2021-07-30 11:18 adrianromero Status acknowledged => scheduled
2021-08-02 14:24 prakashmurugesan88 Note Added: 0130932
2021-08-02 14:24 prakashmurugesan88 File Added: DiscountCacheBackoffice.png
2021-08-02 14:24 prakashmurugesan88 File Added: DiscountCacheTerminal.png
2021-08-02 14:41 adrianromero Review Assigned To => adrianromero
2021-08-02 14:41 adrianromero Status scheduled => closed
2021-08-02 14:41 adrianromero Resolution open => no change required
2021-08-03 11:10 adrianromero Relationship added related to 0045522


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker