You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pallavi Goyal (JIRA)" <ji...@apache.org> on 2016/11/04 10:53:58 UTC

[jira] [Comment Edited] (OFBIZ-8822) Search operation on 'AllExamplesWithDesiredCustomerFeaturesReport' entity causing exception

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

Pallavi Goyal edited comment on OFBIZ-8822 at 11/4/16 10:53 AM:
----------------------------------------------------------------

Added entity-alias and operator in <condition-expr> 
Removed ambiguity between entities for retrieving field.

Same issue is also for "ContrivedExamplesWithRequiredFeaturesReport" and "ExampleFeatureApplAndTypeDesired" entities. Patches for these are included in OFBIZ-8822.patch.
Thanks Humera Khan for your contribution.


was (Author: pallavi.goyal):
Added entity-alias and operator in <condition-expr> 
Removed ambiguity between entities for retrieving field.

Thanks Humera Khan for your contribution.

> 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: Pritam Kute
>             Fix For: Trunk
>
>         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)