Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0045925 | Retail Modules | Web POS | public | 2021-02-16 09:59 | 2021-02-24 13:32 | ||||||||||||||
| Reporter | gorka_gil | ||||||||||||||||||
| Assigned To | gorka_gil | ||||||||||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||
| Product Version | |||||||||||||||||||
| Target Version | RR20Q3.4 | Fixed in Version | RR20Q3.4 | ||||||||||||||||
| Merge Request Status | approved | ||||||||||||||||||
| Review Assigned To | |||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||
| Support ticket | |||||||||||||||||||
| Regression level | |||||||||||||||||||
| Regression date | |||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||
| Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/commit/87c3e6d251f0c8db080607ba3c4739a551bde0b9 [^] | ||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||
| Summary | 0045925: The background Incremental refresh is silently launching a normal incremental background | ||||||||||||||||||
| Description | There are 3 types of masterdata refresh: - full - incremental - incremental in background (splitted in requests and in save into db) There are some problems with the incremental in background: - 1) Before start the requests, a normal incremental is launched, It is not visible because it doesn't show anything in the UI, but it can be seen in the console. - 2) In the background incremental, the models requested are not saved into indexeddb - 3) In the background incremental, the last refresh time is not correctly saved, so it requests always the same data (from last full or normal incremental) - 4) In the background incremental, the requested model changes are stored in a variable called modifiedMasterdataModels, but it is storing all the model, not just the modified ones. Note that issues 2, 3 and 4 are hidden by the first one, since the normal incremental does all the update, then when the background starts, there is nothing to update. | ||||||||||||||||||
| Steps To Reproduce | In the pos, open the console and execute: OB.UTIL.loadModelsIncFunc() It should start with (background incremental): [requestIncrementalMasterdata] Starting incremental Request RefreshMasterdata But instead, before that, it is doing a normal incremental: [incrementalMasterdataRefresh] Starting incremental RefreshMasterdata | ||||||||||||||||||
| Proposed Solution | |||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| Issue History | |||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||
| 2021-02-19 10:50 | marvintm | Type | defect => backport | ||||||||||||||||
| 2021-02-19 10:50 | marvintm | Target Version | => RR20Q3.4 | ||||||||||||||||
| 2021-02-19 13:18 | rafaroda | Issue Monitored: rafaroda | |||||||||||||||||
| 2021-02-19 13:19 | rafaroda | Relationship added | related to 0045834 | ||||||||||||||||
| 2021-02-24 11:38 | hgbot | Note Added: 0126328 | |||||||||||||||||
| 2021-02-24 11:39 | hgbot | Note Added: 0126329 | |||||||||||||||||
| 2021-02-24 13:31 | hgbot | Merge Request Status | open => approved | ||||||||||||||||
| 2021-02-24 13:31 | hgbot | Resolution | open => fixed | ||||||||||||||||
| 2021-02-24 13:31 | hgbot | Status | scheduled => closed | ||||||||||||||||
| 2021-02-24 13:31 | hgbot | Note Added: 0126353 | |||||||||||||||||
| 2021-02-24 13:31 | hgbot | Fixed in Version | => RR20Q3.4 | ||||||||||||||||
| 2021-02-24 13:31 | hgbot | Note Added: 0126354 | |||||||||||||||||
| 2021-02-24 13:32 | hgbot | Note Added: 0126355 | |||||||||||||||||
| 2021-02-24 13:32 | hgbot | Note Added: 0126356 | |||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||