Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_form: bypass completion defaults issue in Moodle 4.3 #555

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

jrchamp
Copy link
Collaborator

@jrchamp jrchamp commented Dec 13, 2023

In Moodle 4.3, the URL for the completion defaults page was changed from editdefaultcompletion to defaultcompletion. This meant that our current, slightly evil, approach to not making a bunch of API calls on completion pages stopped working. This adds the new pagetype to the list and retains the old one for backward compatibility.

Fixes #552
Supersedes #553

Thanks @opitz!

@jrchamp jrchamp added the bug Fixes problems or reduces technical debt label Dec 13, 2023
@jrchamp jrchamp requested a review from a team December 13, 2023 21:23
@jrchamp jrchamp self-assigned this Dec 13, 2023
Copy link
Contributor

@smbader smbader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate the cleanup and use of isset here. Also, the self-documentation.

@smbader smbader merged commit 7200b5d into ncstate-delta:main Dec 14, 2023
7 checks passed
@jrchamp jrchamp deleted the fix/moodle-403-completion branch December 14, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes problems or reduces technical debt
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Zoom module breaks Default activity completion with Moodle 4.3+
2 participants