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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027196
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Offline Modemajoralways2014-07-25 11:572014-12-10 12:28
ReporteremartinezView Statuspublic 
Assigned Tomario_castello 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiond36df42eb020
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027196: [RR14Q3] Errors when trying to do an operation that needs connection in offline mode

DescriptionWhen trying to do an operation in offline mode that requires connection, there will be errors if the POS status is still online (so it has not been any HTTP request yet).

Let's say i'm online and then i lose internet. POS status is still online as it has not been any http request. Then I click on verified returns, it will open the pop-up (instead of showing the message that it is shown if POS status is offline). If now i click on the search button, the http request is sent (and you see the message of "you lost connection...") and simultaneously there is a red error (see screenshots).
Steps To Reproduce1. Log into web pos and force losing the wifi
2. Check POS status is still online
3. Go to verified returns, observe the popup is opened (if pos status was offline the popup is not even opened and a "nice user message" appears informing this operation needs connection)
4. When popup is opened click on search button

--> observe now the error message in red, and at the same time how pos is detecting now it is offline with the http request
TagsNo tags attached.
Attached Filespng file icon Error_Verified.png [^] (200,132 bytes) 2014-07-25 11:57

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0072089)
hgbot (developer)
2014-11-27 21:07

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9cce73bb38b62f0203a911830634705fa220d1bb
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Nov 27 14:06:24 2014 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9cce73bb38b62f0203a911830634705fa220d1bb [^]

fixed issue 27196: Errors when trying to do an operation that needs connection in offline mode

---
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
---
(0072219)
malsasua (developer)
2014-12-01 18:59

verified
(0072228)
malsasua (developer)
2014-12-02 10:57

reopened. The fix is not correct. It needs to be reviewed
(0072237)
hgbot (developer)
2014-12-02 13:11

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d36df42eb02014aae279632d9423eaa7c4505fb0
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue Dec 02 13:10:34 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d36df42eb02014aae279632d9423eaa7c4505fb0 [^]

fixed issue 27196: var connectedToERP should not be used

---
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
---
(0072390)
migueldejuana (developer)
2014-12-10 12:28

Tested and reviewed in 01e943cefdea

- Issue History
Date Modified Username Field Change
2014-07-25 11:57 emartinez New Issue
2014-07-25 11:57 emartinez Assigned To => marvintm
2014-07-25 11:57 emartinez File Added: Error_Verified.png
2014-07-25 11:57 emartinez Triggers an Emergency Pack => No
2014-11-20 18:14 malsasua Assigned To marvintm => mario_castello
2014-11-26 18:17 mario_castello Status new => scheduled
2014-11-26 18:17 mario_castello fix_in_branch => pi
2014-11-27 21:07 hgbot Checkin
2014-11-27 21:07 hgbot Note Added: 0072089
2014-11-27 21:07 hgbot Status scheduled => resolved
2014-11-27 21:07 hgbot Resolution open => fixed
2014-11-27 21:07 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9cce73bb38b62f0203a911830634705fa220d1bb [^]
2014-12-01 18:59 malsasua Review Assigned To => malsasua
2014-12-01 18:59 malsasua Note Added: 0072219
2014-12-01 18:59 malsasua Status resolved => closed
2014-12-01 18:59 malsasua Fixed in Version => RR15Q1
2014-12-02 10:57 malsasua Note Added: 0072228
2014-12-02 10:57 malsasua Status closed => new
2014-12-02 10:57 malsasua Resolution fixed => open
2014-12-02 10:57 malsasua Fixed in Version RR15Q1 =>
2014-12-02 13:11 hgbot Checkin
2014-12-02 13:11 hgbot Note Added: 0072237
2014-12-02 13:11 hgbot Status new => resolved
2014-12-02 13:11 hgbot Resolution open => fixed
2014-12-02 13:11 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9cce73bb38b62f0203a911830634705fa220d1bb [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d36df42eb02014aae279632d9423eaa7c4505fb0 [^]
2014-12-10 12:28 migueldejuana Review Assigned To malsasua => migueldejuana
2014-12-10 12:28 migueldejuana Note Added: 0072390
2014-12-10 12:28 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker