From a5d6a23f1515b9b3dab5f8ac7138bf93dc17dd3a Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 20 Dec 2020 07:30:40 +0100 Subject: [PATCH] IDEMPIERE-4603 Find * character cause postgresql error (#476) --- .../WEB-INF/src/org/adempiere/webui/window/FindWindow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java index 10f5de5d72..df97757564 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java @@ -37,6 +37,7 @@ import java.util.Vector; import java.util.logging.Level; import java.util.regex.Pattern; +import org.adempiere.exceptions.DBException; import org.adempiere.webui.AdempiereWebUI; import org.adempiere.webui.ClientInfo; import org.adempiere.webui.LayoutUtils; @@ -2422,7 +2423,7 @@ public class FindWindow extends Window implements EventListener, ValueCha } catch (SQLException e) { - log.log(Level.SEVERE, finalSQL, e); + throw new DBException(e); } finally {