You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reporting the issue to the correct repository.
I am running the latest version of this plugin (if not, please upgrade first).
I checked the README.md and Wiki documentation but did not find my answer.
I searched to make sure that this issue had not already been reported.
I have, or I know someone who has, the ability and willingness to test the fix on a Moodle LMS-based site.
I am submitting no more than one bug report per issue ticket (please do not submit multiple bugs in one issue ticket).
I understand that support is provided by volunteer(s).
What happened?
The code {ifactivitycompleted id}TEST_TEXT{/ifactivitycompleted} does not display the TEST_TEXT as it is supposed to do. Behaviour:
When the activity with the references ID such as a quiz can manually be set to "completed" and is set to "completed", the TEST_TEXT is shown to the participant who has completed the activity.
When the activity with the references ID such as a quiz has a passing grade to be "completed" and is "completed", the TEST_TEXT is NOT shown to the participant who has completed the activity.
What do you think should have happened?
I expected the TEST_TEXT between the code {ifactivitycompleted id}{/ifactivitycompleted} to be displayed to the participant, who has completed the corresponding activity, whether or not the activity has a passing grade.
Steps to reproduce
Login as 'teacher'
Go to a 'course'
Activate the filter "filtercodes'
Create a 'quiz' and name it QUIZ1
Set the completion condition of QUIZ1 to 'Students must manually mark the activity as done'
Create another 'quiz' and name it QUIZ2
Set the completion condition of QUIZ2 to 'Add requirement' → 'Receive a grade' → 'Passing grade' → '70'
Add some random questions to QUIZ2
Add the code {ifactivitycompleted id}TEST_TEXT1{/ifactivitycompleted} to a section description and give it the ID of QUIZ1
Add the code {ifactivitycompleted id}TEST_TEXT2{/ifactivitycompleted} to a section description and give it the ID of QUIZ2
Login to the same course as a user
Complete QUIZ1 by clicking 'completed' manually
Complete QUIZ2 by answering the questions correctly
Check if TEST_TEXT1 and TEST_TEXT2 are displayed to this user.
Screenshots
No response
Moodle version
Moodle 4.3.8+ (Build: 20241018)
Installed Moodle UI Language packs.
English only
One or more other languages/regional dialects (specify below)
Prerequisites
What happened?
The code {ifactivitycompleted id}TEST_TEXT{/ifactivitycompleted} does not display the TEST_TEXT as it is supposed to do. Behaviour:
What do you think should have happened?
I expected the TEST_TEXT between the code {ifactivitycompleted id}{/ifactivitycompleted} to be displayed to the participant, who has completed the corresponding activity, whether or not the activity has a passing grade.
Steps to reproduce
Screenshots
No response
Moodle version
Moodle 4.3.8+ (Build: 20241018)
Installed Moodle UI Language packs.
If other language(s), please specify
No response
Workaround
No, I have not found a workaround.
Additional information
Debugging doesn't show any error regarding this.
System information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: