mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #23906
[Bug 1415713] Re: Rewrite old view/artefact.php URLs to new artefact/artefact.php URLs
To test:
1. Upload an image into your portfolio content
2. Create a page
3. Display the image in an Image block on the page
4. Click on the image in the block
5. You'll now be at the image detail page, e.g. http://mahara.example.com/artefact/artefact.php?artefact=6&view=6
6. Manually change that URL in your browser to have "view/artefact.php" instead of "artefact/artefact.php", e.g. http://vegas.wgtn.cat-it.co.nz/mahara/htdocs/view/artefact.php?artefact=6&view=6
Expected result: You should be invisibly redirected to the
artefact/artefact.php page, and successfully see the artefact detail
page.
** Changed in: mahara/1.10
Milestone: None => 1.10.3
** Changed in: mahara/1.10
Importance: Undecided => Medium
** Changed in: mahara/1.10
Status: New => In Progress
--
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/1415713
Title:
Rewrite old view/artefact.php URLs to new artefact/artefact.php URLs
Status in Mahara ePortfolio:
In Progress
Status in Mahara 1.10 series:
In Progress
Status in Mahara 15.04 series:
In Progress
Bug description:
In preparation for Bug 1298646, we refactored the view/artefact.php
file into artefact/artefact.php
This has the side effect that old URLs for individual artefact pages
are now incorrect. This affects search engines and hard-coded links,
as well as some third-party modules that haven't been properly
updated.
It's a simple matter to add a redirect script at the old location,
pointing to the new location, so that these URLs will continue to
function.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1415713/+subscriptions
References