MPriceListVersion error in getProductPrice

Description

When you try to use the getProductPrice (String whereClause) sending a null whereClause.
Or when you try to use getProductPrice (boolean refresh) that sends a null whereClause always you get the following error:

SEVERE: org.postgresql.util.PSQLException: ERROR: syntax error at or near "null"

And when you send a whereClase you get an error also if the whereClause does not start with an AND.

The attached patch fix the problem

Environment

None

Attachments

1

Activity

Show:
Fixed

Details

Assignee

Reporter

Priority

Created May 22, 2015 at 9:39 AM
Updated July 1, 2015 at 1:04 PM
Resolved May 22, 2015 at 4:16 PM