Details
-
Bug
-
Resolution: Fixed
-
High
-
4.2.0alpha1
-
None
Description
Hi
in eZsurvey it is possible to edit survey records. The value of an extra option is however always empty (lost ) when editing a survey record where user gave an extra option.
Steps to reproduce
Create the 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 Extra option label : "Custom color", Value:3, Order:3 Default value : Enter custom color 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 "Custom color" 4. Enter custom color : Black 5. Click "Submit" button Validate the result 1. Click "Survey" tab in top menu 2. Click on "Results" icon in Survey list 3. Click on "All evaluations" 4. Click on "Results" icon to the right in "Survey result" 5. Validate that the following result is recorded: 1. Color 3 (Custom color) Black Change the result 1. Click "Edit" button 2. In the form, validate that "Custom color" is choosen 3. In the form, validate that "Black" is written in input field 4. Change the text "Black" to "White" 5. Click "Submit" button Validate the changed result 1. Click on "Results" icon to the right in "Survey result" 2. Validate that the following result is recorded: 1. Color 3 (Custom color) White
Point #3 below "Change the result" will fail