click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-14483
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Zhen Qian
Reporter: Brian Sawert
Votes: 0
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Sakai

Add site URL alias to Worksite Setup screens

Created: 19-Sep-2008 13:06   Updated: 03-Feb-2010 10:50
Component/s: Worksite Setup
Affects Version/s: 2.5.x
Fix Version/s: 2.7.0-b01

Time Tracking:
Not Specified

File Attachments: 1. File url_alias_revision49804.diff (7 kB)

Environment: Any
Issue Links:
Relate

2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
This patch modifies the new site information and confirmation screens in Worksite Setup to provide a field for entry of a portal-relative URL alias. This allows site creators to create a more user-friendly URL than the default which includes the site id.

The alias is registered during site creation. However, it is not removed if the site is deleted. This prevents the alias from possible reuse by another site, with confusing results for the user.

The attached diff file patches SiteAction.java, the Velocity templates chef_site-newSiteInformation.vm and chef_site-newSiteConfirm.vm, and the properties file sitesetupgeneric.properties.

 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Peter A. Knoop added a comment - 23-Oct-2008 05:55
Brian, seems like you might run out of good aliases if you can't recover them somehow?

Zhen Qian added a comment - 24-Oct-2008 11:54
Patch applied in r53765.

Peter, I cannot find the "fixed version" choices for this ticket. Neither can I edit the jira to add "fixed version"

- Zhen

Peter A. Knoop added a comment - 25-Oct-2008 06:45
Zhen, You need to "Move" it to a Task type issue when you decide to work on it. That will enable the Fix Version field, as well as notify the contributor that their patch is being considered for inclusion.

Steve Swinsburg added a comment - 27-Feb-2009 04:55
This isn't working correctly.

On the nightly trunk servers there is no field to enter an alias, but on the confirmation screen it has:

Site URL Alias:

but no content (because there was no spot to put one in).

Zhen Qian added a comment - 27-Feb-2009 10:28
The alias input field was removed by SAK-15588.

However, for 2.7. this field should be enabled by default, unless specified otherwise in "wsetup.disable.siteAlias" variable.

FIxed in r58084.

- Zhen

Zhen Qian added a comment - 30-Jul-2009 06:25
The above comment should be "The alias input field was removed by SAK-15582"

Zhen Qian added a comment - 03-Feb-2010 10:49
verified on qa3-us, sakai-2.7.0-b01