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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043163
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-02-10 16:532020-02-17 12:12
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PriorityurgentResolutionfixedFixed in VersionRR20Q2
StatusclosedFix in branchFixed in SCM revision8ad70f704ab3
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043163: Before update sources the messages should be synchronized

DescriptionIf exist messages without synchronize, it is needed to send them to the backend before update the webpos sources.
Steps To ReproduceThis issues is especially relevant when message table is moved from websql to indexedDB.

- Having an instance of message table in websql (20q1 or less).
- Go offline and create a ticket.
- Switch the an instance with message table in indexedDB (20q2 or more)
- Go back online.
- Problem: it is updating the sources before synchronize the messages, to these messages will be never synchronize.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0043164RR20Q1 closedmarkmm82 Before update sources the messages should be synchronized 
depends on backport 0043165RR19Q4.2 closedmarkmm82 Before update sources the messages should be synchronized 
depends on backport 0043166RR19Q3.3 closedmarkmm82 Before update sources the messages should be synchronized 
related to defect 0043167 closedgorka_gil Dependencies of webpos are cached when it shouldn't 

-  Notes
(0117628)
hgbot (developer)
2020-02-11 11:21

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8ad70f704ab3c33a86bf23434a4f4d2ee7d3fa37
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Feb 10 16:30:16 2020 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8ad70f704ab3c33a86bf23434a4f4d2ee7d3fa37 [^]

Fixes BUG-43163: Synchronize messages before update sources

- In login, don't update sources if still messages in message table
- Requests of import entry: added call to checkSourceVersion
- Normal requests: it have the sourceVersion, save it in RAM
  for use on import entry request that don't have it:
  OB.UTIL.sourceVersionFromResponse
- When detected the change of source version, force the
  synchronization of messages
   - If fail, show popup and do logout
- Stop logClient synchronization to avoid errors when updating
  because logClient servlet was removed as part of indexedDB change

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0117657)
hgbot (developer)
2020-02-11 19:02

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7464f736131b5fca0302da0ce2b2e40e9b485aba
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Feb 11 19:01:41 2020 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7464f736131b5fca0302da0ce2b2e40e9b485aba [^]

Related to BUG-43163: Remove error popup on update to allow login offline

If we do login with messages pending to synchronize, in the login process
is forced a syncrhonize of all the messages, but if fails
we don't want to show a popup and do logout, because on innestable
networks will make very dificult the login offline.

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---

- Issue History
Date Modified Username Field Change
2020-02-10 16:53 gorka_gil New Issue
2020-02-10 16:53 gorka_gil Assigned To => gorka_gil
2020-02-10 16:53 gorka_gil Triggers an Emergency Pack => No
2020-02-10 16:59 gorka_gil Status new => scheduled
2020-02-10 17:11 gorka_gil Relationship added related to 0043167
2020-02-11 11:21 hgbot Checkin
2020-02-11 11:21 hgbot Note Added: 0117628
2020-02-11 11:21 hgbot Status scheduled => resolved
2020-02-11 11:21 hgbot Resolution open => fixed
2020-02-11 11:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8ad70f704ab3c33a86bf23434a4f4d2ee7d3fa37 [^]
2020-02-11 19:02 hgbot Checkin
2020-02-11 19:02 hgbot Note Added: 0117657
2020-02-17 12:12 guilleaer Review Assigned To => guilleaer
2020-02-17 12:12 guilleaer Status resolved => closed
2020-02-17 12:12 guilleaer Fixed in Version => RR20Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker