Common: Implement resource id truncation in more universal way

Description

SAK-18833 implemented truncation of web links and resource links.

This work should be moved to a helper function so it can apply to all types of content that may be imported via common.

Environment

None

Test Plan

None

Activity

Show:

Hudson CI Server August 5, 2011 at 1:31 PM

Integrated in common trunk #307 (See http://builds.sakaiproject.org:8080/job/common%20trunk/307/)
https://sakaiproject.atlassian.net/browse/SAK-20979#icft=SAK-20979 implement better resource id truncation; reverts https://sakaiproject.atlassian.net/browse/SAK-18833#icft=SAK-18833 and moves that functionality to helper function

Sam Ottenhoff August 5, 2011 at 1:14 PM

My fix reverts the work in https://sakaiproject.atlassian.net/browse/SAK-18833#icft=SAK-18833 and then moves the id truncation to the renamed helper function makeIdCleanAndLengthCompliant

Tested on local dev instance. Should be tested before a merge to 2.8.x.

r96466

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created August 5, 2011 at 1:12 PM
Updated November 26, 2012 at 7:30 AM
Resolved August 5, 2011 at 1:14 PM