how to display "no" in participation reports?

how to display "no" in participation reports?

Joseph Rézeau -
回帖数:12
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像

In Moodle 1.8, I used the Reports to establish lists of those students who had not yet participated in an activity and to email them.

Unless I am mistaken, I can no longer do this in Moodle 1.9 (and 2.0). When I aks for a Report on a specific activity, only those students which have taken part are listed (which is no help at all in my case).

Is this a bug? Am I missing a setting somewhere? Maybe a roles/capabilities thing? Any help appreciated.

Joseph

附件 image00.jpg
回复Joseph Rézeau

Re: how to display "no" in participation reports?

Helen Foster -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像
Hi Joseph,

I've just had a quick look at the problem you describe and found users with no actions displayed in a participation report in the latest Moodle 1.9.1 the same as in 1.8. Sorry I can't think of anything obvious which would result users with no actions not being displayed. thoughtful
回复Joseph Rézeau

Re: how to display "no" in participation reports?

Teresa Gibbison -
Hi Joseph
As with Helen I can also see the No's, have you checked that the other users are enrolled in the course?? Is the quiz assigned to a grouping that the others are not members of??
Sorry I can't be more helpful.
Teresa
回复Joseph Rézeau

Re: how to display "no" in participation reports?

Paul Leake -

Hi Joseph,

You are not alone!! I'm having the same issue.  As an example we have one course with 84 students enrolled, groups are disabled.  When I run the report it only returns 33 students with 'Yes', and I assume it should have returned the other 51 users with 'No'.

I've turned on php debugging with no luck, and updated from 1.9 to this weeks 1.9.1+ without success.

We were running 1.8 but as we have only just started developing the site properly particiption reports were never used i.e. I can't tell whether it was working in 1.8 or not.

This is a really frustrating issue as it renders the report pretty much useless!  If anyone has any ideas or needs any more information please let me know.

Paul

回复Joseph Rézeau

Re: how to display "no" in participation reports?

Kevin Page -
Not much consolation, but I have the same problem. Any news on a solution or at least an explanation? I thought maybe the behavior differed by type of resource (I just want to look at participation on a web page), but it would appear this isn't the case. Strange the documentation (and youtube demo) should be so emphatic about how this should work. Maybe there is some configuration issue?
回复Joseph Rézeau

Re: how to display "no" in participation reports?

Jean-Luc Delghust -
same problem here...
Strangely enough, it was OK on our previous server (1.8.2), didn't work on my new installation on a virtual server, but worked on our updated platform (from 1.8 to 1.9.1+) at the beginning... Now it doesn't show the "no" students anymore... In the meantime, I have imported quite a lot of courses from our previous platform and installed a few modules...
Anybody any news on this issue?
I'm going to have a look at my virtual server and see if I can find anything...
回复Jean-Luc Delghust

Re: how to display "no" in participation reports?

Jean-Luc Delghust -
By the way, upgrading the platform to a newer version (1.9.1+ to 1.9.2+) didn't fix the issue.
回复Joseph Rézeau

Re: how to display "no" in participation reports?

Jean-Luc Delghust -
> Maybe a roles/capabilities thing?

Could be.. I'm no techie, but maybe it's linked.
I had a role mapping issue when I restored courses (from .8.2 to new server 1.9.1+) See discussion here . I kind of let it be, as I couldn't see any problem...

I also added roles to the platform to allow teachers to share questions (I can post the settings for these roles if you think it could give clues)

Other things we did was add question types (ordering, drag & drop matching, drag & drop, imagetarget), dicotrad block, scheduler, questionnaire & feedback modules.

I'm pretty anxious to sort this out, as it is a great feature for our courses, and many teachers need it... I have asked our admin to have a look.. Any help or clue would be much appreciated!
回复Joseph Rézeau

Re: how to display "no" in participation reports?

Sean Keogh -
We are seeing this problem as well, with one of our clients.

I have upgraded them to the very latest 1.9.2+ from CVS, but it has made no difference.
It is a weird problem. For most of the time, with teh student role and various activities, I can only see yes, and no nos.

But for the guest role, I just get all nos, and not a single yes in the participation report.

How odd is that?

Could it be a roles thing?

As far as I know this client has renamed the legacy roles, but not changed any of the capabilities.

Sean K
回复Joseph Rézeau

Re: how to display "no" in participation reports? A few clues maybe

Jean-Luc Delghust -
Ok, here I am with, I hope, some clues as to where the problem may be situated. A friend of mine who is pretty good at PHP (but who doesn't use Moodle) had a quick look at the query and came up with the following suggestion (I am no techie, so I'll try and be as clear as I can)

What follows will be understandable to our developers, I hope..

My friend thinks the query gets too much info. If I'm not mistaken, normally the query for participation report says that if it can't find any logs of the student in the context of the activity, it will return NULL:true the line is:
AND
  (l.id IS NULL 

However, it seems to take into account actions that are situated outside the course, like just logging in to the Moodle site, so the NULL value is never true, so it can't display the "no" students.

I tested his hypothesis this way:
On my test platform, I created 4 students and did the following things:
- Student01: logged in to the course and did the activity
- Student02: logged in to the course but didn't do the activity
- Student03: was added manually to the students of the course, logged in on the platform but not to the course.
- Student04: was added manually to the platform but never logged in at all.

When I do a "participation report", this is what I get:
2 student
Student 04: No (never logged in to the platform)
Student 01: Yes (1) (logged in and did the activity)

My conclusion would be that the query seems to consider that just logging in to the platform is logged, obviously, but the query doesn't return NULL:True as it seems to take into account the student's logging in on the Moodle site. On the other hand, it can't display the others (Student02 and 03) as "Yes" as they haven't done the activity. As the query can't display them as "Yes" but can't display them as "no" (as the result is not NULL:true) it just ignores them...

I hope I was clear enough in the explanation... My friend doesn't really have the time to look into the problem further, and I'm only starting to understand php...
I'd be happy to provide more info or clear things up, if I can...