Skip to content

Conversation

erickcomp
Copy link

@erickcomp erickcomp commented Feb 7, 2025

Fix #106
In the method [\block_quickmail\persistents\message::populate_recip_course_msg], instead of passing an (user) object to the [\block_quickmail\repos\user_repo::get_unique_course_user_ids_from_selected_entities] method, it was passing the [user id] only, making the [\block_quickmail\repos\user_repo::get_unique_course_user_ids_from_selected_entities] method use a string as if it were an object. This PR fix this.

Note2:

  • I applied this hotfix to my production environment and it's been working as intended for 2 days already.
  • I did not write any tests int this PR because my prod env was chaos and I did not (and still don't) have time to study the tests of the package in order to do it.

In the method [\block_quickmail\persistents\message::populate_recip_course_msg], instead of passing an (user) object to the [\block_quickmail\repos\user_repo::get_unique_course_user_ids_from_selected_entities] method, it was passing the [user id] only, making the [\block_quickmail\repos\user_repo::get_unique_course_user_ids_from_selected_entities] method use a string as if it were an object
@rprawel
Copy link

rprawel commented Aug 29, 2025

I am having the same issue as well and all I have tried thus far, does not work. I would love to find a way bring attention to developers as this is creating a bigger issue across the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send task stuck with NULL user->id

2 participants