get_record() not dying when it finds 2 pages with same urlid
Bug #1521409 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
15.04 |
Won't Fix
|
Medium
|
Unassigned | ||
15.10 |
Fix Released
|
Medium
|
Robert Lyon |
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
no longer affects: | mahara/16.04 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/5810