andrewhancox / moodle-filter_translations

7 stars 8 forks source link

Scheduled Task Error #183

Closed jprovasnik closed 5 months ago

jprovasnik commented 7 months ago

Hello, On Moodle 4.1 with plugin version 2023031010 - the Copy Translations scheduled task seems to consistently to fail on labels (Text & Media Area), and I wasn't sure if it's a issue with other plugins or something further that I may need to configure.

Started processing table: label ... Scheduled task failed: Copy translations (filter_translations\task\copy_translations),Coding error detected, it must be fixed by a programmer: out_as_local_url called on a non-local URL Backtrace:

I do have label as one of the tables to check in the CT Plugin settings: ... "label": [ "intro" ], ...

Wanted to check to see if this error had come up before for anyone. Thanks,

filter_translations_task_copy_translations-48014814.log

jprovasnik commented 5 months ago

I have found the issue -- the background task was failing on labels due to a specific label that contained a quite a few FilterCodes in it. Upon deleting this label, the scheduled task no longer failed.