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

select survey for product store cause exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 14.12.01, 16.11.01
    • product
    • None
    • Community Day 3 - 2015

    Description

      Using demo data
      -go to https://localhost:8443/catalog/control/EditProductStore?productStoreId=90101
      -click on survey tab

      ...console output...
      2015-06-05 13:56:07,551 |http-bio-8443-exec-7 |RequestHandler |I| Rendering View [EditProductStoreSurveys], sessionId=9B85D3D48AC8A8494125D9C3D64B8C3D.jvm1
      2015-06-05 13:56:07,553 |http-bio-8443-exec-7 |ServiceDispatcher |T| Sync service [catalog/getUserPreferenceGroup] finished in [1] milliseconds
      2015-06-05 13:56:07,580 |http-bio-8443-exec-7 |ServiceDispatcher |T| Sync service [catalog/getVisualThemeResources] finished in [26] milliseconds
      2015-06-05 13:56:07,643 |http-bio-8443-exec-7 |ScreenFactory |I| Got 21 screens in 0.007s from: file:/zzz/ofbiz-trunk-wrk-restapi/applications/product/widget/catalog/StoreScreens.xml
      2015-06-05 13:56:07,692 |http-bio-8443-exec-7 |ScriptUtil |W| Error running script at location [component://product/webapp/catalog/WEB-INF/actions/store/EditProductStoreSurveys.groovy]: java.lang.IllegalArgumentException: Passed List had more than one value.
      java.lang.IllegalArgumentException: Passed List had more than one value.
      at org.ofbiz.entity.util.EntityUtil.getOnly(EntityUtil.java:107) ~[ofbiz-entity.jar:?]
      at org.ofbiz.entity.util.EntityQuery.queryOne(EntityQuery.java:417) ~[ofbiz-entity.jar:?]
      at org.ofbiz.entity.util.EntityQuery$queryOne$3.call(Unknown Source) ~[?:?]
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) ~[groovy-all-2.2.1.jar:2.2.1]
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) ~[groovy-all-2.2.1.jar:2.2.1]
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) ~[groovy-all-2.2.1.jar:2.2.1]
      at EditProductStoreSurveys.run(EditProductStoreSurveys.groovy:35) ~[?:?]

      Attachments

        Issue Links

          Activity

            People

              arunpati Arun Patidar
              wt Wai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: