[
https://issues.apache.org/jira/browse/OFBIZ-12386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745883#comment-17745883
]
ASF subversion and git services commented on OFBIZ-12386:
---------------------------------------------------------
Commit 4ba4b965994ce39a0b64e08c40940a00bc5ff2c0 in ofbiz-framework's branch
refs/heads/release22.01 from paul
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4ba4b96599 ]
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)