[ 
https://issues.apache.org/jira/browse/OFBIZ-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato closed OFBIZ-2981.
------------------------------------


> Edit Survey Response creates new, does not Update
> -------------------------------------------------
>
>                 Key: OFBIZ-2981
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2981
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: Release Branch 09.04, Trunk
>         Environment: minilang service
>            Reporter: James McGill
>            Priority: Minor
>
> I found that "Edit Survey Response" always creates a new response, instead of 
> updating one, even if "allowUpdate" was set.
> I believe this is a bug in 
> applications/content/script/org/ofbiz/content/survey/SurveyServices.xml
> Is it more complicated than I think, or was "lookupRespMap" just a typo?    
> --- 
> applications/content/script/org/ofbiz/content/survey/SurveyServices.xml.orig  
>   2009-09-30 00:27:18.000000000 -0700
> +++ applications/content/script/org/ofbiz/content/survey/SurveyServices.xml   
>  2009-09-30 00:28:06.000000000 -0700
> @@ -475,7 +475,7 @@
>          <!-- create/update the response -->
>          <if-compare field="survey.allowUpdate" operator="equals" value="Y">
>              <if-not-empty field="parameters.surveyResponseId">
> -                <entity-one entity-name="SurveyResponse" 
> value-field="lookupRespMap"/>
> +                <entity-one entity-name="SurveyResponse" 
> value-field="surveyResponse"/>
>              </if-not-empty>
>          </if-compare>



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to