← Back to team overview

mahara-contributors team mailing list archive

[Bug 1323911] [NEW] institution.id column breaks "auth_get_auth_instances_for_wwwroot()" function

 

Public bug reported:

The function (which is used during Mnet login) has a SQL query that
selects "auth_instance.*, institution.*". It used to be that
auth_instance had a column called "id" and institution did not, so this
didn't cause any problems. But now that institution also has an "id"
column, it overwrites the auth_instance.id in the PHP result set.

** Affects: mahara
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: mnet

** Changed in: mahara
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

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

Title:
  institution.id column breaks "auth_get_auth_instances_for_wwwroot()"
  function

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The function (which is used during Mnet login) has a SQL query that
  selects "auth_instance.*, institution.*". It used to be that
  auth_instance had a column called "id" and institution did not, so
  this didn't cause any problems. But now that institution also has an
  "id" column, it overwrites the auth_instance.id in the PHP result set.

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


Follow ups

References