Fixed: Search operation on 'AllExamplesWithDesiredCustomerFeaturesReport' entity

causing exception
(OFBIZ-8822)

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.

Thanks: to Pritam Kute for report and Pallavi Goyal for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2016-11-08 20:36:12 +00:00
parent 8603d4c4ab
commit 7acdccb8c7
@@ -102,8 +102,8 @@ under the License.
<alias-all entity-alias="EFAAFV"/>
<entity-condition>
<condition-list combine="and">
<condition-expr field-name="exampleTypeId" value="CONTRIVED"/>
<condition-expr field-name="exampleFeatureApplTypeId" value="REQUIRED"/>
<condition-expr entity-alias="EFAAFV" field-name="exampleTypeId" operator="equals" value="CONTRIVED"/>
<condition-expr entity-alias="EFAAFV" field-name="exampleFeatureApplTypeId" operator="equals" value="REQUIRED"/>
</condition-list>
<order-by field-name="exampleName"/>
</entity-condition>
@@ -122,7 +122,7 @@ under the License.
<key-map field-name="exampleFeatureApplTypeId"/>
</view-link>
<entity-condition>
<condition-expr field-name="exampleFeatureApplTypeId" value="DESIRED"/>
<condition-expr entity-alias="EXFTAPTP" field-name="exampleFeatureApplTypeId" operator="equals" value="DESIRED"/>
</entity-condition>
</view-entity>
<view-entity entity-name="AllExamplesWithDesiredCustomerFeaturesReport" package-name="org.apache.ofbiz.example.example">
@@ -142,7 +142,7 @@ under the License.
<key-map field-name="exampleId"/>
</view-link>
<entity-condition>
<condition-expr field-name="featureSourceEnumId" value="EXFTSRC_CUSTOMER"/>
<condition-expr entity-alias="EXFT" field-name="featureSourceEnumId" operator="equals" value="EXFTSRC_CUSTOMER"/>
<order-by field-name="exampleName"/>
</entity-condition>
</view-entity>