View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06076 | Bug reports | Other | public | 2012-05-09 16:10 | 2012-05-10 13:13 |
| Reporter | Nickko | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 1.92+ | ||||
| Summary | 06076: Simple quote block attribut importation | ||||
| Description | Problem describe by a user on the French forum. A user try to complete question with token table attribute with this code : When an attribute contain an simple quote like "rue de l'église" (church street in Fhench), javascript report an exception (see join screenshoot). Simple quote is frequent in French. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 120412 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | IE, Firefox, Chrome and Opera | ||||
| Database type & version | MySQL (i don't know version) | ||||
| Server OS (if known) | I don't know | ||||
| Webserver software & version (if known) | PHP & Apache | ||||
| PHP Version | (i don't know version) | ||||
|
Problème résolu par Denis : http://www.limesurvey.org/fr/forum/french-forum/79928-probleme-de-mise-a-jour-de-donnees-issue-dune-base-dans-un-questionnaire#80066 use this code : Replace ' by " into Javascript code. |
|
|
Hwere does the code come from? Is that custom Javascript code? |
|
|
It's a workaround supplied by Denis |
|
|
I think general that's not a bug. You have to make sure to apply proper quoting to the value by using EM functions. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-05-09 16:10 | Nickko | New Issue | |
| 2012-05-09 16:10 | Nickko | File Added: tmpsrv.png | |
| 2012-05-09 18:28 | Nickko | Note Added: 18645 | |
| 2012-05-09 18:28 | Nickko | Issue Monitored: Nickko | |
| 2012-05-10 12:27 | c_schmitz | Note Added: 18653 | |
| 2012-05-10 12:27 | c_schmitz | Assigned To | => c_schmitz |
| 2012-05-10 12:27 | c_schmitz | Status | new => feedback |
| 2012-05-10 13:07 | Nickko | Note Added: 18655 | |
| 2012-05-10 13:07 | Nickko | Status | feedback => assigned |
| 2012-05-10 13:13 | c_schmitz | Note Added: 18656 | |
| 2012-05-10 13:13 | c_schmitz | Status | assigned => closed |
| 2012-05-10 13:13 | c_schmitz | Resolution | open => no change required |