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

Assignment not showing in Grade me block #18

Open
wants to merge 1 commit into
base: MOODLE_31_STABLE
Choose a base branch
from

Conversation

sulaganathan
Copy link

Fixes

  1. Unit test failed because the condition asgn_sub.timemodified >= ag.timemodified were not met, so i have added one additional dataset in test_query_assign function to ensure the assertEquals pass.

  2. Replaced the ag.grade = -1 by older condition ag.id IS NULL, as the system creates assign_grades entry in some scenarios with grade -1 and datemodifed, so in that case we don't probably need two condition on same OR statements, so checking ag.id is null would be perfect.

UNit test failure issue on v3.1.0.3
@sulaganathan
Copy link
Author

@jamesmcq Did you get a chance to review this?

@ashleyasmith07
Copy link

Has this been reviewed and tested?

@jamesmcq
Copy link

These changes have been pulled in, but I'm going to leave this open as it looks like the changes were just done manually, rather than pulling in your commit, meaning you didn't get the commit credit. Going to resolve this for next release.

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

Successfully merging this pull request may close these issues.

None yet

3 participants