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

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

Commit 23177b182dd8cad0f7a8b76905e229815c05e1be in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=23177b1 ]

Improved: Search/find in web tools - entity-engine generates an error 
(OFBIZ-12422)

I blindly followed SpotBugs advice, using a "try with resource" because the
EntityListIterator was not closed. Forgetting that it's done by purpose.

Thanks: Thanks Pierre Smits for report


> Search/find in web tools - entity-engine generates an error
> -----------------------------------------------------------
>
>                 Key: OFBIZ-12422
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12422
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS, framework/webtools
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Priority: Major
>              Labels: data, usability
>         Attachments: OFBIZ-12422-error.txt
>
>
> When looking for records in webtools / entity-engine, e.g. entity 
> UserPreferencce, the screen returns an error. 
> To test: 
> [https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/UserPreference]
> The error shown: 
> {code:java}
> ava.lang.IllegalArgumentException: Error running script at location 
> [component://webtools/groovyScripts/entity/FindGeneric.groovy]: 
> org.apache.ofbiz.base.util.GeneralRuntimeException: Error getting the next 
> result (ResultSet not open. Operation 'next' not permitted. Verify that 
> autocommit is off.) {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to