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

Course module completion state sent as complete, even if not complete #834

Open
ericmerrill opened this issue Jan 15, 2023 · 0 comments
Open

Comments

@ericmerrill
Copy link

Description

  • Every time the event course_module_completion_updated fires, logstore_xapi assumes that it means the activity has been completed. But that isn't always the case. In vanilla Moodle it can also happen if a completion is overridden by the instructor to the not complete state, and Moodle Workplace can do it during user progress resets.

Version

  • Version 2022101800 from master

Steps to reproduce the bug

  1. A a teacher, in the Activity Completion report
  2. Override a user activity to the complete state, if none are already in that state.
  3. Now override the activity to the incomplete state

Expected behaviour

  • The override to incomplete state should either emit a statement saying the event not complete, or if that isn't an option (I don't know the available statements), shouldn't emit anything.

Actual behaviour

  • Emits a statement saying the activity is complete, regarless of the actual completion state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant