catalyst / moodle-mod_reengagement

Allows timed release of content and emails users to remind them to complete a course activity
23 stars 40 forks source link

Exception - The filter specified (\mod_reengagement\table\reengagement_participants_filterset) is invalid. #94

Closed dsiroumi closed 1 year ago

dsiroumi commented 3 years ago

Hi,

I am using Moodle 3.10 and downloaded the mod_reengagement main branch from the repo.

After creating a re-engagement activity and i click to view it, i cannot seem to use the filter for firstname and surname. If i click on a letter A for example i get the following error:

Exception - The filter specified (\mod_reengagement\table\reengagement_participants_filterset) is invalid. File: ...es/external/dynamic/get.php Line: 215

Error code: generalexceptionmessage

  • line 215 of /lib/table/classes/external/dynamic/get.php: UnexpectedValueException thrown
  • line 261 of /lib/externallib.php: call to core_table\external\dynamic\get::execute()
  • line 81 of /lib/ajax/service.php: call to external_api::call_external_function()

Screenshot: image

And secondly, if i select a user and choose an action such as send message etc on that screen, nothing happens. In the console, i see the following error:

Uncaught Error: The table specified is not a dynamic table and cannot be updated E lib/requirejs.php/1614075949/core/first.js:178 B /lib/requirejs.php/1614075949/core/first.js:185

/mod/reengagement/view.php?id=76:2209 execCb lib/javascript.php/1614075949/lib/requirejs/require.min.js:5 check /lib/javascript.php/1614075949/lib/requirejs/require.min.js:5 enable lib/javascript.php/1614075949/lib/requirejs/require.min.js:5 init /lib/javascript.php/1614075949/lib/requirejs/require.min.js:5 o /lib/javascript.php/1614075949/lib/requirejs/require.min.js:5 Screenshot: ![image](https://user-images.githubusercontent.com/25928363/108847937-47a03700-75d8-11eb-8459-a40eb9a937de.png)

Kind Regards, Siroumi

danmarsden commented 3 years ago

Thanks for the report - we haven't got any clients using this plugin in 3.10 yet so this isn't high up the queue.

Pull requests are always welcome otherwise we'll probably get to this sometime! - thanks!

exputo commented 3 years ago

This is happening on 3.9.x as well.

michael-vaughn commented 3 years ago

Hey all, we're seeing this on Moodle 3.10.5. Here's the full error if it helps:

Exception - The filter specified (\mod_reengagement\table\reengagement_participants_filterset) is invalid. File: ...es/external/dynamic/get.php Line: 215 Stack trace: Error code: generalexceptionmessage

  • line 215 of /lib/table/classes/external/dynamic/get.php: UnexpectedValueException thrown
  • line 261 of /lib/externallib.php: call to core_table\external\dynamic\get::execute()
  • line 81 of /lib/ajax/service.php: call to external_api::call_external_function()

It's worth noting that you can manually copy and paste the links to the other pages (just right clicking one of the page numbers, copy link, and pasting it into the address bar), and that works to load the other pages as a workaround.

ccomincini commented 3 years ago

Hi any news about the error? it makes the plugin unusable ...

danmarsden commented 3 years ago

We do have this in our backlog but pull requests are always welcome - thanks.

danmarsden commented 1 year ago

this was fixed in #98