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

Search operation on 'AllExamplesWithDesiredCustomerFeaturesReport' entity causing exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • framework/webtools
    • 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

        1. OFBIZ-8822.patch
          2 kB
          Pallavi Goyal

        Activity

          People

            jleroux Jacques Le Roux
            pritam.kute Pritam Kute
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: