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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030433
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-07-27 14:432015-09-29 18:36
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revisionad6881e591ad
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030433: The 'syncAllModels ' process is reporting that the server synchronization has finished before the client has been updated

DescriptionThe synchronization is executing the success callbacks before the last stage of the synchronization, updating the client tables, has finished

This could lead to issues related to obsolete data being retrieved instead of fresh data
Steps To ReproduceIn the 'ob-terminal-model.js' file, 'removeSyncedElemsCallback' method, verify that the models are being asynchronously flushed and the synchronization is reported as finished
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0030434RR15Q3 closedOrekaria The 'syncAllModels ' process is reporting that the server synchronization has finished before the client has been updated 
depends on backport 0030435RR15Q2.3 closedOrekaria The 'syncAllModels ' process is reporting that the server synchronization has finished before the client has been updated 
blocks defect 0030603RR15Q4 closedOrekaria Stabilization: RR15Q4 related issues 
blocks defect 0030962RR16Q1 closedranjith_qualiantech_com In syncModel, the 'update' command and support code, must be moved to OB.Dal 

-  Notes
(0079196)
hgbot (developer)
2015-08-05 09:42

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ad6881e591adf8a33e6ee6a962c7afa9c6742f5e
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Aug 05 09:41:28 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad6881e591adf8a33e6ee6a962c7afa9c6742f5e [^]

Fixes issue 30433: Better logic for the 'syncModel' logic

The problem was that the flow was reporting that the synchronization was finished when there was still pending tasks

The flow has been fixed to report that the syncrhonization has finished when it is really finished, this is, when the 'removeSyncedElemsCallback' asynchronous tasks have finished

TODO: the atomic database update logic has to be moved to ob-dal.js

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0079310)
Orekaria (administrator)
2015-08-11 12:23

Please note that the 'update' command and support code, must be moved to OB.Dal

- Issue History
Date Modified Username Field Change
2015-07-27 14:43 Orekaria New Issue
2015-07-27 14:43 Orekaria Assigned To => Orekaria
2015-07-27 14:43 Orekaria Triggers an Emergency Pack => No
2015-07-27 14:44 Orekaria Status new => scheduled
2015-07-27 14:48 Orekaria Summary The 'syncAllModels ' process is reporting that the server synchronization has finished before it has actually finished => The 'syncAllModels ' process is reporting that the server synchronization has finished before the client has been updated
2015-07-27 14:48 Orekaria Description Updated View Revisions
2015-07-27 14:48 Orekaria Steps to Reproduce Updated View Revisions
2015-07-27 14:49 Orekaria Description Updated View Revisions
2015-07-27 14:49 Orekaria Description Updated View Revisions
2015-07-27 14:51 Orekaria Steps to Reproduce Updated View Revisions
2015-08-05 09:42 hgbot Checkin
2015-08-05 09:42 hgbot Note Added: 0079196
2015-08-05 09:42 hgbot Status scheduled => resolved
2015-08-05 09:42 hgbot Resolution open => fixed
2015-08-05 09:42 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad6881e591adf8a33e6ee6a962c7afa9c6742f5e [^]
2015-08-11 12:23 Orekaria Note Added: 0079310
2015-08-11 12:23 Orekaria Status resolved => new
2015-08-11 12:23 Orekaria Resolution fixed => open
2015-08-19 12:37 Orekaria Relationship added blocks 0030603
2015-08-22 10:10 Orekaria Target Version => RR15Q4
2015-09-29 14:49 Orekaria Status new => scheduled
2015-09-29 14:49 Orekaria Status scheduled => resolved
2015-09-29 14:49 Orekaria Fixed in Version => RR15Q4
2015-09-29 14:49 Orekaria Resolution open => fixed
2015-09-29 14:49 Orekaria Review Assigned To => Orekaria
2015-09-29 14:50 Orekaria Review Assigned To Orekaria => marvintm
2015-09-29 14:52 Orekaria Relationship added blocks 0030962
2015-09-29 18:36 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker