Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030962Retail ModulesWeb POSpublic2015-09-29 14:522015-12-09 12:26
Orekaria 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
RR16Q1RR16Q1 
guilleaer
No
0030962: In syncModel, the 'update' command and support code, must be moved to OB.Dal
In syncModel, the 'update' command and support code, must be moved to OB.Dal
Open the 'ob-terminal-model.js' file
Verify that, in the 'syncModel' method, removeSyncedElemsCallback function, a raw update is performed in the local database:

var sql = "UPDATE " + tableName + " SET isbeingprocessed = ? WHERE " + tableName + "_id = ?";
...
Add a new method to OB.dal to execute atomic database updates
No tags attached.
depends on defect 0030433RR15Q4 closed Orekaria The 'syncAllModels ' process is reporting that the server synchronization has finished before the client has been updated 
Issue History
2015-09-29 14:52OrekariaNew Issue
2015-09-29 14:52OrekariaAssigned To => Retail
2015-09-29 14:52OrekariaTriggers an Emergency Pack => No
2015-09-29 14:52OrekariaRelationship addeddepends on 0030433
2015-09-29 14:52OrekariaTarget Version => RR16Q1
2015-09-29 14:53OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9508#r9508
2015-11-23 15:40OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10334#r10334
2015-11-24 06:39ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2015-11-24 07:15ranjith_qualiantech_comStatusnew => scheduled
2015-11-27 10:33hgbotCheckin
2015-11-27 10:33hgbotNote Added: 0082403
2015-11-27 10:33hgbotStatusscheduled => resolved
2015-11-27 10:33hgbotResolutionopen => fixed
2015-11-27 10:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7e9378934b4822f281f961b533485e1001e24619 [^]
2015-11-27 10:34hgbotCheckin
2015-11-27 10:34hgbotNote Added: 0082404
2015-12-09 12:26guilleaerReview Assigned To => guilleaer
2015-12-09 12:26guilleaerStatusresolved => closed
2015-12-09 12:26guilleaerFixed in Version => RR16Q1

Notes
(0082403)
hgbot   
2015-11-27 10:33   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7e9378934b4822f281f961b533485e1001e24619
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Fri Nov 27 15:02:48 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7e9378934b4822f281f961b533485e1001e24619 [^]

Fixes issue 30962 : Moving syncModel static SQL update to OB.Dal

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0082404)
hgbot   
2015-11-27 10:34   
Repository: tools/automation/pi-mobile
Changeset: c65eef1ba42fcaa1ac408f0fffe04371f61df7bb
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Fri Nov 27 15:02:23 2015 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c65eef1ba42fcaa1ac408f0fffe04371f61df7bb [^]

Verifies issue 30962: Added automated test 'I30962_CheckUpdateModalBeingProcessed'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30962_CheckUpdateModalBeingProcessed.java
---