Skip to content

Assignment not showing in Grade me block#18

Open
sulaganathan wants to merge 1 commit intoremotelearner:MOODLE_31_STABLEfrom
sulaganathan:MOODLE_31_STABLE_Fix
Open

Assignment not showing in Grade me block#18
sulaganathan wants to merge 1 commit intoremotelearner:MOODLE_31_STABLEfrom
sulaganathan:MOODLE_31_STABLE_Fix

Conversation

@sulaganathan
Copy link
Copy Markdown

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
Copy Markdown
Author

@jamesmcq Did you get a chance to review this?

@ashleyasmith07
Copy link
Copy Markdown

Has this been reviewed and tested?

@jamesmcq
Copy link
Copy Markdown

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.

3 participants