This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 94cc133092 Improved: Resource leaks in EntitySQLProcessor.groovy 
(OFBIZ-12836)
94cc133092 is described below

commit 94cc133092b30204baca6814cf63e28694bb2ae9
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Wed Aug 2 10:36:12 2023 +0200

    Improved: Resource leaks in EntitySQLProcessor.groovy (OFBIZ-12836)
    
    Add a reference to OFBIZ-6567 at sqlCommand creation (ie on top)
    I got mislead because missing this information I previously only put at 
bottom
    
    OFBIZ-6567 is about wrong percent encoding in Webtool/SQL Processor
---
 .../groovy/org/apache/ofbiz/webtools/entity/EntitySQLProcessor.groovy   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/framework/webtools/src/main/groovy/org/apache/ofbiz/webtools/entity/EntitySQLProcessor.groovy
 
b/framework/webtools/src/main/groovy/org/apache/ofbiz/webtools/entity/EntitySQLProcessor.groovy
index 9358aba554..289edf4cb6 100644
--- 
a/framework/webtools/src/main/groovy/org/apache/ofbiz/webtools/entity/EntitySQLProcessor.groovy
+++ 
b/framework/webtools/src/main/groovy/org/apache/ofbiz/webtools/entity/EntitySQLProcessor.groovy
@@ -24,7 +24,7 @@ import java.sql.ResultSetMetaData
 import org.apache.ofbiz.entity.jdbc.SQLProcessor
 import org.apache.ofbiz.entity.model.ModelGroupReader
 
-String sqlCommand = context.request.getParameter('sqlCommand')
+String sqlCommand = context.request.getParameter('sqlCommand') // (see 
OFBIZ-6567)
 
 String resultMessage = ''
 List<String> columns = []

Reply via email to