View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03773 | Bug reports | Conditions | public | 2009-10-14 14:54 | 2009-11-13 16:40 |
Reporter | steven8000 | Assigned To | c_schmitz | ||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.86 | ||||
Fixed in Version | 1.87RC1 | ||||
Summary | 03773: limesurvey change javascript code | ||||
Description | When i write an if statement and i use the syntact "or" => || (if ((i==0)||(i>10))...) The code is placed in the code editor of a group or question. In my config file i have | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 7697 | ||||
I will donate to the project if issue is resolved | |||||
Browser | IE 6 | ||||
Database type & version | MSSQL 2005 | ||||
Server OS (if known) | Windows 2003 SP 2 | ||||
Webserver software & version (if known) | Windows 2003 SP 2 | ||||
PHP Version | 5.2 | ||||
Looks like a problem with Windows / MSSQL. Or is || saved when entered in a textfield and not in the sourcecode? Did you try a different browser? On 7679 and PHP 5.2.11 / Apache 1.3 / MySQL 5 I cannot reproduce the issue with Firefox 3.5.3. |
|
@ Lemeur: Do you have an idea? |
|
The bug is inside the Database Abstraction layer we use (adodb). In the mssql driver, all double pipes (string concatenation operator in SQL) are replaced by '+' characters. If you want a quick and very dirty workaround, just comment the following line: In the following files:
I would however not recommend this workaround for production use: it would be better to fix adodb, but I'm not able to to so. Carsten, what do you think ? |
|
There are several database layers for MSSQL to use. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-10-14 14:54 | steven8000 | New Issue | |
2009-10-14 14:54 | steven8000 | Status | new => assigned |
2009-10-14 14:54 | steven8000 | Assigned To | => user372 |
2009-10-14 14:54 | steven8000 | LimeSurvey build number | => 7697 |
2009-10-14 14:54 | steven8000 | Browser | => IE 6 |
2009-10-14 14:54 | steven8000 | Database & DB-Version | => MSSQL 2005 |
2009-10-14 14:54 | steven8000 | Operating System (Server) | => Windows 2003 SP 2 |
2009-10-14 14:54 | steven8000 | Webserver | => Windows 2003 SP 2 |
2009-10-14 14:54 | steven8000 | PHP Version | => 5.2 |
2009-10-14 22:03 | jelo | Note Added: 09793 | |
2009-10-14 23:53 |
|
Assigned To | user372 => lemeur |
2009-10-14 23:54 |
|
Note Added: 09794 | |
2009-10-24 15:14 | lemeur | Assigned To | lemeur => c_schmitz |
2009-10-24 15:14 | lemeur | Note Added: 09852 | |
2009-10-24 15:14 | lemeur | Note Edited: 09852 | |
2009-10-24 15:14 | lemeur | Note Edited: 09852 | |
2009-11-01 23:17 | c_schmitz | Note Added: 09941 | |
2009-11-01 23:18 | c_schmitz | Status | assigned => feedback |
2009-11-01 23:32 | c_schmitz | Status | feedback => resolved |
2009-11-01 23:32 | c_schmitz | Fixed in Version | => 1.87RC1 |
2009-11-01 23:32 | c_schmitz | Resolution | open => fixed |
2009-11-13 16:40 | c_schmitz | Status | resolved => closed |