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

Survey : FTL error message when using Enumeration or Geo question type

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Release Branch 12.04, Release Branch 13.07, Release Branch 14.12, Trunk
    • Fix Version/s: 14.12.01, 12.04.06, 13.07.03, 16.11.01
    • Component/s: content
    • Labels:
      None

      Description

      In a survey using Enumeration and Geo question Type, answer is impossible due to an error about "selected" option on dropDown.

      1. OFBIZ-6397.patch
        2 kB
        Gil Portenseigne

        Activity

        Hide
        gil portenseigne Gil Portenseigne added a comment -

        This patch fix a copy paste error between Geo and Enum Type. (description retrieval). Change the selected variable assignment to avoid access error.

        Show
        gil portenseigne Gil Portenseigne added a comment - This patch fix a copy paste error between Geo and Enum Type. (description retrieval). Change the selected variable assignment to avoid access error.
        Hide
        gil portenseigne Gil Portenseigne added a comment -

        To help reproduice : load following data into demo datas, and go to survey 1000 create an answer.

         <SurveyQuestion description="which type of credit card you use." enumTypeId="CREDIT_CARD_TYPE" question="which type of credit card you use." surveyQuestionCategoryId="1000" surveyQuestionId="10000" surveyQuestionTypeId="ENUMERATION"/> 
        <SurveyQuestion description="In which US region you live" geoId="USTR" question="In which US region you live" surveyQuestionCategoryId="1000" surveyQuestionId="10001" surveyQuestionTypeId="GEO"/>
         <SurveyQuestionAppl fromDate="2015-05-21 10:02:36.232"  surveyId="1000" surveyQuestionId="10000"/>
         <SurveyQuestionAppl  fromDate="2015-05-21 10:05:32.116"  surveyId="1000" surveyQuestionId="10001"/>
        
        Show
        gil portenseigne Gil Portenseigne added a comment - To help reproduice : load following data into demo datas, and go to survey 1000 create an answer. <SurveyQuestion description= "which type of credit card you use." enumTypeId= "CREDIT_CARD_TYPE" question= "which type of credit card you use." surveyQuestionCategoryId= "1000" surveyQuestionId= "10000" surveyQuestionTypeId= "ENUMERATION" /> <SurveyQuestion description= "In which US region you live" geoId= "USTR" question= "In which US region you live" surveyQuestionCategoryId= "1000" surveyQuestionId= "10001" surveyQuestionTypeId= "GEO" /> <SurveyQuestionAppl fromDate= "2015-05-21 10:02:36.232" surveyId= "1000" surveyQuestionId= "10000" /> <SurveyQuestionAppl fromDate= "2015-05-21 10:05:32.116" surveyId= "1000" surveyQuestionId= "10001" />
        Hide
        deepak.dixit Deepak Dixit added a comment -

        Thanks Gil Portenseigne for the issue report.

        Your patch has been committed at
        Trunk at r#1680840
        14.12 at r#1680847
        13.07 at r#1680848
        12.04 at r#1680851

        Show
        deepak.dixit Deepak Dixit added a comment - Thanks Gil Portenseigne for the issue report. Your patch has been committed at Trunk at r#1680840 14.12 at r#1680847 13.07 at r#1680848 12.04 at r#1680851

          People

          • Assignee:
            deepak.dixit Deepak Dixit
            Reporter:
            gil portenseigne Gil Portenseigne
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development