Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027339 | Retail Modules | Web POS | public | 2014-08-14 18:03 | 2014-09-30 19:22 |
|
Reporter | Orekaria | |
Assigned To | Orekaria | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR14Q4 | Fixed in Version | RR14Q4 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0027329 | | new | Retail | Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) | blocks | design defect | 0027228 | | new | marvintm | Stabilization: Web POS should validate that models have been imported properly to Web POS |
|
Attached Files | notEnoughCacheData.png (179,596) 2014-08-14 18:03 https://issues.openbravo.com/file_download.php?file_id=7136&type=bug
|
|
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 | bug_revision_view_page.php?rev_id=6280#r6280 |
2014-08-14 18:06 | Orekaria | Relationship added | related to 0027329 |
2014-08-14 18:07 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6282#r6282 |
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 | bug_revision_view_page.php?bugnote_id=0069385#r6317 |
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 |
Notes |
|
(0069376)
|
hgbot
|
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
|
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
|
2014-08-17 14:40
|
|
|
|
(0069702)
|
mtaal
|
2014-08-25 11:15
|
|
Reopen because small change on check with null is needed:
if (!OB.I18N.labels || !OB.Format) { |
|
|
(0069706)
|
hgbot
|
2014-08-25 12:28
|
|
|
|
(0069886)
|
mtaal
|
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 |
|