You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used api to update ccx attribute max_students_allowed to 1. I got success response.
But I was not able to verify new limit on max enrolment because ccx dashboard was allowing me to enroll all 10 student that I tried (seems like max students allowed are still 200 although api return this as 1)
Then
I fetched release branch rc/2016-04-12 from edX .
Then i set CCX_MAX_STUDENTS_ALLOWED = 1. In lms/env/common.py
And then I made new ccx and try to enroll more the 1 students. It only allowed me to add one student as expected.
Hence PR is working fine.
Then
I tested same api on devstack and i was able to reproduce issue which is api is not updating the max_students_allowed on running course.
My idea
I think api http{s}://{host}/api/ccx/v0/ccx/{ccx_id} is not working fine. It seems there is some cache related issues. After changing any ccx attribute it should update cache as well.
I was testing ccx PR Excluded admins, staff and coach of master course from max enrollment on stage.
max_students_allowed to 1
. I got success response.Then
Then
I tested same api on devstack and i was able to reproduce issue which is api is not updating the
max_students_allowed
on running course.My idea
I think api http{s}://{host}/api/ccx/v0/ccx/{ccx_id} is not working fine. It seems there is some cache related issues. After changing any ccx attribute it should update cache as well.
@giocalitri @pdpinch
The text was updated successfully, but these errors were encountered: