[Test failure] <TC_AUTHOR_REDWOOD_7>: < un-enrollment is not reflecting>
Release
Redwood
Expected behavior
un-enrollment should also reflected in this stat.
Actual behavior
un-enrollment isn't reflected in this stat.
Steps to reproduce
- Go to instructor tab > Reports
- Click on the course dashboard stat
- unenroll from this course with a learner user
- check stat again in current enrolees
Additional information
https://redwood.demo.edly.io/courses/course-v1:OpenedX+DemoX+DemoCourse/instructor#view-aspects
label: redwood release testing
Hi @fayyazahmed66 thanks for the report ! I'm a bit lost on aspects but I have the perfect person who can help us understand what's going on 😊
@Ian2012 can you give us a hand here please?
Thanks for the report, the issue is that the query counts enrollment_events instead of only counting the latest enrollment event per learner.
Not a release blocker, but should be fixed since current enrollees should show the number of currently enrolled learners, not total enrollees (all learners who have enrolled in the course).
If this isn't fixed in Daniela's next round of changes we'll fix it as a fast follow, it should be a quick fix I just don't want it to get lost integrating the next set of dashboard changes.
Hi there, @Ian2012 @bmtcril. Could you let me know if this was ever fixed? Thanks.
Yes, I believe that was fixed here: https://github.com/openedx/tutor-contrib-aspects/pull/862/