[ 
https://issues.apache.org/jira/browse/OFBIZ-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528344
 ] 

Bilgin Ibryam commented on OFBIZ-1227:
--------------------------------------

Jonathon,

Can you tell me please how you got this error "You have already responded to 
this survey; multiple responses are not allowed" ?
Some surveys (like Mouse Hand Poll and Mini-Poll Poll from demo data ) has  
allowMultiple='N', so it is allowed only one answer from a partyId.
May be you already answered to this survey and it is not a bug ?

I updated the patch, changing <security https="false" auth="false"/>  to 
<security https="true" auth="true"/> for <request-map uri="additemsurvey"> 
With this change the bug mentioned in my previous post is fixed.



> survey screen fix
> -----------------
>
>                 Key: OFBIZ-1227
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1227
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Bilgin Ibryam
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: survey.patch
>
>
> Here i will explain the bugs fixed:
> if you add a product with survey to shopping cart and try to see the survey, 
> the given link is broken. I add some code the get the surveyId from 
> surveyResponseId.
> If you search for survey from find survey screen (for example with id = 1) 
> you will get all the surveys stating with id=1, but at this stage the survey 
> menu will appears, thinking that we choose a survey with id 1. And this 
> survey menu is broken(surveyId=1, it is only a search criteria, not an 
> existing survey id). Removing some unused fields from FindSurveyscreen and 
> CommonSurveyDecorator fixed these bugs.
> I also have a question/proposal: Isn't it better to change the links ( from 
> shopping cart and order review screens )  from  ViewSurveyResponses to 
> EditSurveyResponse. If we change it, clicking on the survey link from an 
> order/shoppingcart item, will show us the exact survey response and ability 
> to edit it, instead of all the responses to the survey, as it is now ?
> Bilgin Ibryam

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to