View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04523 | Bug reports | Survey taking | public | 2010-08-09 09:43 | 2010-08-11 10:53 |
Reporter | CarbonaCat | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90 | ||||
Fixed in Version | 1.90+ | ||||
Summary | 04523: Javascript error when executing a survey in the english language | ||||
Description | The file ui.datepicker-XX.js is always included. XX is replaced by the language code. The issue is that on some apache configurations, if a file doesn't exist but similar files do, it will return a "300 Multiple Choices". The browser interpret the body of the response and on IE7, Chrome and possibly FireFox it triggers an error. It is especially bad on IE7 if the configuration shows each JS errors. On the best case, it still triggers a 404 File not found error. | ||||
Steps To Reproduce | I haven't figured the exact configuration to reproduce the JS error. | ||||
Additional Information | To correct it, in quanda.php, replace the line 1665 $js_header_includes[] = '/scripts/jquery/locale/ui.datepicker-'.$clang->langcode.'.js'; by those two lines: if ($clang->langcode !== 'en') | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 9040 | ||||
I will donate to the project if issue is resolved | |||||
Browser | Chrome 5.0, IE7 | ||||
Database type & version | MySQL5 | ||||
Server OS (if known) | Windows XP SP2 & Linux | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 5.3 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-08-09 09:43 | CarbonaCat | New Issue | |
2010-08-10 10:48 | c_schmitz | Assigned To | => c_schmitz |
2010-08-10 10:48 | c_schmitz | Status | new => assigned |
2010-08-10 10:48 | c_schmitz | Note Added: 12596 | |
2010-08-10 10:48 | c_schmitz | Status | assigned => resolved |
2010-08-10 10:48 | c_schmitz | Fixed in Version | => 1.90+ |
2010-08-10 10:48 | c_schmitz | Resolution | open => fixed |
2010-08-11 10:53 | c_schmitz | Status | resolved => closed |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |