Issue Details (XML | Word | Printable)

Key: MDL-17825
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicolas Connault
Reporter: Nicolas Connault
Votes: 0
Watchers: 0
Operations

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

Gradebook "Mode of grades" aggregation doesn't compute floats

Created: 09/Jan/09 12:57 AM   Updated: 09/Jan/09 01:02 AM
Return to search
Component/s: Gradebook
Affects Version/s: 1.9.3
Fix Version/s: 1.9.4, 2.0

Participants: Nicolas Connault
Security Level: None
Resolved date: 09/Jan/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
When a category's grades include floats and its aggregation strategy is changed to "Mode of grades", a bunch of warnings appear, telling us that array_count_values can only count INTEGER and STRING values.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Nicolas Connault committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 09/Jan/09 01:01 AM
MDL-17825 Converting float grades to string when counting values using the Mode of Grades aggregation
MODIFY lib/grade/grade_category.php   Rev. 1.96.2.22    (+20 -5 lines)
Nicolas Connault committed 1 file to 'Moodle CVS' - 09/Jan/09 01:02 AM
MDL-17825 Converting float grades to string when counting values using the Mode of Grades aggregation. Merging from MOODLE_19_STABLE
MODIFY lib/grade/grade_category.php   Rev. 1.131    (+13 -2 lines)