[
https://issues.apache.org/jira/browse/OFBIZ-8822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831778#comment-15831778
]
Jacques Le Roux commented on OFBIZ-8822:
----------------------------------------
Backported in R15 and R14 at r1779624
> Search operation on 'AllExamplesWithDesiredCustomerFeaturesReport' entity
> causing exception
> -------------------------------------------------------------------------------------------
>
> Key: OFBIZ-8822
> URL: https://issues.apache.org/jira/browse/OFBIZ-8822
> Project: OFBiz
> Issue Type: Bug
> Components: framework/webtools
> Affects Versions: Trunk
> Reporter: Pritam Kute
> Assignee: Jacques Le Roux
> Fix For: 16.11.01
>
> Attachments: OFBIZ-8822.patch
>
>
> Steps to regenerate:
> 1. Go to Entity Data Maintenance in webtools
> 2. Search entity 'AllExamplesWithDesiredCustomerFeaturesReport'. Click and go
> to the overview page.
> 3. Click on the Search button.
> We are getting following exception:
> 2016-11-03 21:29:22,584 |ttp-nio-8443-exec-10 |ScriptUtil
> |W| Error running script at location
> [component://webtools/groovyScripts/entity/FindGeneric.groovy]:
> java.lang.IllegalArgumentException:
> [AllExamplesWithDesiredCustomerFeaturesReport]: Error in Entity Find: could
> not find field [featureSourceEnumId]
> java.lang.IllegalArgumentException:
> [AllExamplesWithDesiredCustomerFeaturesReport]: Error in Entity Find: could
> not find field [featureSourceEnumId]
> at
> org.apache.ofbiz.entity.model.ModelViewEntity$ViewConditionExpr.createCondition(ModelViewEntity.java:1395)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.model.ModelViewEntity$ViewEntityCondition.getWhereCondition(ModelViewEntity.java:1307)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.model.ModelViewEntity.populateViewEntityConditionInformation(ModelViewEntity.java:313)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:724)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:140)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1551)
> ~[ofbiz.jar:?]
> at org.apache.ofbiz.entity.Delegator$find$2.call(Unknown Source) ~[?:?]
> at
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
> ~[groovy-all-2.4.5.jar:2.4.5]
> at
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
> ~[groovy-all-2.4.5.jar:2.4.5]
> at FindGeneric.run(FindGeneric.groovy:183) ~[?:?]
> Expected: Data for view entity should be searched and displayed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)