Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15566

after submitting the survey debug error is raised and ezsurvey will loose its results when a survey is edited for multiple times.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.2.0
    • 4.2.0rc2
    • None
    • Operating System:Linux
      PHP Version: (please be specific, like '4.4.3' or '5.1.5'):5.2.10
      Database and version:mysql
      Browser (and version):Firefox

    Description

      Create survey

      Log in as admin in plain admin interface
      Click "Content structure" in top menu
      Create a new Survey
      Name : test survey
      Create new attribute "Single/Multiple Choice"
      Text of question : Color
      Rendring style : Radio buttons in a row
      Option label : "Red", Value:1, Order:1
      Option label : "Blue", Value:2, Order:2
      Option label : "Green", Value:3, Order:3
      Click "Send for publishing"
      Submit a survey

      Observation: after submiting the survey requested page could not be displayed message is displayed.
      Note: Snap shot of the issue is attached.

      Click "Content structure" in top menu
      Click the "Edit" icon for the "test survey" object
      Click "Send for publishing" button
      Repeat step 2-3 minimum 10 times
      Verify that result is stored again

      Observation:ezsurvey will loose its results when a survey is edited for multiple times

      Steps to reproduce

      eZSurvey-(test case _id_66)-Test that you can edit an survey more than 10 times without losing results

      Create survey

      Log in as admin in plain admin interface
      Click "Content structure" in top menu
      Create a new Survey
      Name : test survey
      Create new attribute "Single/Multiple Choice"
      Text of question : Color
      Rendring style : Radio buttons in a row
      Option label : "Red", Value:1, Order:1
      Option label : "Blue", Value:2, Order:2
      Option label : "Green", Value:3, Order:3
      Click "Send for publishing"
      Submit a survey

      Click the "Preview" bar below the top menu
      Click on link to "test survey"
      Click on radio button for "Green"
      Click "Submit" button
      Verify that result is stored

      Click "Survey" tab in top menu
      Click on "Results" icon in Survey list
      Verify that Green has count=1, 100%
      Edit the survey object multiple times

      Click "Content structure" in top menu
      Click the "Edit" icon for the "test survey" object
      Click "Send for publishing" button
      Repeat step 2-3 minimum 10 times
      Verify that result is stored again

      Click "Survey" tab in top menu
      Click on "Results" icon in Survey list
      Verify that Green has count=1, 100%

      Attachments

        Activity

          People

            oms Ole Marius Smestad
            sandhya sandhya
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: