← Back to team overview

mahara-contributors team mailing list archive

[Bug 1946301] A change has been merged

 

Reviewed:  https://reviews.mahara.org/12063
Committed: https://git.mahara.org/mahara/mahara/commit/775e6549c3db28e5fc147f104e9db63fc6dd45f7
Submitter: Gold (gold@xxxxxxxxxxxxxxx)
Branch:    master

commit 775e6549c3db28e5fc147f104e9db63fc6dd45f7
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Oct 7 16:03:56 2021 +1300

Bug 1946301: Upgrade issue from 21.04 to 21.10

Need to only add the new 'unlock_collections_by_rollover' if neither
the 'unlock_collections_by_rollover' or 'collection_rollover' cron exist

Change-Id: Ie48a9f3205abfe18d85d6084ff51220f7a251c38
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1946301

Title:
  Upgrade issue with unlock_collections_by_rollover

Status in Mahara:
  In Progress

Bug description:
  There was a fix in the db/upgrade.php file to turn the setting of
  'collection_rollover' cron job to 'unlock_collections_by_rollover'.

  And part of this was to add in the 'unlock_collections_by_rollover'
  cron if the  'collection_rollover' didn't exist.

  But this causes upgrade problems if we are on the latest 21.04 release
  and try to upgrade to 21.10 as it tries to add
  'unlock_collections_by_rollover' for a second time.

  We need to have it so it checks for both
  'unlock_collections_by_rollover' and 'collection_rollover' and if both
  are missing to add in the new cron

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1946301/+subscriptions



References