Support Alias of site and page ids

Description

The attached diff file provides a simple change to allow aliasing site and page ids.

For example, instead of /portal/site/59fd8d48-d551-45cc-0014-d7590deb20c5/page/b4b03275-9c84-4946-00e6-10d3f50f891e
users could reference /portal/site/site-alias/page/page-alias

This is especially useful for informational gateway pages, as are used in research/collaboration portals

Affected files:
portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java
portal-impl/impl/project.xml

Environment

None

Test Plan

None

Attachments

1

Activity

Beth Kirschner August 14, 2007 at 11:32 AM

Tested and verified.

Syntax for a Site alias is: /site/{site-name}
Example Alias = i18n
Example Target = /site/022b2bc7-e1c8-456e-80a5-f5b79bbc6c16

Syntax for a Page alias is: /site/{site-name}/page/{page-name}
Example Alias = polls
Example Target = /site/022b2bc7-e1c8-456e-80a5-f5b79bbc6c16/page/c21bb5cd-f3d2-4099-0067-90da044c8544

Complete link to site using alias: https://some.server.edu/portal/site/i18n

Complete link to page using alias: https://some.server.edu/portal/site/i18n/page/polls

Ian Boston August 14, 2007 at 10:40 AM

Applied Patch

Tested the SiteID alias,

but cant work out what a pageID alias looks like, perhapse it needs some doc somewhere ? Also could you check that it does work as expected.

Thanks

Ian Boston August 7, 2007 at 2:08 AM

Scheduling for 2.5

Beth Kirschner May 18, 2007 at 2:21 PM

Sorry for the proliferation of attachments – SAK-10084-final.diff should be used and the others discarded

Beth Kirschner May 18, 2007 at 9:57 AM

Better implementation making use of site reference and page reference

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created May 18, 2007 at 8:55 AM
Updated October 23, 2008 at 8:51 AM
Resolved August 14, 2007 at 10:40 AM