Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0034965 | Retail Modules | Web POS | public | 2017-01-16 12:40 | 2017-01-19 11:18 | |||||||
Reporter | marvintm | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
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 | 0034965: OB-Dal query caching is not properly handled in some external modules | |||||||||||
Description | Several external modules use the findUsingCache functionality, which allows to cache results of frequently used queries to improve performance. However, they are using this feature improperly, because they are not specifying the "modelsAffectedByCache" property. This means that the cache is not cleared if incremental masterdata is executed, which may lead to wrong behavior. This property should therefore be added to those findUsingCache calls. The affected modules are: - org.openbravo.retail.activediscountspopup. File: active-discounts-hook.js - org.openbravo.retail.discount.twofamiliescombo. File: twofamilies-rule-impl.js - org.openbravo.retail.discounts.combo: File: combo-rule-impl.js - org.openbravo.retail.discounts.scaledprice. File: scaledprice.js | |||||||||||
Steps To Reproduce | For example, in the Two Family discount combo module: - Define a two family combo - Log in the Web POS. Realize that the combo is there. Do a ticket with this combo. - Go to the backend, and change the combo definition. - Let incremental refresh be executed automatically (not through F5) - The new combo should now be in the Web POS. However, if a new ticket is done, the combo definition used is still the previous one. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-01-16 12:40 | marvintm | New Issue | ||||||||||
2017-01-16 12:40 | marvintm | Assigned To | => Retail | |||||||||
2017-01-16 12:40 | marvintm | Triggers an Emergency Pack | => No | |||||||||
2017-01-16 12:42 | marvintm | Description Updated | bug_revision_view_page.php?rev_id=14281#r14281 | |||||||||
2017-01-16 12:42 | marvintm | Relationship added | related to 0034846 | |||||||||
2017-01-18 11:41 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2017-01-18 11:41 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2017-01-18 13:07 | hgbot | Checkin | ||||||||||
2017-01-18 13:07 | hgbot | Note Added: 0093685 | ||||||||||
2017-01-18 13:07 | hgbot | Checkin | ||||||||||
2017-01-18 13:07 | hgbot | Note Added: 0093686 | ||||||||||
2017-01-18 13:07 | hgbot | Checkin | ||||||||||
2017-01-18 13:07 | hgbot | Note Added: 0093687 | ||||||||||
2017-01-18 13:07 | hgbot | Checkin | ||||||||||
2017-01-18 13:07 | hgbot | Note Added: 0093688 | ||||||||||
2017-01-19 09:44 | ranjith_qualiantech_com | Status | scheduled => resolved | |||||||||
2017-01-19 09:44 | ranjith_qualiantech_com | Resolution | open => fixed | |||||||||
2017-01-19 11:17 | marvintm | Review Assigned To | => marvintm | |||||||||
2017-01-19 11:17 | marvintm | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|