You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wai (JIRA)" <ji...@apache.org> on 2015/06/05 20:04:01 UTC

[jira] [Created] (OFBIZ-6460) select survey for product store cause exception

Wai created OFBIZ-6460:
--------------------------

             Summary: select survey for product store cause exception
                 Key: OFBIZ-6460
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6460
             Project: OFBiz
          Issue Type: Bug
          Components: product
    Affects Versions: Trunk
            Reporter: Wai


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) ~[?:?]




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)