Submission e-mail answers not correct (incorrect response)

Submission e-mail answers not correct (incorrect response)

by Jaco Viljoen -
Number of replies: 7

Good day


I have a questionnaire set up, which e-mail me the responses from students. But all the responses are the same in the e-mail, although it display correct in Moodle. All the data in the e-mail stay the same (as well as the response id), but only the e-mail address of the student are inserted.

Any idea how to fix it to send the correct answers of the response to the e-mail address specified.


Thank you.

Average of ratings: -
In reply to Jaco Viljoen

Re: Submission e-mail answers not correct (incorrect response)

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi can you provide a few more details please?

When you say you have set it up to email you the responses, do you mean under the questionnaire "Advanced settings / Submission options" you have entered an email in the "Email" field?

Also, what version of questionnaire and Moodle are you using?

mike

In reply to Mike Churchward

Re: Submission e-mail answers not correct (incorrect response)

by Jaco Viljoen -

Hi Mike


Yes, I've set up the e-mail in Advanced settings.

All the e-mails received contain the same body, except for the e-mail address of the student that differs. The rest of the answers are the same, although the student did provide other answers.

I am using Moodle 3.1.1 at the moment.

In reply to Jaco Viljoen

Re: Submission e-mail answers not correct (incorrect response)

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers

Thanks for responding about the version of Moodle. What version of questionnaire are you using?

In reply to Mike Churchward

Re: Submission e-mail answers not correct (incorrect response)

by Jaco Viljoen -
Mike


I've updated it today from the GitHub: https://github.com/remotelearner/moodle-mod_questionnaire

Still doing the same.


Thank you.

In reply to Jaco Viljoen

Re: Submission e-mail answers not correct (incorrect response)

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers

Are you using the MOODLE_31_STABLE branch to update it? The easiest way to determine the version you are using is to go to the "Site administration / Plugins / Plugins overview", find "Questionnaire" and the second column will indicate the version.

I have looked into this and am seeing the same behavior. I have created CONTRIB-6439 to deal with this and flagged it as a security issue.

mike

In reply to Mike Churchward

Re: Submission e-mail answers not correct (incorrect response)

by Jaco Viljoen -

It looks as if I have the 3.2alpha version installed (by accident).

Thank you Mike, I appreciate. I notice that I can not view the issue (CONTRIB-6439) at this moment.

In reply to Jaco Viljoen

Re: Submission e-mail answers not correct (incorrect response)

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers

Security settings probably prevent you from seeing it. I have lowered them.

I updated the MOODLE_31_STABLE with a fix. I'll release a new version soon.

mike