Moodle 3.1 Grade button does nothing

Moodle 3.1 Grade button does nothing

by Matthew Davidson -
Number of replies: 18
Picture of Core developers Picture of Plugin developers

We are experiencing an issue where when a teacher clicks the Grade button, the page seems to flash like a refresh but it stays on the same page.  The new grader interface doesn't appear.  We see no php errors, no javascript errors... basically nothing.  We have removed all javascript that we include.  We are running the Clean theme.  


What are we missing?

Average of ratings: -
In reply to Matthew Davidson

Re: Moodle 3.1 Grade button does nothing

by Matthew Davidson -
Picture of Core developers Picture of Plugin developers
Just found that we were using the release version of Moodle 3.1.  I just upgraded to the latest release of 3.1+ and it works now.
Average of ratings: Useful (1)
In reply to Matthew Davidson

Re: Moodle 3.1 Grade button does nothing

by Matthew Davidson -
Picture of Core developers Picture of Plugin developers

Ok, very strange now.  We upgraded our testing system to 3.1+ from 3.1 release and the Grade button is now working.  We upgraded our Moodle 2.8 to 3.1+ and the Grade button doesn't work.

We have another dev system that is currently at 3.1 release.  I will check back in after it is upgraded to 3.1+.

In reply to Matthew Davidson

Re: Moodle 3.1 Grade button does nothing

by Matthew Davidson -
Picture of Core developers Picture of Plugin developers

Is anyone else having this issue with the new grader?  The url bar changes to 
/mod/assign/view.php?id=349955&action=grader
but the grader screen never shows up.

In reply to Matthew Davidson

Re: Moodle 3.1 Grade button does nothing

by Matthew Davidson -
Picture of Core developers Picture of Plugin developers

Just to continue to document this issue.  


We are running CentOS 7.

1 server was running 3.1 original release and has unoconv 0.5 installed.  The assignment grader didn't work.  We then upgraded it to 3.1+ and the assignment grader began working.

1 server is running 3.1 original release and has unoconv 0.5 installed.  The assignment grader doesn't work.  We are in the process of upgrading it now.

1 server is running 3.1+ release.  It does NOT have unoconv installed.  The assignment grader doesn't work.


In reply to Matthew Davidson

Re: Moodle 3.1 Grade button does nothing

by Marina Glancy -
Picture of Core developers Picture of Moodle Workplace team Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Matthew, please keep updating what's happening with your upgrades.

Absence of unoconv should not prevent grader from working - moodle just won't be able to convert doc to pdf. Also required unoconv version is 0.7, please see https://docs.moodle.org/31/en/Installing_unoconv

In reply to Marina Glancy

Re: Moodle 3.1 Grade button does nothing

by Matthew Davidson -
Picture of Core developers Picture of Plugin developers

I'm not in charge of the servers, so I can't push things through as I would like, but as I understand it we are running CentOS7 and the latest version in that distribution is 0.5.  I'm working on getting them to push 0.7 to the servers, but it isn't really up to me.

We found that a code change that had been made to mod/assign/locallib.php was overwriting the 3.1 version with a version built with Moodle 3.0.  So all is well now.   As usual, human error. 

In reply to Matthew Davidson

Re: Moodle 3.1 Grade button does nothing

by Evan Abbey -

We are experiencing the same thing.  Just installed 3.1+ last night, and the assignment grader doesn't display either the student work or the grading sidebar.

We are running CentOS and do not currently have unoconv installed, though I'm attempting to do so.  Debugging is not bringing up any errors.


In reply to Evan Abbey

Re: Moodle 3.1 Grade button does nothing

by Kevin Orlowski -

We are experiencing the same issue here.  Also on CentOS7 but can't confirm unoconv version at this time.  Also not getting much of anything in Moodle error logs although in Chrome dev tools I am getting a consistent jquery Unexpected token ILLEGAL which I believe is typically seen with some errant quotes or a misplaced semi colon, curly brace etc.

Anyone else seeing that?

In reply to Kevin Orlowski

Re: Moodle 3.1 Grade button does nothing

by Evan Abbey -

Seeing the exact same thing (thanks for the tip on the Chrome Dev tools).  Debugging shows nothing and my unoconv installation cannot be confirmed.

In reply to Evan Abbey

Re: Moodle 3.1 Grade button does nothing

by Kevin Orlowski -

we were able to identify the culprit responsible in our environment.  took several hours of digging through javascript , jquery, html etc. to try and discern where it was failing in the rendering of the page.  But in our case it ended up being a plugin we have installed called PoodLL.  PoodLL has some feedback functionality that was enabled by default for all assignments.

We haven't yet identified what about PoodLL Feedback is breaking this but as soon as we turned it off the grading page now renders just fine.

If interested I could detail the process we went through to figure this out (digging through dev tools etc.) but probably too lengthy to write up here. 

Average of ratings: Useful (2)
In reply to Kevin Orlowski

Re: Moodle 3.1 Grade button does nothing

by Evan Abbey -

You just saved me a lot of additional work.  PoodLL is our issue too.  Thank you again-

In reply to Kevin Orlowski

Re: Moodle 3.1 Grade button does nothing

by Ryan Hazen -

I am having a similar issue but do not have PoodLL installed. Any further info you have about what in PoodLL was breaking might help. It sounds like my issue is a bit different - i can get to the first student but not navigate to another student. I do have pdf annotation turned off.

Here is a video of the issue:


Thanks,

Ryan

In reply to Ryan Hazen

Re: Moodle 3.1 Grade button does nothing

by Ryan Hazen -

Update: turning off feedback comments fixes this issue. I am not sure why yet. I'll post back if I find out.

In reply to Ryan Hazen

Re: Moodle 3.1 Grade button does nothing

by Ryan Hazen -

Solved: Atto Toolbar was set to show more groups than were available.

In reply to Evan Abbey

Re: Moodle 3.1 Grade button does nothing

by Doug Stevens -

Exactly the same using the most recent pull of 3.1 - Here's what we se in the logs:

Default exception handler: Coding error detected, it must be fixed by a programmer: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context() Debug: 

Error code: codingerror

* line 453 of /lib/pagelib.php: coding_exception thrown

* line 1531 of /lib/pagelib.php: call to moodle_page->magic_get_context()

* line 642 of /lib/pagelib.php: call to moodle_page->initialise_theme_and_output()

* line 773 of /lib/pagelib.php: call to moodle_page->magic_get_theme()

* line 26 of /theme/uikit/renderers.php: call to moodle_page->__get()

* line 532 of /lib/outputlib.php: call to include_once()

* line 444 of /lib/outputlib.php: call to theme_config->__construct()\n* line 6929 of /lib/moodlelib.php: call to theme_config::load()

* line 341 of /lib/classes/user.php: call to get_list_of_themes()

* line 502 of /lib/classes/user.php: call to core_user::fill_properties_cache()

* line 876 of /user/externallib.php: call to core_user::get_property_type()

* line 2702 of /mod/assign/externallib.php: call to core_user_external::user_description()

* line 124 of /lib/externallib.php: call to mod_assign_external::list_participants_returns()

* line 185 of /lib/externallib.php: call to external_api::external_function_info()

* line 57 of /lib/ajax/service.php: call to external_api::call_external_function()

In reply to Doug Stevens

Re: Moodle 3.1 Grade button does nothing

by Doug Stevens -

Ok, this is curious.  The issue goes away when I disable File Feedback (kind of important). smile  I've tried different themes just in case it is an ajax issue, but to no avail.

In reply to Doug Stevens

Re: Moodle 3.1 Grade button does nothing

by Chris Myers -

The problem for us ended up being that the faculty member had selected to display only "S" last names in one of their assignments, and apparently Moodle saves things like that as a preference in the database, so filter changes are applied across ALL assignments, not just the one that they're working with currently.

So, when they went to a different course without any students with last names that started with S -- "Nothing to display."

Attachment search_details.png
Average of ratings: Useful (1)