Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027339 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2014-08-14 18:03 | 2014-09-30 19:22 | |||
Reporter | Orekaria | View Status | public | |||||
Assigned To | Orekaria | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR14Q4 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 61bca557e094 | |||
Projection | none | ETA | none | Target Version | RR14Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027339: Stabilization: When the server is not available and there is not enough cache data, the app should wait until available | |||||||
Description | Stabilization: When the server is not available and there is not enough cache data, the app should wait until available | |||||||
Steps To Reproduce | insert this snippet in the ob-terminal-model.js, initializeCommonComponents function var r = Math.floor((Math.random() * 5) + 1); if (r === 1) { ajaxRequest.go(ajaxRequest.data).response('success').error('fail'); return; } ajaxRequest.go(ajaxRequest.data).response('fail').error('fail'); verify that the attached screenshot is shown | |||||||
Tags | No tags attached. | |||||||
Attached Files | notEnoughCacheData.png [^] (179,596 bytes) 2014-08-14 18:03
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0069376) hgbot (developer) 2014-08-14 18:15 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 400283ce95112df5cafebee0002603b1fe175c26 Author: Rafa Alonso <rafael.alonso <at> openbravo.com> Date: Thu Aug 14 18:15:17 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/400283ce95112df5cafebee0002603b1fe175c26 [^] Fixes issue 27339: A message is shown to the user when not enough cache data is available to work offline... The message is not internationalized because the labels are missing if this code is reached --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0069385) Orekaria (administrator) 2014-08-15 09:41 edited on: 2014-08-17 14:03 |
Note: in the changeset, the line me.trigger('initializedCommonComponents'); is still called before, because the modal popup is created on that initilizations |
(0069420) hgbot (developer) 2014-08-17 14:40 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 4d904c6583771b1eb9de5f1bd731d33c37caf1b4 Author: Rafa Alonso <rafael.alonso <at> openbravo.com> Date: Sun Aug 17 14:07:55 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4d904c6583771b1eb9de5f1bd731d33c37caf1b4 [^] Fixes issue 27339: the OB.Format check was inverted --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0069702) mtaal (manager) 2014-08-25 11:15 |
Reopen because small change on check with null is needed: if (!OB.I18N.labels || !OB.Format) { |
(0069706) hgbot (developer) 2014-08-25 12:28 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 61bca557e09453499e0200eb23c7ee9b5dbd16d8 Author: Rafa Alonso <rafael.alonso <at> openbravo.com> Date: Mon Aug 25 12:27:28 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/61bca557e09453499e0200eb23c7ee9b5dbd16d8 [^] Fixes issue 27339: When the cache has not enough data, show a message. Wider check. Added comments. --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0069886) mtaal (manager) 2014-09-01 11:24 |
Hi, In the first change set I see this: if (!OB.I18N.labels || !OB.Format) { but in the other changesets I see this: if (OB.I18N.labels === null || OB.Format === null) { if (OB.I18N.labels === null || OB.Format) { I think the approach in the first changeset is fine, the approach in the other 2 is not. Can you make this change? gr. Martin |
Issue History | |||
Date Modified | Username | Field | Change |
2014-08-14 18:03 | Orekaria | New Issue | |
2014-08-14 18:03 | Orekaria | Assigned To | => Orekaria |
2014-08-14 18:03 | Orekaria | File Added: notEnoughCacheData.png | |
2014-08-14 18:03 | Orekaria | Triggers an Emergency Pack | => No |
2014-08-14 18:05 | Orekaria | Summary | When the server is not available and there is not enough cache data, the user should be informed and the application stopped => Stabilization: When the server is not available and there is not enough cache data, the app should wait until available |
2014-08-14 18:05 | Orekaria | Description Updated | View Revisions |
2014-08-14 18:06 | Orekaria | Relationship added | related to 0027329 |
2014-08-14 18:07 | Orekaria | Steps to Reproduce Updated | View Revisions |
2014-08-14 18:15 | hgbot | Checkin | |
2014-08-14 18:15 | hgbot | Note Added: 0069376 | |
2014-08-14 18:15 | hgbot | Status | new => resolved |
2014-08-14 18:15 | hgbot | Resolution | open => fixed |
2014-08-14 18:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/400283ce95112df5cafebee0002603b1fe175c26 [^] |
2014-08-15 09:41 | Orekaria | Note Added: 0069385 | |
2014-08-16 15:28 | Orekaria | Relationship added | blocks 0027228 |
2014-08-17 14:02 | Orekaria | Status | resolved => new |
2014-08-17 14:02 | Orekaria | Resolution | fixed => open |
2014-08-17 14:03 | Orekaria | Note Edited: 0069385 | View Revisions |
2014-08-17 14:40 | hgbot | Checkin | |
2014-08-17 14:40 | hgbot | Note Added: 0069420 | |
2014-08-17 14:40 | hgbot | Status | new => resolved |
2014-08-17 14:40 | hgbot | Resolution | open => fixed |
2014-08-17 14:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/400283ce95112df5cafebee0002603b1fe175c26 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4d904c6583771b1eb9de5f1bd731d33c37caf1b4 [^] |
2014-08-25 11:15 | mtaal | Note Added: 0069702 | |
2014-08-25 11:15 | mtaal | Status | resolved => new |
2014-08-25 11:15 | mtaal | Resolution | fixed => open |
2014-08-25 12:28 | hgbot | Checkin | |
2014-08-25 12:28 | hgbot | Note Added: 0069706 | |
2014-08-25 12:28 | hgbot | Status | new => resolved |
2014-08-25 12:28 | hgbot | Resolution | open => fixed |
2014-08-25 12:28 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4d904c6583771b1eb9de5f1bd731d33c37caf1b4 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/61bca557e09453499e0200eb23c7ee9b5dbd16d8 [^] |
2014-09-01 11:24 | mtaal | Note Added: 0069886 | |
2014-09-01 11:24 | mtaal | Status | resolved => new |
2014-09-01 11:24 | mtaal | Resolution | fixed => open |
2014-09-07 20:22 | Orekaria | Status | new => scheduled |
2014-09-07 20:22 | Orekaria | fix_in_branch | => pi |
2014-09-07 20:22 | Orekaria | Status | scheduled => resolved |
2014-09-07 20:22 | Orekaria | Fixed in Version | => RR14Q4 |
2014-09-07 20:22 | Orekaria | Resolution | open => fixed |
2014-09-30 19:22 | marvintm | Review Assigned To | => marvintm |
2014-09-30 19:22 | marvintm | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |