Problem when grade is 100% and requered grade is enable

Problem when grade is 100% and requered grade is enable

by Sidney Amorim -
Number of replies: 8

I have problems with the certificate. When a student achieves 100% the certificate just don't download, a message apears "you don't comply with the minimum (75%). Just in these cases.

I use a condition "Requered grade: 75%"

And use Moodle 1.9.5+ (Build: 20090902)

Thanks for help

Average of ratings: -
In reply to Sidney Amorim

Re: Problem when grade is 100% and requered grade is enable

by Way Way -
I have this problem too, my quickly and easy solution to bypass the problem after somebody fix the bug:

On the course,

GRADES >> CHOSE AN ACCTION >> FULL VIEW
Course total: 99,99%
Save changes

maybe is usefull to Soomebody.

Bye


In reply to Way Way

Re: Problem when grade is 100% and requered grade is enable

by Chardelle Busch -
Picture of Core developers
I can't duplicate this problem.

I've just tested this with latest 1.9 certificate code in Moodle 1.95. With grade settings for the course using the defaults. It works fine with both an Assignment and with the Course total as the required grades of 90% and the student getting 100.
In reply to Chardelle Busch

Re: Problem when grade is 100% and requered grade is enable

by Biju Mani -
Could you please paste the lib.php and certificate.php and any other file linked to conditional grades here so that we can compare the scripts
In reply to Biju Mani

Re: Problem when grade is 100% and requered grade is enable

by Chardelle Busch -
Picture of Core developers
I am using the certificate that can be downloaded from the plugins page for Moodle 1.9.
In reply to Chardelle Busch

Re: Problem when grade is 100% and requered grade is enable

by Biju Mani -

Team:

I upgraded to 1.9.5 and every problem vanished. I would strongly suggest that all having issues with certificate module upgrade to 1.9.5 latest.

Chardelle: Thanks for the support

Biju

In reply to Biju Mani

Re: Problem when grade is 100% and requered grade is enable

by Thales Araujo -

Well... maybe because when you installed 1.9.5+ some settings returned to default... but what?

The Autor of the post (Sidney Amorim) has 1.9.5+ installed...

I´m having the same problem with 1.9.3+

In reply to Thales Araujo

Re: Problem when grade is 100% and requered grade is enable

by Sidney Amorim -

Thanks for all...

I solve my problem with this contrib

http://tracker.moodle.org/browse/CONTRIB-777

Average of ratings: Useful (1)
In reply to Sidney Amorim

Re: Problem when grade is 100% and requered grade is enable

by Thales Araujo -

Thanks Sidney!

Works for me too!  With lib.php

1401: if ($certificate->requiredgrade > abs($coursegrade->percentage)) {

1402: $a->current = abs($coursegrade->percentage);

Thanks a lot!

Average of ratings: Useful (1)