Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036632Retail ModulesWeb POSpublic2017-08-10 11:152019-03-07 15:10
maite 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036632: Error when creating new customer from terminal and network is slow: JSONObject["countryId"] not found
In case Network throttling is slow "Country" combo information takes some time to load. Meanwhile user is able to set name and address and Save customer.
0. Open Chrome Developers Tool and configure Network Conditions as "Slow 3g" instead of "No throttling"
1. Access Terminal and select Customers option in menu
2. Press *New Customer button and quickly (while Country combo is being loaded) set Name and Address (which are compulsory fields) and press Save
3. Go to backoffice and verify that business partner is in "Errors while importing POS data" showing error "org.codehaus.jettison.json.JSONException: JSONObject["countryId"] not found."
No tags attached.
Issue History
2017-08-10 11:15maiteNew Issue
2017-08-10 11:15maiteAssigned To => Retail
2017-08-10 11:15maiteResolution time => 1504130400
2017-08-10 11:15maiteTriggers an Emergency Pack => No
2017-08-10 11:15maiteIssue Monitored: networkb
2017-08-15 17:11rqueraltaAssigned ToRetail => rqueralta
2017-08-15 17:11rqueraltaStatusnew => scheduled
2017-08-29 08:19hgbotCheckin
2017-08-29 08:19hgbotNote Added: 0098677
2017-08-29 08:19hgbotStatusscheduled => resolved
2017-08-29 08:19hgbotResolutionopen => fixed
2017-08-29 08:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d371b6546b0202980ad49e6d2cd120781b1938a3 [^]
2017-08-30 15:45marvintmReview Assigned To => marvintm
2017-08-30 15:45marvintmStatusresolved => closed
2017-08-30 15:45marvintmFixed in Version => RR17Q4
2017-11-10 16:23hgbotCheckin
2017-11-10 16:23hgbotNote Added: 0100449
2017-11-17 17:15eugeniIssue Monitored: eugeni
2017-11-21 15:36hgbotCheckin
2017-11-21 15:36hgbotNote Added: 0100651
2019-03-07 15:10hgbotCheckin
2019-03-07 15:10hgbotNote Added: 0110284

Notes
(0098677)
hgbot   
2017-08-29 08:19   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d371b6546b0202980ad49e6d2cd120781b1938a3
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Aug 15 13:11:00 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d371b6546b0202980ad49e6d2cd120781b1938a3 [^]

Fixed issue 36632: Error when creating new customer from terminal and network is
slow: JSONObject["countryId"] not found

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/editcreatecustomerform.js
---
(0100449)
hgbot   
2017-11-10 16:23   
Repository: tools/automation/pi-mobile
Changeset: a7b4219dff5861a7261448579d3f9dbd43916e2f
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Fri Nov 10 10:22:49 2017 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a7b4219dff5861a7261448579d3f9dbd43916e2f [^]

Added test for issue 36632 to the list of ignored Tomcat Errors due to a warning
being thrown that makes the test end in failure when there is actually no errors.

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
---
(0100651)
hgbot   
2017-11-21 15:36   
Repository: tools/automation/pi-mobile
Changeset: 9e26c1bd952d0cf489febec195913dd876354c8e
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Nov 21 09:34:20 2017 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9e26c1bd952d0cf489febec195913dd876354c8e [^]

Verifies issue 36632: Error when creating new customer from terminal and network
is slow

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/I36632_VerifyCustomerCreationFromTerminal.java
---
(0110284)
hgbot   
2019-03-07 15:10   
Repository: tools/automation/pi-mobile
Changeset: b9e1f8019e8e10c1efa61eb33509fde6d53f1e18
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Mar 04 14:35:04 2019 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b9e1f8019e8e10c1efa61eb33509fde6d53f1e18 [^]

Related to issue 36632: test has been refactored in order to verify properly this
issue.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/I36632_VerifyCustomerCreationFromTerminal.java
---