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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041831
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-09-18 09:342019-11-04 11:22
Reportersamuel_nicuesaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR20Q1
StatusclosedFix in branchFixed in SCM revision34f062da4b00
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tojorge-garcia
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041831: Incremental Refresh is not happening immediately if Time to Show incremental Refresh Popup = 0

DescriptionIncremental 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0041027 closedgorka_gil Optimize masterdata incremental refresh process 
related to feature request 0041832 newRetail Wrong message is shown "Master data refresh will happen after this ticket is closed" 

-  Notes
(0114622)
samuel_nicuesa (developer)
2019-09-18 09:45

https://drive.google.com/file/d/181MO06V37i1JELr8ziIMz5qj7a8j9ivm/view?usp=sharing [^]

https://drive.google.com/file/d/1EjufywduZKQpYDwgYd42Yvkeno1tT4zS/view?usp=sharing [^]
(0114687)
gorka_gil (administrator)
2019-09-20 10:32

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 (developer)
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 (reporter)
2019-10-04 09:29

Code reviewed and tested
(0115138)
samuel_nicuesa (developer)
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 [^]


- 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 View Revisions
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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker