[ 
https://issues.apache.org/jira/browse/OFBIZ-12386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745880#comment-17745880
 ] 

ASF subversion and git services commented on OFBIZ-12386:
---------------------------------------------------------

Commit 404cb9fd0260778c801f6b7edaf7d810e4324fec in ofbiz-framework's branch 
refs/heads/trunk from paul
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=404cb9fd02 ]

Fixed: Log SQL statement in exceptions in EntitySQLProcessor (OFBIZ-12837)

The combination of OFBIZ-11926 and OFBIZ-12386 means the field

       SQLProcessor.sql

is never set, but it was originally designed to cache the SQL command and is 
assumed to be there in several catches.

If an exception occurs, you'll get a "null" and not the statement that caused 
the exception.


> Fix some bugs SpotBugs reports
> ------------------------------
>
>                 Key: OFBIZ-12386
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12386
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to