← Back to team overview

mahara-contributors team mailing list archive

[Bug 1521409] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5810
Committed: https://git.mahara.org/mahara/mahara/commit/38a9d9a8064f8cb9e983a5995379a364b50af0e8
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 38a9d9a8064f8cb9e983a5995379a364b50af0e8
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Dec 1 13:02:51 2015 +1300

Bug 1521409: get_record() needs to die

When we are trying to fetch a page by urlid and there are duplicates
as the pages will not be the same

behatnotneeded

Change-Id: I82068aefc99e051a4ecd3aceb5655fc96631b0f5
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  get_record() not dying when it finds 2 pages with same urlid

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  In Progress
Status in Mahara 16.04 series:
  Fix Committed

Bug description:
  When we were dealing with  Bug 1515929 we decided not to make the site
  die when get_record returned more than one row. In that case it was
  fine as the multiple rows were effectively the same data.

  In the case of fetching a view by it's urlid we still need to make the
  site die as the views will be different and it will confuse a user as
  to why they do not get the page they expect some of the times

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


References