mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #64688
[Bug 1950199] A patch has been submitted for review
Patch for "21.04_DEV" branch: https://reviews.mahara.org/12357
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1950199
Title:
SimpleSamlphp metadata refresh causing cron problems
Status in Mahara:
Fix Committed
Status in Mahara 20.10 series:
Confirmed
Status in Mahara 21.04 series:
Confirmed
Status in Mahara 21.10 series:
Confirmed
Status in Mahara 22.04 series:
Fix Committed
Bug description:
When we have:
1) a site has a timezone / country selected
2) a site that has SAML installed
3) an institution set up with a SAML auth instance
4) the SAML auth instance has 'Metadata URL for auto-refresh' set to a valid value
The timezone gets changed because of the getTime() method in the
htdocs/auth/saml/extlib/simplesamlphp/modules/metarefresh/lib/MetaLoader.php
file setting the timezone to UTC.
This means any cron job happening after the
PluginAuthSaml::auth_saml_refresh_cron one will be using the wrong
'time' to compare to and so some cron jobs won't run when they should.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1950199/+subscriptions
References