You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2010/03/30 06:03:29 UTC

svn commit: r928970 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml

Author: lektran
Date: Tue Mar 30 04:03:28 2010
New Revision: 928970

URL: http://svn.apache.org/viewvc?rev=928970&view=rev
Log:
Fix copy/paste bug, create service for SurveyTrigger was trying to create a SurveyQuestionType record

Modified:
    ofbiz/trunk/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml

Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml?rev=928970&r1=928969&r2=928970&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml Tue Mar 30 04:03:28 2010
@@ -376,7 +376,7 @@
             <fail-message message="Security Error: to run createSurveyTrigger you must have the CONTENTMGR_CREATE or CONTENTMGR_ADMIN permission"/>
         </check-permission>
         <check-errors/>
-        <make-value entity-name="SurveyQuestionType" value-field="newEntity"/>
+        <make-value entity-name="SurveyTrigger" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <create-value value-field="newEntity"/>