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

select survey for product store cause exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 14.12.01, 16.11.01
    • Component/s: product
    • Labels:
      None
    • Sprint:
      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) ~[?:?]

        Issue Links

          Activity

          Hide
          pfm.smits Pierre Smits added a comment -
          Show
          pfm.smits Pierre Smits added a comment - The same happens in the OFBiz trunk Demo, see http://demo-trunk-ofbiz.apache.org/catalog/control/EditProductStoreSurveys?productStoreId=90101
          Hide
          arunpati Arun Patidar added a comment -

          Issue has been fixed and committed in trunk rev-1703945

          Show
          arunpati Arun Patidar added a comment - Issue has been fixed and committed in trunk rev-1703945
          Hide
          arunpati Arun Patidar added a comment -

          Fixed at rev-1703945.

          Show
          arunpati Arun Patidar added a comment - Fixed at rev-1703945.
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Backported in R14.12 at r1703951

          Show
          jacques.le.roux Jacques Le Roux added a comment - Backported in R14.12 at r1703951

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile