Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0044866 | Retail Modules | Web POS | public | 2020-08-21 13:50 | 2020-09-14 10:45 |
|
Reporter | migueldejuana | |
Assigned To | gorka_gil | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR20Q4 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | No |
Support ticket | |
Regression level | Production - QA Approved |
Regression date | 2020-05-28 |
Regression introduced in release | RR20Q3 |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0044866: Masterdata refresh is not working correctly in Remote mode |
Description | Masterdata refresh (full and incremental) are currently not taking into account correctly the Remote mode settings.
The remote mode itself works correctly: when it is enabled either for business partner, or products, the WebPOS correctly takes it into account in the UI (for example disabling the BROWSE component), and the functionality itself also works according to the configuration (products and customers are searched remotely and retrieved from the backend dynamically).
However, the masterdata refresh processes do not take the setting into account correctly, and they attempt to load information for this models into the IndexedDB database, even when the configuration is enabled. This is not correct. |
Steps To Reproduce | - Clean cache
- Set Product remote mode preference
- Do login
- Check IndexedDB Product Store. ERROR! It has data and it shouldn't.
(the same thing happens for Business Partner remote mode) |
Proposed Solution | The remote mode configuration needs to be taken into account by the MasterdataController, so the refresh process ignores models affected by it if it is enabled, and IndexedDB stores are not created for them. |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0044876 | RR20Q3.1 | closed | gorka_gil | Masterdata refresh is not working correctly in Remote mode |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-08-21 13:50 | migueldejuana | New Issue | |
2020-08-21 13:50 | migueldejuana | Assigned To | => Retail |
2020-08-21 13:50 | migueldejuana | OBNetwork customer | => No |
2020-08-21 13:50 | migueldejuana | Triggers an Emergency Pack | => No |
2020-08-24 07:13 | marvintm | Summary | Ensure Remote Mode is working for IndexedDB Models => Masterdata refresh is not working correctly in Remote mode |
2020-08-24 07:13 | marvintm | Description Updated | bug_revision_view_page.php?rev_id=21521#r21521 |
2020-08-24 07:13 | marvintm | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=21523#r21523 |
2020-08-24 07:13 | marvintm | Proposed Solution updated | |
2020-08-24 07:15 | marvintm | Regression level | => Production - QA Approved |
2020-08-24 07:15 | marvintm | Regression date | => 2020-05-28 |
2020-08-24 07:15 | marvintm | Regression introduced in release | => RR20Q3 |
2020-08-24 12:04 | gorka_gil | Assigned To | Retail => gorka_gil |
2020-08-24 12:07 | gorka_gil | Status | new => scheduled |
2020-09-14 10:40 | hgbot | Resolution | open => fixed |
2020-09-14 10:40 | hgbot | Status | scheduled => resolved |
2020-09-14 10:40 | hgbot | Fixed in Version | => RR20Q4 |
2020-09-14 10:40 | hgbot | Note Added: 0123000 | |
2020-09-14 10:40 | hgbot | Note Added: 0123001 | |
2020-09-14 10:40 | hgbot | Note Added: 0123002 | |
2020-09-14 10:40 | hgbot | Note Added: 0123003 | |
2020-09-14 10:40 | hgbot | Note Added: 0123004 | |
2020-09-14 10:40 | hgbot | Note Added: 0123005 | |
2020-09-14 10:40 | hgbot | Note Added: 0123006 | |
2020-09-14 10:40 | hgbot | Note Added: 0123007 | |
2020-09-14 10:40 | hgbot | Note Added: 0123008 | |
2020-09-14 10:40 | hgbot | Note Added: 0123009 | |
2020-09-14 10:40 | hgbot | Note Added: 0123010 | |
2020-09-14 10:40 | hgbot | Note Added: 0123011 | |
2020-09-14 10:41 | hgbot | Note Added: 0123012 | |
2020-09-14 10:41 | hgbot | Note Added: 0123013 | |
2020-09-14 10:45 | gorka_gil | Review Assigned To | => marvintm |
2020-09-14 10:45 | gorka_gil | Status | resolved => closed |
Notes |
|
(0123000)
|
hgbot
|
2020-09-14 10:40
|
|
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 373ddab3b0462a45d942b97620b168d55b261644
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2020-09-14T08:39:42+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/373ddab3b0462a45d942b97620b168d55b261644 [^]
Fixed ISSUE-44866: fix masterdata refresh for remote models
---
M web/org.openbravo.retail.posterminal/app/model/masterdata/BusinessPartnerLocationModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/BusinessPartnerModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/CharacteristicModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/CharacteristicValueModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ProductCharacteristicValueModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ProductModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ProductPriceModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ProductServiceLinkedModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ServicePriceRuleModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ServicePriceRuleRangeModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ServicePriceRuleRangePricesModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ServicePriceRuleVersionModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ServiceProductCategoryModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/ServiceProductModel.js
M web/org.openbravo.retail.posterminal/app/model/masterdata/discount/DiscountFilterBusinessPartnerModel.js
---
|
|
|
(0123001)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123002)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123003)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123004)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123005)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123006)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123007)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123008)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123009)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123010)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123011)
|
hgbot
|
2020-09-14 10:40
|
|
|
|
(0123012)
|
hgbot
|
2020-09-14 10:41
|
|
|
|
(0123013)
|
hgbot
|
2020-09-14 10:41
|
|
|