Closed glunardi closed 4 years ago
This issue was closed because it does not use our bug report issue template.
Please make sure to use it and fill it as much as you can so we can provide better and faster support.
The following sections must not be removed, or else the BOT will close it immediately again:
Description:
cron job fails every 120s. Looks related to #17714
Server started (installed vanilla with 3.4.2). Could there be something missing in #17577? Something else helped suppress the issue?
Again 3.4.2 is the only version to ever run on our install.
Steps to reproduce:
Unclear but from #17577 : Have 2 users and create a DM and send some message between them in your environment; As admin user, go to "Administration" > "User Data Download" and make sure this option is enabled; As any of the users, go to "My Account" > "Preferences" and click at "Export My Data" or "Download My Data" located at the bottom of that page; When the cron runs it will fail with "TypeError: Cannot read property 'filter' of undefined" because roomId is a string and has no uids in it;
Expected behavior:
Scheduled tasks should gracefully handle exceptions
Actual behavior:
Server Setup Information:
Client Setup Information
does not matter
Additional context
Looked at the app.js really quick and ccb00d46fc71de1873a0d4d3f877005aff6a8bcc is applied:
Relevant logs: