Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-8822

Search operation on 'AllExamplesWithDesiredCustomerFeaturesReport' entity causing exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework/webtools
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              pritam.kute Pritam Kute
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: