Issue Details (XML | Word | Printable)

Key: MDL-11391
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Yu Zhang
Reporter: Arnaud saint-Georges
Votes: 1
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Grades are not displayed because gradebookroles cannot be set

Created: 21/Sep/07 09:14 PM   Updated: 17/Nov/07 09:35 PM
Component/s: Gradebook
Affects Version/s: 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1, 1.8.2
Fix Version/s: 1.7.3

Issue Links:
Duplicate
 

Participants: Arnaud saint-Georges and Yu Zhang
Security Level: None
Resolved date: 27/Sep/07
Affected Branches: MOODLE_17_STABLE, MOODLE_18_STABLE
Fixed Branches: MOODLE_17_STABLE


 Description  « Hide
No notes are displayed OR message "no roles defined in admin->appearance->graderoles".

You can fix this error by going to /grade/lib.php and change the following line ( line 3682 in lib.php v1.3):
$configvar = get_config('', 'gradebookroles');
to
$configvar->value = get_config('', 'gradebookroles');

See : http://moodle.org/mod/forum/discuss.php?d=62380

Thanks to Chris Meyer



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Yu Zhang added a comment - 27/Sep/07 10:24 AM
hi Arnaud,

I have read the forum and I do not really understand the issue. Can you please describe in detail what this is about? I have tested with the latest 1.8+ with no gradebookroles set, and I can see the message message "no roles defined in admin->appearance->graderoles".

Thanks,

Yu


Yu Zhang added a comment - 27/Sep/07 10:41 AM
I see the problem in 1.7 now, will fix in a second, I think this is already fixed in 1.8, isn't it?

Yu Zhang added a comment - 27/Sep/07 10:58 AM
Fixed in 1.7 and should have been fixed in 1.8 on, please reopen if needed.