Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033897Retail ModulesMobile Procurementpublic2016-09-05 15:402016-10-04 17:27
migueldejuana 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
 
marvintm
Production - QA Approved
2016-05-04
RR16Q3
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7ad6fad0c45a [^]
No
0033897: 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.
depends on backport 0033908RR16Q3.2 closed Retail Search product filtering by name in procurement 
Issue History
2016-09-05 15:40migueldejuanaNew Issue
2016-09-05 15:40migueldejuanaAssigned To => Retail
2016-09-05 15:40migueldejuanaRegression level => Automated tests
2016-09-05 15:40migueldejuanaTriggers an Emergency Pack => No
2016-09-05 15:44migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7ad6fad0c45a [^]
2016-09-05 15:45migueldejuanaRegression date => 2016-05-04
2016-09-05 15:45migueldejuanaRegression introduced in release => RR16Q3
2016-09-06 11:42migueldejuanaStatusnew => scheduled
2016-09-12 17:17jorge-garciaAssigned ToRetail => jorge-garcia
2016-09-21 08:47hgbotCheckin
2016-09-21 08:47hgbotNote Added: 0090130
2016-09-21 08:47hgbotStatusscheduled => resolved
2016-09-21 08:47hgbotResolutionopen => fixed
2016-09-21 08:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0b4ea8f9c2604d6554b3068c070556a6cf910d4a [^]
2016-09-21 08:48hgbotCheckin
2016-09-21 08:48hgbotNote Added: 0090131
2016-10-04 17:27marvintmRegression levelAutomated tests => Production - QA Approved
2016-10-04 17:27marvintmReview Assigned To => marvintm
2016-10-04 17:27marvintmStatusresolved => closed

Notes
(0090130)
hgbot   
2016-09-21 08:47   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0b4ea8f9c2604d6554b3068c070556a6cf910d4a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 12 17:21:04 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0b4ea8f9c2604d6554b3068c070556a6cf910d4a [^]

Fixed issue 33897: 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
---
(0090131)
hgbot   
2016-09-21 08:48   
Repository: tools/automation/pi-mobile
Changeset: 3bcf2865122e0613908189ffbf54da84c05ff1d9
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 21 08:44:49 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3bcf2865122e0613908189ffbf54da84c05ff1d9 [^]

Verifies issue 33897: 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
---