Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031196Retail ModulesWeb POSpublic2015-10-21 08:482015-10-28 09:28
mtaal 
migueldejuana 
normalmajorhave not tried
closedfixed 
5
 
RR16Q1RR16Q1 
mtaal
No
0031196: Remote customer: when re-assigning same customer to ticket a js error is shown
Steps:
1) Set the remote prefs
2) Start a ticket
3) Open customer search, create a new customer, assign to the ticket (if you do this too quick another js error appears, will enter a separate issue for that)
4) then click on the customer button and search for the customer
5) click on the found customer
--> js error (see attached)

Note: after retesting it also happens for an existing customer, so no need to create a new customer
See description
No js error.

Note: add automated test to cover this scenario
No tags attached.
png Selection_023.png (98,048) 2015-10-21 08:48
https://issues.openbravo.com/file_download.php?file_id=8596&type=bug
png

png Selection_025.png (119,303) 2015-10-21 08:49
https://issues.openbravo.com/file_download.php?file_id=8597&type=bug
png
Issue History
2015-10-21 08:48mtaalNew Issue
2015-10-21 08:48mtaalAssigned To => migueldejuana
2015-10-21 08:48mtaalFile Added: Selection_023.png
2015-10-21 08:48mtaalTriggers an Emergency Pack => No
2015-10-21 08:49mtaalFile Added: Selection_025.png
2015-10-22 11:03hgbotCheckin
2015-10-22 11:03hgbotNote Added: 0081193
2015-10-22 11:03hgbotStatusnew => resolved
2015-10-22 11:03hgbotResolutionopen => fixed
2015-10-22 11:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/056031b4d6a78bd4b8b3c7cedd2306a5620c8b4c [^]
2015-10-22 12:37migueldejuanaReview Assigned To => mtaal
2015-10-25 20:02hgbotCheckin
2015-10-25 20:02hgbotNote Added: 0081280
2015-10-25 20:03mtaalNote Added: 0081281
2015-10-25 20:03mtaalStatusresolved => closed
2015-10-25 20:03mtaalFixed in Version => RR16Q1
2015-10-25 20:13hgbotCheckin
2015-10-25 20:13hgbotNote Added: 0081282
2015-10-25 20:19hgbotCheckin
2015-10-25 20:19hgbotNote Added: 0081285
2015-10-26 00:55hgbotCheckin
2015-10-26 00:55hgbotNote Added: 0081286
2015-10-26 08:06hgbotCheckin
2015-10-26 08:06hgbotNote Added: 0081289
2015-10-28 09:28hgbotCheckin
2015-10-28 09:28hgbotNote Added: 0081366

Notes
(0081193)
hgbot   
2015-10-22 11:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 056031b4d6a78bd4b8b3c7cedd2306a5620c8b4c
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 21 16:21:33 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/056031b4d6a78bd4b8b3c7cedd2306a5620c8b4c [^]

Fixed issue 0031196: Remote customer: when re-assigning same customer to ticket a js error is shown

If current order bp is the same that we are trying to assign, in setBPandBPLoc location is not defined so we don't need to change anything

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0081280)
hgbot   
2015-10-25 20:02   
Repository: tools/automation/pi-mobile
Changeset: bdaf73752ec887af1f8d4bea1ea5fc7883e7b714
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Oct 25 20:02:01 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/bdaf73752ec887af1f8d4bea1ea5fc7883e7b714 [^]

Related to issue 31196: Remote customer: when re-assigning same customer to ticket a js error is shown
Changed testcase to cover the issue

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30997_NewCustomerForReceipt.java
---
(0081281)
mtaal   
2015-10-25 20:03   
Adapted testcase to cover the issue
(0081282)
hgbot   
2015-10-25 20:13   
Repository: tools/automation/pi-mobile
Changeset: 9121fa80950d39965392e5a17eff3c21396aee71
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Oct 25 20:13:09 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9121fa80950d39965392e5a17eff3c21396aee71 [^]

Related to issue 31196: Remote customer: when re-assigning same customer to ticket a js error is show
Added testcase to cover issue

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30997_NewCustomerForReceipt.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31196_ReassignNewCustomer.java
---
(0081285)
hgbot   
2015-10-25 20:19   
Repository: tools/automation/pi-mobile
Changeset: 9c01119e477fc479e1d56a44c4fc6db2f8c92592
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Oct 25 20:19:27 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9c01119e477fc479e1d56a44c4fc6db2f8c92592 [^]

Related to issue 31196: Remote customer: when re-assigning same customer to ticket a js error is show
Made the testcase more advanced, also use existing customer for search and re-assign

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31196_ReassignNewCustomer.java
---
(0081286)
hgbot   
2015-10-26 00:55   
Repository: tools/automation/pi-mobile
Changeset: 57c03982b7e171080ad575e47e97a4d761171f11
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Oct 26 00:55:11 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/57c03982b7e171080ad575e47e97a4d761171f11 [^]

Related to issue 31196: Remote customer: when re-assigning same customer to ticket a js error is show
Added allowed exception/warning in tomcat log

---
M src-test/org/openbravo/test/mobile/common/selenium/utils/AllowedErrorsHelper.java
---
(0081289)
hgbot   
2015-10-26 08:06   
Repository: tools/automation/pi-mobile
Changeset: 7777c332bec15c501a6747da9110e3aadb51e9cd
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Oct 26 08:06:30 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7777c332bec15c501a6747da9110e3aadb51e9cd [^]

Related to issue 31196: Remote customer: when re-assigning same customer to ticket a js error is show
Added to highvol suite

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/HighVolSuite.java
---
(0081366)
hgbot   
2015-10-28 09:28   
Repository: tools/automation/pi-mobile
Changeset: c05b7a55e3e3feb56712bdb78117b77418a97b9d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 27 22:32:58 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c05b7a55e3e3feb56712bdb78117b77418a97b9d [^]

Related to issue 31196: Remote customer: when re-assigning same customer to ticket a js error is shown
Remove pause

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31196_ReassignNewCustomer.java
---