Error about table missing on install

Bug #1737038 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned
17.10
Fix Released
Medium
Unassigned
18.04
Fix Released
Medium
Unassigned

Bug Description

Error while cleaning caches: Failed to get a recordset: postgres8 error: [-18: ERROR: relation "iframe_source" does not exist
LINE 1: SELECT "prefix" FROM "iframe_source"
                            ^] in EXECUTE("SELECT "prefix" FROM "iframe_source" ")Command was: SELECT "prefix" FROM "iframe_source"

We added a call to clear all caches on upgrade but this function also gets called on install as well.

We need to only allow the call on upgrade and not install

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8331

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8331
Committed: https://git.mahara.org/mahara/mahara/commit/f5953a89bfe16e1e714503157bfadcc71b63582a
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit f5953a89bfe16e1e714503157bfadcc71b63582a
Author: Robert Lyon <email address hidden>
Date: Fri Dec 8 10:34:53 2017 +1300

Bug 1737038: Only clear cache on update and not install

behatnotneeded

Change-Id: Idad7f09bfc88042110262e997b8f72bf3a895d0d
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "17.10_STABLE" branch: https://reviews.mahara.org/8444

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8444
Committed: https://git.mahara.org/mahara/mahara/commit/046aba919353a622abc4a625ae9f87086cf64966
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.10_STABLE

commit 046aba919353a622abc4a625ae9f87086cf64966
Author: Robert Lyon <email address hidden>
Date: Fri Dec 8 10:34:53 2017 +1300

Bug 1737038: Only clear cache on update and not install

behatnotneeded

Change-Id: Idad7f09bfc88042110262e997b8f72bf3a895d0d
Signed-off-by: Robert Lyon <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.