mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #21763
[Bug 1353153] Re: upgrade to 1.9 error when logged in and belonging to an institution
** Changed in: mahara/1.9
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1353153
Title:
upgrade to 1.9 error when logged in and belonging to an institution
Status in Mahara ePortfolio:
Fix Released
Status in Mahara 1.9 series:
Fix Released
Bug description:
If one is an institutional admin and they try to upgrade their site
from pre 1.9 to 1.9+ they get this error
Wed Aug 06 10:01:17.952987 2014] [:error] [pid 22070] [client
127.0.0.1:32941] PHP Fatal error: Uncaught exception 'SQLException'
with message 'Failed to get a recordset: postgres7 error: [-1: ERROR:
relation "institution_config" does not exist\nLINE 1: SELECT field,
value FROM "institution_config" WHERE "institu...\n
^]
There was a change made in 1.9 relating to language settings and one
of the things it does is try to set a cookie relating to the
institution language last used.
When one upgrades it logs them out as part of the process if they are
logged in. And it tries to set their institution set language on
logout in 1.9 getting info from the institution_config table (which
does not exist at this point).
The setting of that cookie needs to be wrapped in a check to make sure
the table exists first.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1353153/+subscriptions
References