Error about table missing on install

Bug #1737038 reported by Robert Lyon on 2017-12-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Unassigned
17.10
Medium
Unassigned
18.04
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

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>

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  Edit
Everyone can see this information.

Other bug subscribers