OSP Tools don't respect language/locale preferences (only when english is not the default locale)

Description

If the default locale for sakai is a non-english locale (e.g. Spanish), all the OSP tools do not respond to a locale change specified by user preferences.

Attachments

3
  • 18 Aug 2010, 05:59 AM
  • 30 Jul 2010, 03:09 PM
  • 22 Jun 2010, 02:22 AM

Activity

Beth Kirschner September 21, 2010 at 11:51 AM

Outstanding work from this ticket has been moved into https://sakaiproject.atlassian.net/browse/SAK-19184#icft=SAK-19184

David Roldán Martínez August 19, 2010 at 11:37 PM

Beth,

The last patch I emailed you (I think it is the one you've uploaded as SAK-14401-osp-message.patch) solves f:param issues you comment and also includes espaceHtml patch.

Regarding to CR/LF, I generate the patches with TortoiseSVN under Windows and I don't know how to generate a "clean patch" with this utility. If you (or anybody) knows how to do it, I'll be very happy to listen because cleaning patches by hand it can be really a nightmare. slightly smiling face

Thus, as far as I know, the only issues remaining are some <osp:message> items at matrix\tool\src\webapp\WEB-INF\jsp\matrix\scaffolding\addScaffolding.jsp that I don't know how to solve because they are parametrized and if I change osp:message by c:out an exception in launched. For example, at: <osp:message key="${token}_progression_icon" var="icon" />. If you have any suggestion I'll be happy to do the work.

Thank you very much for your help...and also for your patience. winking face

David

Beth Kirschner August 19, 2010 at 12:08 PM

These are notes mostly for myself: I've applied half of the escapeHtml patch (related to escapeXml). I've not (yet) applied the patch to the following files:

  • presentationTemplate.inc - CR/LF on every line obsfucate the actual changes

  • wizardHeader.inc – incorrect/incomplete changes (use of fmt:param elements which need to be resolved)

  • wizardFooter.inc – looks good, needs testing

  • comments.inc – looks good, needs testing

The osp-message patch is also outstanding

Beth Kirschner August 18, 2010 at 5:59 AM

On Aug 18, 2010, at 2:35 AM, DAVID ROLDAN MARTINEZ wrote:

Here you have the patch for issues you mentioned in the last e-mail. There are some <osp:message> items at matrix\tool\src\webapp\WEB-INF\jsp\matrix\scaffolding\addScaffolding.jsp that I don't know how to solve because they are parametrized and if I change osp:message by c:out an exception in launched. For example, at: <osp:message key="${token}_progression_icon" var="icon" />. If you have any suggestion I'll be happy to do the work.

David Roldán Martínez July 30, 2010 at 3:09 PM

Beth,

I attach a patch containing escapeHTML attributes added.

David

Fixed

Details

Priority

Fix versions

Assignee

Reporter

Created September 8, 2008 at 7:19 AM
Updated March 27, 2012 at 7:01 AM
Resolved September 21, 2010 at 11:51 AM

Flag notifications