Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033908Retail ModulesMobile Procurementpublic2016-09-05 15:402016-10-13 09:31
migueldejuana 
Retail 
normalmajoralways
closedfixed 
5
 
RR16Q3.2RR16Q3.2 
guilleaer
Automated tests
2016-05-04
RR16Q3
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7ad6fad0c45a [^]
No
0033908: Search product filtering by name in procurement
In Search tab, filtering by name shows a js error (OBDAL error: undefined).
In line:
    OB.Dal.query(OB.Model.Product, 'select * from m_product ' + whereClause, [], successCallbackProducts, errorCallback);

whereClause has a '?' to put a parameter but no parameters are passed.
- Login in http://localhost:8080/openbravo/web/org.openbravo.mobile.procurement/?terminal=PROC-1 [^]
- Open Search tab and write "adh" in the input and press magnifying glass button.
- ERROR!: Js error --> OBDAL error: undefined
No tags attached.
blocks defect 0033897 closed jorge-garcia Search product filtering by name in procurement 
Issue History
2016-09-06 11:42migueldejuanaTypedefect => backport
2016-09-06 11:42migueldejuanaTarget Version => RR16Q3.2
2016-09-23 11:02hgbotCheckin
2016-09-23 11:02hgbotNote Added: 0090197
2016-09-23 11:02hgbotStatusscheduled => resolved
2016-09-23 11:02hgbotResolutionopen => fixed
2016-09-23 11:02hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.mobile.core/rev/e3f95799a2a87bdffbbc715ce909ba33be45c4c1 [^]
2016-09-23 11:02hgbotCheckin
2016-09-23 11:02hgbotNote Added: 0090198
2016-09-26 23:24guilleaerReview Assigned To => guilleaer
2016-09-26 23:24guilleaerStatusresolved => closed
2016-09-26 23:24guilleaerFixed in Version => RR16Q3.2
2016-10-13 09:31hgbotCheckin
2016-10-13 09:31hgbotNote Added: 0090547

Notes
(0090197)
hgbot   
2016-09-23 11:02   
Repository: retail/backports/3.0RR16Q3.2/org.openbravo.mobile.core
Changeset: e3f95799a2a87bdffbbc715ce909ba33be45c4c1
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 11:02:26 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.mobile.core/rev/e3f95799a2a87bdffbbc715ce909ba33be45c4c1 [^]

Fixed issue 33908: Search product filtering by name in procurement

With the change done, parameters to replace in the query are missing.

The solution is to send those parameters.

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproducts.js
---
(0090198)
hgbot   
2016-09-23 11:02   
Repository: retail/backports/3.0RR16Q3.2/pi-mobile
Changeset: fe49b5190ba811d2788a1b2c1c809127471a9d84
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 11:01:33 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/pi-mobile/rev/fe49b5190ba811d2788a1b2c1c809127471a9d84 [^]

Verifies issue 33908: Search product filtering by name in procurement

Added test I33897_PartialSerachInProcurement

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/procurement/I33897_PartialSerachInProcurement.java
---
(0090547)
hgbot   
2016-10-13 09:31   
Repository: tools/automation/pi-mobile
Changeset: fe49b5190ba811d2788a1b2c1c809127471a9d84
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 11:01:33 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/fe49b5190ba811d2788a1b2c1c809127471a9d84 [^]

Verifies issue 33908: Search product filtering by name in procurement

Added test I33897_PartialSerachInProcurement

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/procurement/I33897_PartialSerachInProcurement.java
---