Suggestion to move the help-path override to not need to be in ${sakai.home}

Description

Relates to SAK-21675

It's confusing that the syntax of this needs to be /help/ when it really is $sakai.home}/help/ - Other properties that are in that location actually need the ${sakai.home} in them e.g.
storagePath@org.sakaiproject.archive.api.ArchiveService = ${sakai.home}/archive/
url@javax.sql.BaseDataSource=jdbc:hsqldb:file:${sakai.home}db/sakai.db
samigo.answerUploadRepositoryPath=${sakai.home}/samigo/answerUploadRepositoryPath/

Also, the format /help/ generally means a directory at the root of a filesystem.

Finally, due to the way it has been implemented, there is no way to move the help outside of the sakai home directory, since it is explicitly prefixed to it:
String localHelpPath = sakaiHomePath+serverConfigurationService.getString("help.localpath","/help/");

Could this be changed to require the property to be the full path so that people can override it, e.g. ${sakai.home}/help/ ?

I'm going to reopen this so that it be be discussed.

Activity

Show:

Details

Priority

Affects versions

Components

Assignee

Reporter

Created October 23, 2012 at 3:25 PM
Updated April 18, 2018 at 7:19 AM