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

C2: Check if one gradebook is created on course creation #5278

Closed
ywarnier opened this issue Mar 21, 2024 · 3 comments
Closed

C2: Check if one gradebook is created on course creation #5278

ywarnier opened this issue Mar 21, 2024 · 3 comments
Assignees
Milestone

Comments

@ywarnier
Copy link
Member

In Chamilo 1, the gradebook's main record is only created on first load of a teacher in the gradebook tool. This was a patch.

Make sure the gradebook is created on course creation in C2.

@ywarnier ywarnier added this to the 2.0 milestone Mar 21, 2024
@ywarnier ywarnier self-assigned this Mar 21, 2024
@ywarnier
Copy link
Member Author

The entry in gradebook_category is still only created on tool visit by a teacher.
This should be created upon course creation.

@ywarnier
Copy link
Member Author

This is developing into something much larger, where I will go through the removal of all references to course_code in the gradebook libraries (in favor of course ID (ci_id) which has already been the new foreign key for a while in C2).

@ywarnier
Copy link
Member Author

The code to create the first gradebook in a course is in public/main/gradebook/index.php line ~764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant