← Back to team overview

mahara-contributors team mailing list archive

[Bug 1913504] [NEW] Issues with postgres 12 and adsrc column

 

Public bug reported:

Get this error:

EXECUTE("SELECT d.adnum as num, d.adsrc as def from pg_attrdef d,
pg_class c where d.adrelid=c.oid and c.relname='usr_login_data' order by
d.adnum")

 Call stack (most recent first):
  * exception(object(ADODB_Exception)) at Unknown:0
 [DBG] d3 (lib/errors.php:692) Exception thrown by smarty call while handling exception:
 [DBG] d3 (lib/errors.php:692) [ADODB_Exception]: postgres8 error: [-1: ERROR:  column d.adsrc does not exist
 [DBG] d3 (lib/errors.php:692) LINE 1: SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_...#012PHP message: [DBG] d3 (lib/errors.php:692)     

To fix it we need to do the following

https://github.com/ADOdb/ADOdb/issues/562

** Affects: mahara
     Importance: High
         Status: In Progress

** Affects: mahara/19.10
     Importance: High
         Status: New

** Affects: mahara/20.04
     Importance: High
         Status: New

** Affects: mahara/20.10
     Importance: High
         Status: New

** Affects: mahara/21.04
     Importance: High
         Status: In Progress

** Also affects: mahara/19.10
   Importance: Undecided
       Status: New

** Also affects: mahara/21.04
   Importance: Undecided
       Status: New

** Also affects: mahara/20.10
   Importance: Undecided
       Status: New

** Also affects: mahara/20.04
   Importance: Undecided
       Status: New

** Changed in: mahara/21.04
       Status: New => In Progress

** Changed in: mahara/21.04
   Importance: Undecided => High

** Changed in: mahara/20.10
   Importance: Undecided => High

** Changed in: mahara/20.04
   Importance: Undecided => High

** Changed in: mahara/19.10
   Importance: Undecided => High

** Changed in: mahara/21.04
    Milestone: None => 21.04.0

** Changed in: mahara/20.10
    Milestone: None => 20.10.1

** Changed in: mahara/20.04
    Milestone: None => 20.04.3

** Changed in: mahara/19.10
    Milestone: None => 19.10.6

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

Title:
  Issues with postgres 12 and adsrc column

Status in Mahara:
  In Progress
Status in Mahara 19.10 series:
  New
Status in Mahara 20.04 series:
  New
Status in Mahara 20.10 series:
  New
Status in Mahara 21.04 series:
  In Progress

Bug description:
  Get this error:

  EXECUTE("SELECT d.adnum as num, d.adsrc as def from pg_attrdef d,
  pg_class c where d.adrelid=c.oid and c.relname='usr_login_data' order
  by d.adnum")

   Call stack (most recent first):
    * exception(object(ADODB_Exception)) at Unknown:0
   [DBG] d3 (lib/errors.php:692) Exception thrown by smarty call while handling exception:
   [DBG] d3 (lib/errors.php:692) [ADODB_Exception]: postgres8 error: [-1: ERROR:  column d.adsrc does not exist
   [DBG] d3 (lib/errors.php:692) LINE 1: SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_...#012PHP message: [DBG] d3 (lib/errors.php:692)     

  To fix it we need to do the following

  https://github.com/ADOdb/ADOdb/issues/562

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


Follow ups