ndunand / moodle-enrol_attributes

This plugin allows users to be enrolled according to any value stored in their user profile.
https://moodle.org/plugins/enrol_attributes
18 stars 22 forks source link

Infinite Loop #49

Closed luisdev closed 1 year ago

luisdev commented 2 years ago

The Moodle forum discussion https://moodle.org/mod/forum/discuss.php?d=344132#p1388090 says that:

"A plugin (in my case Enrol by User Profile Fields) that run an infinite loop after login caused the long loading time."

That is a very old post, but has this "infinite loop" problem been investigated and fixed?

NicoAlexH commented 1 year ago

This might have been related to this issue https://github.com/ndunand/moodle-enrol_attributes/issues/7. I haven't been able to reproduce this behaviour and it has not been reported since then. As the code has been improved since 2016 (caching has been implemented among other things), I think we can consider it as fixed. Feel free to create a new issue if it happens again.