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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027166
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2014-07-23 14:502014-08-27 11:43
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR14Q4
StatusclosedFix in branchpiFixed in SCM revision2b377e861f68
ProjectionnoneETAnoneTarget VersionRR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027166: When the cache has no data for a user, the WebPOS should not try to load the non existent cache

DescriptionWhen the cache has no data for a user, the WebPOS should not try to load the non existent cache
Steps To Reproduce1. Login in the WebPOS
2. In OB.DAL.find uncomment the following lines (aka simulate an error):
            var i, collectionType = OB.Collection[model.prototype.modelName + 'List'] || Backbone.Collection,
                collection = new collectionType(),
                len = result.rows.length;
            if (len === 0) {
              success(collection, args);
            } else {
              for (i = 0; i < len; i++) {
                collection.add(OB.Dal.transform(model, result.rows.item(i)));
              }
              success(collection, args);
            }
3. Reload the WebPOS (F5)
4. Verify that the attached screen is shown

or

Clear the cache while loading the WebPOS

or

in ob-terminal-model.js, in the loginUsingCache function, clear the users as is returned by the OB.Dal function
TagsNo tags attached.
Attached Filespng file icon LoginStuck.png [^] (146,897 bytes) 2014-08-09 02:13

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0027187RR14Q4 closedOrekaria The flow to manage data from other sources than the server or the local database, should not raise an exception 
blocks feature request 0027447RR14Q4 closedOrekaria Stabilization: Add a new method to clean the local storage and reload the web page 

-  Notes
(0068847)
hgbot (developer)
2014-07-23 16:46

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 74ae7e2819d0ae154993ca2714b5085ba9430080
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jul 23 16:45:54 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/74ae7e2819d0ae154993ca2714b5085ba9430080 [^]

Fixes issue 27166: check if the cache contains data before go to cache mode

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069038)
hgbot (developer)
2014-08-01 17:17

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: aaf263bbf4b57370faf1f3ffa185ee52389a34fe
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Aug 01 17:17:09 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aaf263bbf4b57370faf1f3ffa185ee52389a34fe [^]

Reverted change for issue 27166 because it was incorrect

---
M src/org/openbravo/mobile/core/process/MobileService.java
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069040)
hgbot (developer)
2014-08-01 17:19

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 25460d2d894baec52ec084f1d54bb2564075ac54
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Aug 01 17:19:12 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/25460d2d894baec52ec084f1d54bb2564075ac54 [^]

Reverted change for issue 27166 because it was incorrect

---
M src/org/openbravo/mobile/core/process/MobileService.java
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0069041)
marvintm (manager)
2014-08-01 17:20

Reverted the fix because it was not correct.
(0069278)
hgbot (developer)
2014-08-09 02:53

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: bc7874a061e3fbe3cb3aea1fdc1bfb57bcd295e3
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sat Aug 09 02:53:08 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bc7874a061e3fbe3cb3aea1fdc1bfb57bcd295e3 [^]

Fixes issue 27166: if loginUsingCache fails, the non-cache process is performed

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069283)
hgbot (developer)
2014-08-10 10:01

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ae0a2318266b8b287372a46850cbde1dfe7e22bb
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Aug 10 09:57:47 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ae0a2318266b8b287372a46850cbde1dfe7e22bb [^]

Reverted change for issue 27166 because there is a better solution

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069284)
hgbot (developer)
2014-08-10 10:01

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2b377e861f685aef6353d6acb4793c349217f82d
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Aug 10 10:01:31 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2b377e861f685aef6353d6acb4793c349217f82d [^]

Fixes issue 27166: if the cache is corrupt, reload the page with no cache

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0069795)
mtaal (manager)
2014-08-27 11:43

Reviewed

- Issue History
Date Modified Username Field Change
2014-07-23 14:50 Orekaria New Issue
2014-07-23 14:50 Orekaria Assigned To => Orekaria
2014-07-23 14:50 Orekaria Triggers an Emergency Pack => No
2014-07-23 16:46 hgbot Checkin
2014-07-23 16:46 hgbot Note Added: 0068847
2014-07-23 16:46 hgbot Status new => resolved
2014-07-23 16:46 hgbot Resolution open => fixed
2014-07-23 16:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/74ae7e2819d0ae154993ca2714b5085ba9430080 [^]
2014-07-24 19:32 Orekaria Relationship added related to 0027187
2014-08-01 17:17 hgbot Checkin
2014-08-01 17:17 hgbot Note Added: 0069038
2014-08-01 17:19 hgbot Checkin
2014-08-01 17:19 hgbot Note Added: 0069040
2014-08-01 17:20 marvintm Note Added: 0069041
2014-08-01 17:20 marvintm Status resolved => new
2014-08-01 17:20 marvintm Resolution fixed => open
2014-08-09 02:13 Orekaria Steps to Reproduce Updated View Revisions
2014-08-09 02:13 Orekaria File Added: LoginStuck.png
2014-08-09 02:53 hgbot Checkin
2014-08-09 02:53 hgbot Note Added: 0069278
2014-08-09 02:53 hgbot Status new => resolved
2014-08-09 02:53 hgbot Resolution open => fixed
2014-08-09 02:53 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/74ae7e2819d0ae154993ca2714b5085ba9430080 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bc7874a061e3fbe3cb3aea1fdc1bfb57bcd295e3 [^]
2014-08-10 10:01 hgbot Checkin
2014-08-10 10:01 hgbot Note Added: 0069283
2014-08-10 10:01 hgbot Checkin
2014-08-10 10:01 hgbot Note Added: 0069284
2014-08-10 10:01 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bc7874a061e3fbe3cb3aea1fdc1bfb57bcd295e3 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2b377e861f685aef6353d6acb4793c349217f82d [^]
2014-08-11 13:28 Orekaria Status resolved => new
2014-08-11 13:28 Orekaria Resolution fixed => open
2014-08-13 13:19 Orekaria Status new => scheduled
2014-08-13 13:19 Orekaria fix_in_branch => pi
2014-08-13 13:20 Orekaria Status scheduled => resolved
2014-08-13 13:20 Orekaria Resolution open => fixed
2014-08-27 10:24 Orekaria Relationship added blocks 0027447
2014-08-27 11:43 mtaal Review Assigned To => mtaal
2014-08-27 11:43 mtaal Note Added: 0069795
2014-08-27 11:43 mtaal Status resolved => closed
2014-08-27 11:43 mtaal Fixed in Version => RR14Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker