View Issue Details

This bug affects 1 person(s).
 16
IDProjectCategoryView StatusLast Update
04322Bug reportsSurvey editingpublic2010-05-21 19:05
Reporteruser8047Assigned Totpartner  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.90b 
Summary04322: javascript error after logging in in Admin with Dutch language
Description

After logging into 1.90beta's admin-interface with the language set to either Dutch or Dutch informal, you immediately get the following Javascript error (see below).
The English language works just fine, I haven't tried any other languages yet. (The error message is from Dutch, when set to dutch informal the error is in the Dutch informal.js file obviously)

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Timestamp: Sun, 9 May 2010 18:11:19 UTC

Message: Object expected
Line: 3
Char: 1
Code: 0
URI: http://www.rowdyengeesje.nl/limesurvey/scripts/jquery/locale/ui.datepicker-nl.js

Steps To Reproduce

Log into admin with language set to either Dutch or Dutch Informal.

TagsNo tags attached.
Bug heat16
Complete LimeSurvey version number (& build)8691
I will donate to the project if issue is resolved
BrowserIE 8
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5

Relationships

has duplicate 04341 closeduser372 Locale datepicker: jquery is not defined 

Users monitoring this issue

There are no users monitoring this issue.

Activities

user8047

2010-05-09 20:36

  ~11737

I did some additional checking and compared the IT and the NL version of the datepicker file.
The error is present in both languages.
The NL version uses this:
$.datepicker.regional.nl = {
The IT version uses this:
$.datepicker.regional['it'] = {
But that does not seem to be the issue. I checked more language-files and both writings appear randomly. But both times the error appears.
But then again, I'm no JS programmer, I just thought I'd try to gather as much info as possible.

Mazi

Mazi

2010-05-10 17:19

updater   ~11750

Last edited: 2010-05-10 17:20

I can reproduce the error at IE8.

This sounds like this problem, just at another language: http://limesurvey.svn.sourceforge.net/viewvc/limesurvey?view=rev&revision=8685

user8047

2010-05-10 19:22

  ~11755

Last edited: 2010-05-10 19:35

Doesn't seem to be the same.
It seems that perhaps there is a new version of jQuery in the 'main' code of Limesurvey, but the regional settings files are still of an older version?

Opera shows these details in its JS error console:

JavaScript - http://www.rowdyengeesje.nl/limesurvey/admin/admin.php

Uncaught exception: ReferenceError: Undefined variable: jQuery
Error thrown at line 3, column 0 in http://www.rowdyengeesje.nl/limesurvey/scripts/jquery/locale/ui.datepicker-nl.js:
jQuery(function($){

Edit:
Did some more testing.
Verified error is not present in 1.87.
Also, I tested more languages and it seems the bug is present in all languages, so it is perhaps indeed caused by what I described above.

tpartner

tpartner

2010-05-13 02:13

partner   ~11802

Fixed in revision 8714.

The call for the language-specific date picker was being generated before the call for jQuery or jQueryUI and so failed.

Thanks for the detailed report rowdy.

lemeur

lemeur

2010-05-21 19:05

developer   ~11926

1.90 beta3 release

Issue History

Date Modified Username Field Change
2010-05-09 20:18 user8047 New Issue
2010-05-09 20:18 user8047 Status new => assigned
2010-05-09 20:18 user8047 Assigned To => user372
2010-05-09 20:36 user8047 Note Added: 11737
2010-05-10 17:19 Mazi Note Added: 11750
2010-05-10 17:20 Mazi Assigned To user372 => tpartner
2010-05-10 17:20 Mazi Note Edited: 11750
2010-05-10 19:22 user8047 Note Added: 11755
2010-05-10 19:35 user8047 Note Edited: 11755
2010-05-13 02:13 tpartner Note Added: 11802
2010-05-13 02:13 tpartner Status assigned => resolved
2010-05-13 02:13 tpartner Resolution open => fixed
2010-05-18 09:01 mdekker Relationship added has duplicate 04341
2010-05-21 19:05 lemeur Note Added: 11926
2010-05-21 19:05 lemeur Status resolved => closed
2010-10-25 00:17 c_schmitz Category Survey Design => Survey design
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing