mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31902
[Bug 1521409] Re: get_record() not dying when it finds 2 pages with same urlid
Hi,
I am having issues trying to test this.
I got this error on a MySQL database.
It worked fine on postgres.
Cheers,
Jinelle
** Attachment added: "Screenshot from 2015-12-04 12:16:38.png"
https://bugs.launchpad.net/mahara/+bug/1521409/+attachment/4529302/+files/Screenshot%20from%202015-12-04%2012%3A16%3A38.png
--
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:
New
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