Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0041831 | Retail Modules | Web POS | public | 2019-09-18 09:34 | 2019-11-04 11:22 |
|
Reporter | samuel_nicuesa | |
Assigned To | ranjith_qualiantech_com | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | RR20Q1 | |
Merge Request Status | |
Review Assigned To | jorge-garcia |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0041831: Incremental Refresh is not happening immediately if Time to Show incremental Refresh Popup = 0 |
Description | Incremental Refresh is not happening immediately if Time to Show incremental Refresh Popup = 0 |
Steps To Reproduce | [BO]
- Login in Back Office.
- Using Posterminal CMS-1 navigate to pos terminal type.
- Configure:
Time to Incrementally Refresh Masterdata = 1
Time to Show incremental Refresh Popup = 0
[POS]
- Login in WEB POS.
- Modify the name of 1 product in BackOffice.
- The incremental Refresh will happen in 1 minute and the new product name will be loaded in Chrome Database.
- These changes won't be reflected in WEB POS until complete / delete the current ticket.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0041027 | | closed | gorka_gil | Optimize masterdata incremental refresh process | related to | feature request | 0041832 | | new | Retail | Wrong message is shown "Master data refresh will happen after this ticket is closed" |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-09-18 09:34 | samuel_nicuesa | New Issue | |
2019-09-18 09:34 | samuel_nicuesa | Assigned To | => Retail |
2019-09-18 09:34 | samuel_nicuesa | Resolution time | => 1570572000 |
2019-09-18 09:34 | samuel_nicuesa | Triggers an Emergency Pack | => No |
2019-09-18 09:45 | samuel_nicuesa | Note Added: 0114622 | |
2019-09-20 10:20 | gorka_gil | Relationship added | related to 0041027 |
2019-09-20 10:32 | gorka_gil | Note Added: 0114687 | |
2019-09-20 10:36 | gorka_gil | Issue Monitored: gorka_gil | |
2019-09-30 14:40 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-09-30 14:40 | ranjith_qualiantech_com | Status | new => scheduled |
2019-10-03 04:54 | hgbot | Checkin | |
2019-10-03 04:54 | hgbot | Note Added: 0114894 | |
2019-10-03 04:54 | hgbot | Status | scheduled => resolved |
2019-10-03 04:54 | hgbot | Resolution | open => fixed |
2019-10-03 04:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/34f062da4b007629bf7e05a283a5da6397f327b7 [^] |
2019-10-04 08:20 | jorge-garcia | Review Assigned To | => jorge-garcia |
2019-10-04 09:29 | jorge-garcia | Note Added: 0114911 | |
2019-10-04 09:29 | jorge-garcia | Status | resolved => closed |
2019-10-04 09:29 | jorge-garcia | Fixed in Version | => RR20Q1 |
2019-10-17 11:30 | samuel_nicuesa | Summary | Incremental Refresh is not happening inmediately if Time to Show incremental Refresh Popup = 0 => Incremental Refresh is not happening immediately if Time to Show incremental Refresh Popup = 0 |
2019-10-17 11:30 | samuel_nicuesa | Description Updated | bug_revision_view_page.php?rev_id=19512#r19512 |
2019-10-17 11:32 | samuel_nicuesa | Note Added: 0115138 | |
2019-10-17 14:06 | samuel_nicuesa | Status | closed => new |
2019-10-17 18:31 | rafaroda | Issue Monitored: rafaroda | |
2019-10-18 10:11 | samuel_nicuesa | Note Edited: 0115138 | bug_revision_view_page.php?bugnote_id=0115138#r19526 |
2019-10-18 11:28 | ranjith_qualiantech_com | Status | new => scheduled |
2019-10-18 12:40 | marvintm | Status | scheduled => resolved |
2019-10-18 12:40 | marvintm | Status | resolved => closed |
2019-11-04 11:22 | rafaroda | Relationship added | related to 0041832 |
Notes |
|
|
|
|
|
Tip for work with masterdata refresh:
- when masterdata timeout finish calls to OB.UTIL.loadModelsIncFunc()
- when the force popup timeout finish, or when navigate or when the ticket is closed it calls to OB.UTIL.checkRefreshMasterData()
Calling to this two functions for developing save the time to wait for the timeouts.
Also maybe this issue is just when finish the first function, if not defined the second timeout, call to the second function. |
|
|
(0114894)
|
hgbot
|
2019-10-03 04:54
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 34f062da4b007629bf7e05a283a5da6397f327b7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Oct 03 08:22:58 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/34f062da4b007629bf7e05a283a5da6397f327b7 [^]
Fixed issue 41831 : MasterData should be saved in POS once all models are loaded in Incremental Refresh
* During Incremental Refresh, masterdataRefreshStatus willbe updated only when all models are loaded.
So MasterData should be saved after that process
---
M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js
---
|
|
|
(0114911)
|
jorge-garcia
|
2019-10-04 09:29
|
|
|
|
(0115138)
|
samuel_nicuesa
|
2019-10-17 11:32
(edited on: 2019-10-18 10:11) |
|
Today I cannot reproduce the issue in Live.
Please ignore this note and close the issues
While testing this solution in Livebuils using the following configuration
->Time to Incrementally Refresh Masterdata = 1
->Time to Show incremental Refresh Popup = 0
the incremental refresh is not happening after 1 minute.
If I execute the refresh data the changes are reflected in WEB POS
-Test Done:
1) Configure the terminal type
->Time to Incrementally Refresh Masterdata = 1
->Time to Show incremental Refresh Popup = 0
2) Change one product name
3) Login in WEB POS
5) Check the configuration 1 - 0 in the chrome console
6) Check the product name and it has not changed
7) After 1 or 2 minutes the product doesn't change because of the incremental is not executed in the background
8) Click on refresh data and then the product name changes.
See the video:
https://drive.google.com/file/d/1njOMdEPYpHCwDLLSlQowUvM2YNpJDN8V/view?usp=sharing [^]
|
|