Installing and upgrading help

Number of Users shown in Enrolment Methods incorrect

 
Picture of Simon Ward
Number of Users shown in Enrolment Methods incorrect
 
On the Enrolment Methods page, the number of users listed for Manual Enrolments is incorrect.


For example, this states 7:

screen1


But when I click the "Enrol Users" icon, the number of users listed as enrolled is different:

screen2


Why is the first number shown higher/incorrect?

We've just migrated courses from an old installation of Moodle to a new one (2.8.1)


 
Average of ratings: -
Picture of Simon Ward
Re: Number of Users shown in Enrolment Methods incorrect
 

Nothing?


I've also asked this question in "General": https://moodle.org/mod/forum/discuss.php?d=279638

 
Average of ratings: -
Picture of Howard Miller
Re: Number of Users shown in Enrolment Methods incorrect
Core developersDocumentation writersParticularly helpful MoodlersPlugin developers

PLEASE... don't duplicate the same question in different forums smile  It just confuses any answers you do get. Strictly speaking this is an enrolment plugin question anyway. 

PS.. can you explain how you got the second image (the one with the scribble on it)? I'm struggling to reproduce any page that says the number of enrolled users other than in the enrolment methods (your first one). 

 
Average of ratings: -
Picture of Simon Ward
Re: Number of Users shown in Enrolment Methods incorrect
 

The first image is 'Course Name' > Users > Enrolment Methods:



The second image is what is shown after clicking the "Enrol users" icon (Person with "Plus Sign") in the first image:


 
Average of ratings: -
Picture of Howard Miller
Re: Number of Users shown in Enrolment Methods incorrect
Core developersDocumentation writersParticularly helpful MoodlersPlugin developers

I've tried a few courses and it's the same number on each screen for me. Do you have (something like) any expired users in the course or anything like that. I'm just guessing really - without being able to reproduce the issue it's tricky.

 
Average of ratings: -
Picture of Simon Ward
Re: Number of Users shown in Enrolment Methods incorrect
 

No expired users.

Courses were imported from a previous installation of Moodle. When this happened, not all users were given the same roles as the previous installation.

These roles were manually added again.

I think these numbers show the number of users enrolled + the number of users previously enrolled on the previous Moodle installation...

 
Average of ratings: -