Skip to content

v4.0.1 - A new questionnaire look and a major bug fix

Latest
Compare
Choose a tag to compare
@junpataleta junpataleta released this 04 Jul 09:26
· 5 commits to main since this release
bc3a87d

What's new?

Questionnaire revamp

  • The questionnaire has been revamped, moving away from layout tables and using styled native radio buttons and form elements for improved accessibility.

Validation of rated responses

  • Submitted rated responses are validated to ensure that only accepted ratings (integer values of 0 to 6) are saved in the activity.
  • An ad-hoc task has been developed to remove the invalid values for instances of the activity with invalid ratings. What happens:
    • For anonymous feedback activities
      • The response records with invalid rating values will be deleted. Given there's no way of knowing who provided the feedback to the user, there's no point in keeping this record in the database.
      • As we cannot know who submitted the feedback to a recipient, completed feedback submissions to the affected recipient will be reset to In progress status. For example:
        • Before the plugin update, users Alice and Bob submitted anonymous feedback for user Charlie.
        • For some reason, Bob was able to submit his feedback with invalid rating values.
        • The status of their feedback submission to Charlie is now considered Complete.
        • After the plugin gets upgraded to this latest version, both Alice's and Bob's feedback submissions to Charlie will be reset to In progress.
    • For non-anonymous feedback activities
      • The response records with invalid rating values will have the value field set to null.
      • Feedback submissions for users with invalid rating submissions will be reset to In progress. Completed valid submissions are not affected and will remain as Completed.
    • A notification will be sent to the affected users to inform them that their feedback submission has been reset, along with a link to the questionnaire so they can provide feedback again to the user.

Other changes

  • Additional Behat tests for better testing coverage.

Announcements

  • With Moodle 4.0 now a legacy Moodle release and now totally out of support since December 2023, this will also be the last release of the plugin that supports Moodle 4.0.
  • Future releases will support the current LTS version (v4.1 at the time of this plugin's version's release) and later versions of Moodle.