Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031195Retail ModulesWeb POSpublic2015-10-21 08:422015-11-29 08:12
mtaal 
migueldejuana 
normalmajorhave not tried
closedfixed 
5
 
RR16Q1RR16Q1 
mtaal
No
0031195: Remote customer: search on address of customer does not return results
Set remote customer data preference to Y

Create a customer with an address, for example use street: Nassaulaan

Assign the customer to the receipt.

Then open customer search, search using the streetname: Nassaulaan

Nothing is shown.

See screenshots
See steps in description.

Note: also test with entering a second address, sometimes it worked, sometimes it didn't (searching on it I mean).
Return the customer record when searching address names.

Note: automated test needs to be added to cover this scenario.
No tags attached.
depends on defect 0031178RR16Q1 closed Sandrahuguet Remote data: support filtering/search on all properties denoted with filter: true on the client 
related to defect 0031249RR16Q1 closed migueldejuana Address popup does an additional request when selecting an address 
related to feature request 0031530 new Retail Support WebPOS customer search on multiple addresses 
blocks backport 0031508 closed Retail [RR15Q4] Uncaught exception is shown clicking in an address in "Assign customer address to receipt" Popup 
png Selection_022.png (66,093) 2015-10-21 08:42
https://issues.openbravo.com/file_download.php?file_id=8593&type=bug
png

png Selection_021.png (36,126) 2015-10-21 08:42
https://issues.openbravo.com/file_download.php?file_id=8594&type=bug
png

png Selection_020.png (29,516) 2015-10-21 08:42
https://issues.openbravo.com/file_download.php?file_id=8595&type=bug
png
Issue History
2015-10-21 08:42mtaalNew Issue
2015-10-21 08:42mtaalAssigned To => migueldejuana
2015-10-21 08:42mtaalFile Added: Selection_022.png
2015-10-21 08:42mtaalTriggers an Emergency Pack => No
2015-10-21 08:42mtaalFile Added: Selection_021.png
2015-10-21 08:42mtaalFile Added: Selection_020.png
2015-10-21 08:43mtaalSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9741#r9741
2015-10-21 08:43mtaalProposed Solution updated
2015-10-21 08:44mtaalSummaryRemote customer: search on first address of customer does not return results => Remote customer: search on address of customer does not return results
2015-10-22 12:37migueldejuanaReview Assigned To => mtaal
2015-10-22 15:23migueldejuanaRelationship addeddepends on 0031178
2015-10-22 15:24migueldejuanaStatusnew => scheduled
2015-10-22 15:24migueldejuanaNote Added: 0081222
2015-10-22 15:24migueldejuanaStatusscheduled => resolved
2015-10-22 15:24migueldejuanaResolutionopen => fixed
2015-10-25 19:38mtaalNote Added: 0081279
2015-10-25 19:38mtaalStatusresolved => new
2015-10-25 19:38mtaalResolutionfixed => open
2015-10-28 09:28hgbotCheckin
2015-10-28 09:28hgbotNote Added: 0081367
2015-10-28 09:28hgbotCheckin
2015-10-28 09:28hgbotNote Added: 0081368
2015-10-28 09:29hgbotCheckin
2015-10-28 09:29hgbotNote Added: 0081369
2015-10-28 09:45hgbotCheckin
2015-10-28 09:45hgbotNote Added: 0081370
2015-10-30 11:42hgbotCheckin
2015-10-30 11:42hgbotNote Added: 0081399
2015-10-30 13:03mtaalStatusnew => scheduled
2015-10-30 13:03mtaalNote Added: 0081403
2015-10-30 13:03mtaalStatusscheduled => resolved
2015-10-30 13:03mtaalFixed in Version => RR16Q1
2015-10-30 13:03mtaalResolutionopen => fixed
2015-11-02 12:36OrekariaRelationship addedrelated to 0031249
2015-11-02 12:36OrekariaNote Added: 0081426
2015-11-02 12:36OrekariaStatusresolved => new
2015-11-02 12:36OrekariaResolutionfixed => open
2015-11-02 12:36OrekariaFixed in VersionRR16Q1 =>
2015-11-02 12:37OrekariaStatusnew => scheduled
2015-11-17 13:19migueldejuanaRelationship addedblocks 0031508
2015-11-17 13:40migueldejuanaNote Added: 0081923
2015-11-17 13:40migueldejuanaStatusscheduled => resolved
2015-11-17 13:40migueldejuanaResolutionopen => fixed
2015-11-19 11:37mtaalNote Added: 0081978
2015-11-19 11:37mtaalStatusresolved => closed
2015-11-19 11:37mtaalFixed in Version => RR16Q1
2015-11-19 11:37mtaalRelationship addedrelated to 0031530
2015-11-29 08:12hgbotCheckin
2015-11-29 08:12hgbotNote Added: 0082455

Notes
(0081222)
migueldejuana   
2015-10-22 15:24   
Resolved by:

https://issues.openbravo.com/view.php?id=31178 [^]
(0081279)
mtaal   
2015-10-25 19:38   
The search works now indeed for one address of a Business Partner. However, if a customer has multiple addresses then it can't be found using the name/searchkey of the additional addresses.

Potentially also solve this for the non-remote case.

gr. Martin
(0081367)
hgbot   
2015-10-28 09:28   
Repository: tools/automation/pi-mobile
Changeset: f06ac09fccb78615aa504062c640d74e5cf4867d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 27 22:33:28 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f06ac09fccb78615aa504062c640d74e5cf4867d [^]

Related to issue 31195: Remote customer: search on address of customer does not return results
Added testcase

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/HighVolSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31195_MultipleAddressesSearch.java
---
(0081368)
hgbot   
2015-10-28 09:28   
Repository: tools/automation/pi-mobile
Changeset: b29e00fbdf70fd92cfe543dbdc63c9bcc3521be7
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Oct 28 00:23:15 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b29e00fbdf70fd92cfe543dbdc63c9bcc3521be7 [^]

Related to issue 31195: Remote customer: search on address of customer does not return results
Added exception for write access for wrong organization

---
M src-test/org/openbravo/test/mobile/common/selenium/utils/AllowedErrorsHelper.java
---
(0081369)
hgbot   
2015-10-28 09:29   
Repository: tools/automation/pi-mobile
Changeset: 57bbeef96a8e6799229d74c094613cdd10c744f5
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Oct 28 09:28:16 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/57bbeef96a8e6799229d74c094613cdd10c744f5 [^]

Related to issue 31195: Remote customer: search on address of customer does not return results
Add but disable test for 31195 initially

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31195_MultipleAddressesSearch.java
---
(0081370)
hgbot   
2015-10-28 09:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6163c2c484f6d1c306199ffeb52e58d7425a7e39
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 27 23:21:30 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6163c2c484f6d1c306199ffeb52e58d7425a7e39 [^]

Related to issue 31195: Remote customer: search on address of customer does not return results
Set specific names for some enyo components to give them an unique TestId

---
M web/org.openbravo.retail.posterminal/js/components/bplocation.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customeraddress/customeraddrsearch.js
---
(0081399)
hgbot   
2015-10-30 11:42   
Repository: tools/automation/pi-mobile
Changeset: 42aadb98fab97d6c408d46512faf6c427c472b7c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Oct 30 11:42:20 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/42aadb98fab97d6c408d46512faf6c427c472b7c [^]

Related to issue 31195: Remote customer: search on address of customer does not return results
Removed author and commented disabled code

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31195_MultipleAddressesSearch.java
---
(0081403)
mtaal   
2015-10-30 13:03   
Resolved by previous commits
(0081426)
Orekaria   
2015-11-02 12:36   
I31195_MultipleAddressesSearch fails
(0081923)
migueldejuana   
2015-11-17 13:40   
I31195_MultipleAddressesSearch test works. I have tested with and without high volumes.
(0081978)
mtaal   
2015-11-19 11:37   
Code reviewed, works
(0082455)
hgbot   
2015-11-29 08:12   
Repository: tools/automation/pi-mobile
Changeset: b5fdf1d989881498c72ea288b3e26b9dcd09eab0
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Nov 29 08:12:01 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b5fdf1d989881498c72ea288b3e26b9dcd09eab0 [^]

Related to issue 31195: Remote customer: search on address of customer does not return results
Do a longer wait, testcase seems unstable on ci environment

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