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

eZ Survey will loose results when archived versions of the survey is deleted

    XMLWordPrintable

    Details

      Description

      Hi

      Survey results are deleted when archived versions of the survey is deleted, for instance due to the setting:

      [VersionManagement]
      DefaultVersionHistoryLimit=10
      

      This means that you'll lose survey results if you edit the survey object 10 times or more

      Steps to reproduce
      Create survey
      
         1. Click "Content structure" in top menu
         2. Create a new Survey
            Name : test survey
         3. 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
         4. Click "Send for publishing"
      
      Submit a survey
      
         1. Click the "Preview" bar below the top menu
         2. Click on link to "test survey"
         3. Click on radio button for "Green"
         4. Click "Submit" button
      
      Verify that result is stored
      
         1. Click "Survey" tab in top menu
         2. Click on "Results" icon in Survey list
         3. Verify that Green has count=1, 100%
      
      Edit the survey object multiple times
      
         1. Click "Content structure" in top menu
         2. Click the "Edit" icon for the "test survey" object
         3. Click "Send for publishing" button
         4. Repeat step 2-3 minimum 10 times
      
      Verify that result is stored again
      
         1. Click "Survey" tab in top menu
         2. Click on "Results" icon in Survey list
         3. Verify that Green has count=1, 100%
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pborgerm Paul Borgermans
                Reporter:
                vl Vidar Langseid
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: