Problem displaying page when two or more pages have the same clean url
Bug #1412950 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Expired
|
Low
|
Unassigned | ||
1.10 |
Expired
|
Low
|
Unassigned | ||
1.9 |
Expired
|
Medium
|
Unassigned | ||
15.04 |
Expired
|
Medium
|
Unassigned | ||
15.10 |
Expired
|
Low
|
Unassigned |
Bug Description
This occurred for a site using clean urls
A user had two pages containing the same cleanurl so that neither could be displayed.
Got this error:
[WAR] c9 (lib/errors.
I've been unable to replicate this problem via the system (only editing the db directly).
I've tried:
- copying a page
- copying a page from a collection
- exporting and then importing pages
- editing page 'title & description'
But none of these allow me to end up with a duplicate.
Changed in mahara: | |
milestone: | 15.04.0 → 15.04.1 |
no longer affects: | mahara/1.8 |
no longer affects: | mahara/1.9 |
To post a comment you must log in.
There's supposed to be a unique index on the VIEW table for the columns (URLID, OWNER, GROUP, INSTITUTION). This should make it impossible for a user to have two pages with the same URLID.
Was the site missing this index?