[WG: I18N & L10N] [samigo-team] FW: Samigo retract date problems

Jean-Francois Leveque jean-francois.leveque at upmc.fr
Wed Sep 4 03:56:35 PDT 2013


Hi,

As you can see in SAK-23662, we currently do not have a solution that works.

Sakai has had issues with localized date handling and pickers for a long 
time.

A workaround could be to comment out the localized format for 
output_data_picker_w_sec in 
samigo-app/src/java/org/sakaiproject/tool/assessment/bundle/GeneralMessages_sv.properties 
to handle the dates in English format. Please note there might be other 
localized formats to disable to make this work or even maintain display 
consistency and you might also need to update messages translations for 
consistency too.

If you want to use Swedish date format, I would advise to try the fix 
for SAK-23662 in Swedish and give your feedback in JIRA.

Please send us updates on how you solve this at University Of Skövde and 
ask if you have any question.

Regards,

J-F

On 26/08/2013 16:01, Anders Nordkvist wrote:
> Hi,
>
> We at University of Skövde in Sweden have a problem regarding Samigo.
> This autumn we updated from 2.7.x to 2.9.x and since then we can’t
> retract a test when we are using our locale language (Swedish). If we
> use English it works to retract.
>
> Here is a Test case:
>
> Create a test (or click on settings on an existing one) and then
> “Delivery dates”. Set all three dates here. I always get this in the log
> when Swedish locale is used:
>
> WARN http-bio-8080-exec-436
> org.sakaiproject.tool.assessment.ui.listener.util.TimeUtil - can not
> parse the string, 08/23/2013 09:28:47 AM, into a Date using format:
> yyyy-MM-dd HH:mm:ss
>
> WARN http-bio-8080-exec-431
> org.sakaiproject.tool.assessment.ui.listener.util.TimeUtil - can not
> parse the string, 08/23/2013 09:31:50 AM, into a Date using format:
> yyyy-MM-dd HH:mm:ss
>
> WARN http-bio-8080-exec-431
> org.sakaiproject.tool.assessment.ui.listener.util.TimeUtil - can not
> parse the string, 08/23/2013 09:31:52 AM, into a Date using format:
> yyyy-MM-dd HH:mm:ss
>
> It’s not working so I have to click the publish button to get it
> published (we can’t use timed tests).
>
> But it’s a known bug and theres a jira about a new datepicker to solve
> it in a later version (https://jira.sakaiproject.org/browse/SAK-23662).
>
> Then when I go in under settings again and want to retract the test
> (after it has been published and is presented as active) I get error
> messages every time I try to retract it (as you can see in my pictures).
> And I have not enabled “automatic submission”.
>
> There is at least one jira about this
> (https://jira.sakaiproject.org/browse/SAM-1412) that I can find.
>
> *Samigo.autoSubmit.enabled=false *is set in properties.
>
> Can someone please have a look at this?
>
> Regards
>
> Anders Nordkvist
>
> System administrator
>
> University Of Skövde
>
> Sweden


More information about the i18n mailing list