Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029055Retail ModulesWeb POSpublic2015-02-24 19:592015-03-30 14:15
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
RR15Q2RR15Q2 
malsasua
No
0029055: Web POS doesn't handle update of local database tables correctly
Right now there are several different problems in the way Web POS handles updates of both the main module and other extension modules:
- The Web POS only considers that the database needs to be updated when the database version is changed. This is an unreliable method for the Web POS as this version is not automatically updated each release, and doesn't work in case extension modules add tables to the database
- The update process is very intrusive because it basically drops the whole database and recreates it again.

The idea is to improve both problems with the following idea: Now the Web POS will not track database versions. Instead, it will store a structure descriptor of each model in the local storage. Whenever one of them is found to have changed, the model itself will be updated, but the rest of the models will be untouched.

This mechanism will automatically work also for extension modules which add their own models to the system. The same checks will be done for them, and the update will be handled in the same way.

Update to a newer version of the Web POS.
Notice that most of the times you need to delete the browser cache for the Web POS to work again.
No tags attached.
related to defect 0029282 closed Orekaria Stabilization: The context should be explicitly saved when the user has logged in 
related to defect 0029283 closed Orekaria Stabilization: When, in the local database, there is not the table to be synchronized, move to the next sync model 
depends on feature request 0028933RR16Q1 closed Retail QA: RR15Q2: Add tests for Mobile applications 
depends on defect 0029290 closed Orekaria Stabilization: The 'OB.MobileApp.model.syncAllModels' process should be executed once 
has duplicate feature request 0028410RR15Q3 closed marvintm Update client web sql in robust manner when the database schema changes 
has duplicate defect 0026157 closed marvintm Web POS doesn't reset the database if the modules or the Web POS itself change 
related to defect 0029351 closed Orekaria Stabilization: A call to 'ProfileUtils' is being executed while logging out 
blocks feature request 0029186 closed Orekaria Add a method to retrieve the status of the Sync Models 
blocks feature request 0029281 closed Orekaria Stabilization: Raise the log level of the OB.Dal.find errors, from 'warn' to 'error' 
blocks design defect 0029280 closed Orekaria Stabilization: Session related management requires a synchronous flow 
blocks feature request 0029377RR15Q3 closed Orekaria Stabilization: RR15Q2 related 
causes defect 0029394 closed Orekaria Stabilization: Better calls to setUserModelOnline 
causes defect 0029670pi closed marvintm WebPOS does not work on the lastest beta Chrome release (43) 
Issue History
2015-02-24 19:59marvintmNew Issue
2015-02-24 19:59marvintmAssigned To => marvintm
2015-02-24 19:59marvintmTriggers an Emergency Pack => No
2015-02-24 20:09hgbotCheckin
2015-02-24 20:09hgbotNote Added: 0074885
2015-02-24 20:09hgbotStatusnew => resolved
2015-02-24 20:09hgbotResolutionopen => fixed
2015-02-24 20:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad49f99476b7425a360d7d2e540d1e314d36e13f [^]
2015-02-24 20:09hgbotCheckin
2015-02-24 20:09hgbotNote Added: 0074886
2015-02-25 19:02hgbotCheckin
2015-02-25 19:02hgbotNote Added: 0074937
2015-02-26 13:44hgbotCheckin
2015-02-26 13:44hgbotNote Added: 0074966
2015-02-26 20:04hgbotCheckin
2015-02-26 20:04hgbotNote Added: 0075000
2015-03-04 11:46hgbotCheckin
2015-03-04 11:46hgbotNote Added: 0075148
2015-03-04 11:56hgbotCheckin
2015-03-04 11:56hgbotNote Added: 0075149
2015-03-04 12:28hgbotCheckin
2015-03-04 12:28hgbotNote Added: 0075153
2015-03-04 13:13hgbotCheckin
2015-03-04 13:13hgbotNote Added: 0075157
2015-03-04 17:35hgbotCheckin
2015-03-04 17:35hgbotNote Added: 0075164
2015-03-04 17:36hgbotCheckin
2015-03-04 17:36hgbotNote Added: 0075165
2015-03-04 18:36hgbotCheckin
2015-03-04 18:36hgbotNote Added: 0075172
2015-03-05 14:25hgbotCheckin
2015-03-05 14:25hgbotNote Added: 0075195
2015-03-05 15:04hgbotCheckin
2015-03-05 15:04hgbotNote Added: 0075197
2015-03-09 00:20hgbotCheckin
2015-03-09 00:20hgbotNote Added: 0075287
2015-03-09 07:46OrekariaNote Added: 0075289
2015-03-09 08:45OrekariaRelationship addedblocks 0029186
2015-03-09 08:46OrekariaRelationship addeddepends on 0028933
2015-03-09 09:52OrekariaNote Deleted: 0075289
2015-03-09 19:58hgbotCheckin
2015-03-09 19:58hgbotNote Added: 0075348
2015-03-13 15:55hgbotCheckin
2015-03-13 15:55hgbotNote Added: 0075575
2015-03-13 22:41OrekariaRelationship addedblocks 0029281
2015-03-13 22:42OrekariaRelationship addedblocks 0029280
2015-03-14 06:08hgbotCheckin
2015-03-14 06:08hgbotNote Added: 0075592
2015-03-14 06:09hgbotCheckin
2015-03-14 06:09hgbotNote Added: 0075593
2015-03-14 06:09hgbotCheckin
2015-03-14 06:09hgbotNote Added: 0075594
2015-03-14 06:09hgbotCheckin
2015-03-14 06:09hgbotNote Added: 0075597
2015-03-14 06:16OrekariaRelationship addedrelated to 0029282
2015-03-14 06:16OrekariaRelationship addedrelated to 0029283
2015-03-14 06:18OrekariaNote Added: 0075598
2015-03-14 06:18OrekariaNote Edited: 0075598bug_revision_view_page.php?bugnote_id=0075598#r7967
2015-03-16 15:54malsasuaNote Edited: 0075598bug_revision_view_page.php?bugnote_id=0075598#r7980
2015-03-16 15:54malsasuaReview Assigned To => malsasua
2015-03-16 15:54malsasuaNote Added: 0075629
2015-03-16 15:54malsasuaStatusresolved => closed
2015-03-16 15:54malsasuaFixed in Version => RR15Q2
2015-03-16 17:47OrekariaRelationship addeddepends on 0029296
2015-03-16 17:49OrekariaRelationship addeddepends on 0029290
2015-03-19 08:53hgbotCheckin
2015-03-19 08:53hgbotNote Added: 0075764
2015-03-19 22:13hgbotCheckin
2015-03-19 22:13hgbotNote Added: 0075780
2015-03-19 22:13OrekariaRelationship addedrelated to 0029351
2015-03-20 18:06hgbotCheckin
2015-03-20 18:06hgbotNote Added: 0075824
2015-03-20 20:51OrekariaNote Added: 0075836
2015-03-20 20:51OrekariaStatusclosed => new
2015-03-20 20:51OrekariaResolutionfixed => open
2015-03-20 20:51OrekariaFixed in VersionRR15Q2 =>
2015-03-20 20:52OrekariaNote Edited: 0075836bug_revision_view_page.php?bugnote_id=0075836#r8055
2015-03-20 21:14hgbotCheckin
2015-03-20 21:14hgbotNote Added: 0075837
2015-03-20 21:14hgbotStatusnew => resolved
2015-03-20 21:14hgbotResolutionopen => fixed
2015-03-20 21:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad49f99476b7425a360d7d2e540d1e314d36e13f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7a790ed0e2411e4b0c84b124d7c6a8f2528c1cf2 [^]
2015-03-20 21:20OrekariaNote Added: 0075838
2015-03-24 20:47OrekariaRelationship addedcauses 0029394
2015-03-25 17:27OrekariaRelationship addedblocks 0029377
2015-03-30 14:15malsasuaNote Added: 0076145
2015-03-30 14:15malsasuaStatusresolved => closed
2015-03-30 14:15malsasuaFixed in Version => RR15Q2
2015-03-30 20:13marvintmRelationship addedhas duplicate 0028410
2015-04-22 15:11OrekariaRelationship addedcauses 0029670
2016-03-09 09:40marvintmRelationship addedhas duplicate 0026157

Notes
(0074885)
hgbot   
2015-02-24 20:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ad49f99476b7425a360d7d2e540d1e314d36e13f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 24 20:08:53 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad49f99476b7425a360d7d2e540d1e314d36e13f [^]

Fixed issue 29055. Greatly improved the way Web POS handles database updates:
- Now a checksum of each models's structure will be computed and stored in the local storage of the browser.
- This checksum will be used to detect changes in the structure of one model. If changes are detected, the table will be dropped and recreated.
- For masterdata models, this will trigger automatically a full refresh, to ensure that all data is correctly loaded.
- For data synchronization models, a security check will be done before recreating the table. If there is still data pending to be synchronized, a synchronization will be triggered. If this synchronization still doesn't work, and data is still pending to be synchronized, then an error will be shown to the user, and the process will be cancelled.

---
M web/org.openbravo.mobile.core/source/data/ob-model.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0074886)
hgbot   
2015-02-24 20:09   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d14828ca485ee15f7144c8c2fe4617e749276cf8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 24 20:05:31 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d14828ca485ee15f7144c8c2fe4617e749276cf8 [^]

Related to issue 29055. Removed unnecessary function, and added special criteria for the cash up model, to ensure that no false positives are detected when looking for changes.

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0074937)
hgbot   
2015-02-25 19:02   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e66226766766d2c018ed3d997a67252f1abe7910
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Feb 25 19:01:50 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e66226766766d2c018ed3d997a67252f1abe7910 [^]

Related to issue 29055. Removed unnecessary error message.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0074966)
hgbot   
2015-02-26 13:44   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 049a34feae3e9add04ab5e30dc4e44bce610ecc5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Feb 26 13:44:13 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/049a34feae3e9add04ab5e30dc4e44bce610ecc5 [^]

Related to issue 29055. Moved query to a better place in the code. It now uses cache to ensure it performs well.

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js
---
(0075000)
hgbot   
2015-02-26 20:04   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 289993b29635b0aea775a22e1c76afb50c0870db
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Feb 26 20:02:01 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/289993b29635b0aea775a22e1c76afb50c0870db [^]

Related to issue 29055. Prevent double call to triggerLoadTerminalInfoReady in case initLocalDB has been called

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075148)
hgbot   
2015-03-04 11:46   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e11c1a2e039df104758c39589d7e3f00ccbd3c8f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 04 11:45:23 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e11c1a2e039df104758c39589d7e3f00ccbd3c8f [^]

Related to issue 29055. Database initialization will now happen just after login, and before anything else is done.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075149)
hgbot   
2015-03-04 11:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 93d6d63e7155e0a406c3313ea20d8966107a34c3
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 04 11:56:20 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/93d6d63e7155e0a406c3313ea20d8966107a34c3 [^]

Related to issue 29055. Avoid warnings related to not-yet-created tables in the initial load of the Web POS

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075153)
hgbot   
2015-03-04 12:28   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 43e6b61b397c4c422eaa6bbbba86deb30646973e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 04 12:28:41 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/43e6b61b397c4c422eaa6bbbba86deb30646973e [^]

Related to issue 29055. Fixed some typos

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075157)
hgbot   
2015-03-04 13:13   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8101a141394dc3ec2840ada4764d89854ccfc8c5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 04 13:11:22 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8101a141394dc3ec2840ada4764d89854ccfc8c5 [^]

Related to issue 29055. Moved dropTable function 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
---
(0075164)
hgbot   
2015-03-04 17:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f87eba3a3deaa26764e3ffe63061939d55eaee39
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 04 17:35:18 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f87eba3a3deaa26764e3ffe63061939d55eaee39 [^]

Related to issue 29055. Payment method loading of the cash up should no longer fail.

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0075165)
hgbot   
2015-03-04 17:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 628c9678e66c80853d1b2d0aab37bced4d9ff0d7
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 04 17:36:03 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/628c9678e66c80853d1b2d0aab37bced4d9ff0d7 [^]

Related to issue 29055. Prevent js error.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075172)
hgbot   
2015-03-04 18:36   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: eaf7e2afe8b355f77d737fd435fdf2fa935f5ebb
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 04 18:35:18 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/eaf7e2afe8b355f77d737fd435fdf2fa935f5ebb [^]

Related to issue 29055. Ensure logout is done when terminal is changed.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075195)
hgbot   
2015-03-05 14:25   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a21152a9b559d4ccd5c724c7d9615cba2d83e2cf
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Mar 05 14:24:59 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a21152a9b559d4ccd5c724c7d9615cba2d83e2cf [^]

Related to issue 29055. Ensure session record exists in the database even if the table is recreated.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075197)
hgbot   
2015-03-05 15:04   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5548299ae7cc22313d1e5f6d17396901486e43df
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Mar 05 15:04:19 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5548299ae7cc22313d1e5f6d17396901486e43df [^]

Related to issue 29055. Update session only when we are sure the user model is set.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075287)
hgbot   
2015-03-09 00:20   
Repository: tools/automation/pi-mobile
Changeset: 7c7f24150f18fca2a7359e480adb36d7ddf86e28
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Mar 05 20:00:25 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7c7f24150f18fca2a7359e480adb36d7ddf86e28 [^]

Related to issue 28933. Verifies issue 29055. Added two automated tests

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/TerminalUpdateTestBasicChange.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/TerminalUpdateTestMasterdataChange.java
---
(0075348)
hgbot   
2015-03-09 19:58   
Repository: tools/automation/pi-mobile
Changeset: f697f7e055ff75838306ab4b972492f5a978a93d
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Mar 09 09:43:13 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f697f7e055ff75838306ab4b972492f5a978a93d [^]

Related to issue 28933. Verifies issue 29055: Added 2 more tests

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I29055_TerminalChange.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I29055_TerminalChangeWithLogin.java
---
(0075575)
hgbot   
2015-03-13 15:55   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d4e420da69d546b12f4bb73bd2e209420b1bfeb1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Mar 13 15:54:54 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d4e420da69d546b12f4bb73bd2e209420b1bfeb1 [^]

Related to issue 29055. Call correct dropTable function after the synchronization is complete for the sync models.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075592)
hgbot   
2015-03-14 06:08   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4520740cef9f6cc57362f036bb4a59f6db981b7e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Mar 14 01:57:58 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4520740cef9f6cc57362f036bb4a59f6db981b7e [^]

Related to issue 29055: If an unexpected error happens while dropping tables, stop the loading process and report

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075593)
hgbot   
2015-03-14 06:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 989037b6f0a7f146d58250835c92cf2b52d1eeb6
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Mar 14 02:08:19 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/989037b6f0a7f146d58250835c92cf2b52d1eeb6 [^]

Related to issue 29055: Added different drop messages...

The drop message is different if the model is about to be dropped because it should not exists (the localStorage does not have a checksum of the model) or because it is really obsolete

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075594)
hgbot   
2015-03-14 06:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 001ac805a44c3b359b9abd2bde6f243f6a60d97f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Mar 14 04:47:27 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/001ac805a44c3b359b9abd2bde6f243f6a60d97f [^]

Related to issue 29055: Log messages adjusted to the new flow

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075597)
hgbot   
2015-03-14 06:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 858f8ba8cb5d83c1e99d688e4b5bd11a8381cb55
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Mar 14 05:04:45 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/858f8ba8cb5d83c1e99d688e4b5bd11a8381cb55 [^]

Related to issue 29055: If there is nothing to be dropped, execute the next step

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075598)
Orekaria   
2015-03-14 06:18   
(edited on: 2015-03-16 15:54)
The 'OB.MobileApp.model.syncAllModels' function should not be called concurrently because the function does not support it

New issue has been reported to fix this problem:
https://issues.openbravo.com/view.php?id=29290 [^]

(0075629)
malsasua   
2015-03-16 15:54   
verified
(0075764)
hgbot   
2015-03-19 08:53   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b1d77949317bc4793dacbc53bbe3d81426be3676
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Mar 19 08:43:34 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b1d77949317bc4793dacbc53bbe3d81426be3676 [^]

Related to issue 29055: Reverted a change that was missing to be reverted. Added 'return'

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075780)
hgbot   
2015-03-19 22:13   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9358aa131c59289160a0509f4f0b90194aaae25e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Mar 19 21:04:41 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9358aa131c59289160a0509f4f0b90194aaae25e [^]

Related to issue 29055: When the terminal changes, the flow is diverted to the logout process

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075824)
hgbot   
2015-03-20 18:06   
Repository: tools/automation/pi-mobile
Changeset: e0455a5fc77247fbb900d9906ec4e4ead447d659
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Mar 19 23:35:43 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e0455a5fc77247fbb900d9906ec4e4ead447d659 [^]

Related to issue 29055: Added the 'I29055_TerminalChangeWhenLoggedOut' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I29055_TerminalChangeWhenLoggedOut.java
---
(0075836)
Orekaria   
2015-03-20 20:51   
(edited on: 2015-03-20 20:52)
The changeset https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/eaf7e2afe8b355f77d737fd435fdf2fa935f5ebb [^]

prevents the use of the cache the second and following times that the user logs in

(0075837)
hgbot   
2015-03-20 21:14   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7a790ed0e2411e4b0c84b124d7c6a8f2528c1cf2
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 20 20:31:56 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7a790ed0e2411e4b0c84b124d7c6a8f2528c1cf2 [^]

Fixes issue 29055: 'LoginUsingCache' is being executed again in the loginHandler flow. The login is faster now

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0075838)
Orekaria   
2015-03-20 21:20   
Please consider testing offline when closing
(0076145)
malsasua   
2015-03-30 14:15   
verified offline mode