Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002318Openbravo ERPB. User interfacepublic2007-11-27 15:482008-11-06 09:28
villind 
villind 
normalminoralways
closedfixed 
5
 
2.40alpha-r2 
Core
No
0002318: JS calendar component does't work with Finnish translation
If messages.js is not translated, the calendar component does not work.


Log from firebug:

weekend has no properties
[Break on this error] if (weekend.indexOf(realday.toString()) != -1) {
calendar.js (line 1534)


Environment:
 * Firefox 2
 * Postgresql
 * Partial Finnish translation

OBN
depends on backport 0004157 closed cromero JS calendar component does't work with Finnish translation 
Issue History
2008-06-24 09:41networkbTag Attached: OBN
2008-06-24 17:35cromeroStatusresolved => new
2008-06-24 17:35cromeroResolutionfixed => open
2008-06-24 17:36cromeroFixed in Version2.40alpha-r2 =>
2008-06-24 17:36cromeroStatusnew => scheduled
2008-06-24 17:36cromeroStatusscheduled => resolved
2008-06-24 17:36cromerosvn_revision => 2931
2008-06-24 17:36cromeroResolutionopen => fixed
2008-06-24 17:38cromeroStatusresolved => new
2008-06-24 17:38cromeroResolutionfixed => open
2008-06-24 17:39cromeroFixed in Version => 2.40alpha-r2
2008-06-24 17:39cromeroDescription Updated
2008-06-24 17:39cromeroStatusnew => scheduled
2008-06-24 17:39cromeroStatusscheduled => resolved
2008-06-24 17:39cromeroResolutionopen => fixed
2008-06-30 13:06svnbotCheckin
2008-06-30 13:06svnbotNote Added: 0008071
2008-06-30 13:06svnbotsvn_revision2931 => 5486
2008-11-06 09:28psarobeRegression testing => No
2008-11-06 09:28psarobeStatusresolved => closed
2008-11-06 09:28psarobeNote Added: 0010019

Notes
(0005907)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1839520 [^]
(0002725)
dbaz   
2008-01-28 19:07   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=1500873
Originator: NO

messages.js is a static file independiently of the language.
(0002726)
villind   
2008-03-14 16:45   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=61737
Originator: YES

The real reason for this issue was that the Finnish localization of the calendar component was missing couple of properties:

These need to be added in calendar-fi.js:

Calendar._TT["WEEKEND"] = "0,6";
Calendar._TT["DAY_FIRST"] = "Näytä %s ensimmäisenä";
(0002727)
villind   
2008-03-14 16:50   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=61737
Originator: YES

We have tested this bug in the subversion repository and it has just been fixed.

Note that the only supported version of the application is the one in subversion. So it is possible that this was a bug in a previous version that is already fixed.
(0002728)
villind   
2008-03-14 16:50   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=61737
Originator: YES

Fixed in trunk r2931.
(0002729)
psarobe   
2008-06-03 17:32   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=1500703
Originator: NO

Could you please give me the steps to reproduce the problem to verify if it is really fixed?

QA team
(0002730)
villind   
2008-06-03 22:29   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=61737
Originator: YES

To verify you need to:

 1. Import Finnish translation
 2. Select Finnish language
 3. Try to open calendar component in some window
 4. If it works, then it is fixed.

Regards,
Ville
(0002731)
psarobe   
2008-06-04 11:22   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=1500703
Originator: NO

Hi,

I cannot find the language pack in Sourceforge. Do I have to get it from https://dev.openbravo.com/websvn/localization/translations/fi_FI/branches/2.3x/??? [^]

Thanks
(0002732)
villind   
2008-06-04 21:01   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=61737
Originator: YES

Hi,

we have not released the language pack as there was this calendar problem, but you can find the translation for 2.3x series from the svn repository.

(0008071)
svnbot   
2008-06-30 13:06   
Repository: openbravo
Revision: 5486
Author: cromeroherrero
Date: 2008-06-30 13:06:50 +0200 (Mon, 30 Jun 2008)

Fixed bug 2318: JS calendar component does't work with Finnish translation

---
U trunk/web/js/jscalendar/lang/calendar-fi.js
---

https://dev.openbravo.com/websvn/openbravo/?rev=5486&sc=1 [^]
(0010019)
psarobe   
2008-11-06 09:28   
Cannot verify because we don't have Finnish translation