Number of points is not saved

Created on 14 March 2024, 4 months ago

Problem/Motivation

The number of points for the correct answer is not saved in the quiz element. I can't put up anything but 1 point.

Steps to reproduce

I have added several quiz pages, inside of which I have questions (a checkbox with multiple choice and one correct answer). I get one point for all the questions from the first part. I need the questions from the second part to give 2 points each. I change the field with the number of points set to 2, save it, but in the end the changes are not saved and I still have one point.

Proposed resolution

This issue has already been raised ( https://www.drupal.org/project/webform_quiz/issues/3040635 β†’ ) for the 8.x-1.x-dev version of the module. The patch that the author advises to apply did not work for me, because I use Drupal 9 and the module version 8.2.1.

Obviously, changes in the code are required, as described in the patch, which will correctly save the value of points and count the final result.

πŸ› Bug report
Status

Needs work

Version

2.1

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia mr.pomelov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024