View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 14646 | Bug reports | Import/Export | public | 2019-03-13 16:03 | 2020-03-11 14:13 |
| Reporter | realitix | Assigned To | cdorin | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 3.15.x | ||||
| Summary | 14646: Encoding error when importing a survey | ||||
| Description | Hello, I got an error when I try to import a survey exported from version 2.0.5. When you enable convert links, it works because the group name pass through preg_replace with the /u PCRE modifier and that fixes the UTF8 string. I'm sending the pull request. | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | master 3.15.9 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | Postgresql | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 0 | ||||
|
The SQL Exeption is the same as this bug: https://bugs.limesurvey.org/view.php?id=14133 |
|
|
Here the pull request: https://github.com/LimeSurvey/LimeSurvey/pull/1244 |
|
|
Question : why only the group name ? |
|
|
Hello Denis, |
|
|
It looks like proposed PR get rid of the SQL error, but it doesn't have any effect on group name.
" |
|
|
My issue is more :
|
|
|
@realitix: |
|
|
@realitix: |
|
|
Hello,
Step to reproduce:
|
|
|
Arg, usage of strlen and not mb_strlen (and mb_substr) : https://github.com/LimeSurvey/LimeSurvey/blob/b34f839d202ba0061412b5bd313d08e1d34d3309/application/helpers/admin/import_helper.php#L998 @realitix : can you check if it's fix the issue ? |
|
|
I just tested on master and I still get an error: CDbCommand n'a pas pu exécuter la commande SQL: SQLSTATE[22021]: Character not in repertoire: 7 ERROR: invalid byte sequence for encoding "UTF8": 0xc3 0x20 |
|
|
This version of LimeSurvey is not longer supported. Please check so that the issue is fixed in a more recent version of LimeSurvey. If it's not, reopen this bug report. Thank you. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-03-13 16:03 | realitix | New Issue | |
| 2019-03-13 16:03 | realitix | File Added: limesurvey_survey_essai_2019011610000076.lss | |
| 2019-03-13 16:03 | realitix | Note Added: 50950 | |
| 2019-03-13 16:07 | realitix | Note Added: 50951 | |
| 2019-03-13 16:27 | DenisChenu | Note Added: 50953 | |
| 2019-03-13 16:52 | realitix | Note Added: 50955 | |
| 2019-03-13 17:20 |
|
Note Added: 50961 | |
| 2019-03-13 17:21 |
|
Note Edited: 50961 | |
| 2019-03-13 18:04 | DenisChenu | Note Added: 50967 | |
| 2019-03-19 10:10 |
|
Note Added: 51049 | |
| 2019-05-02 11:22 |
|
Note Added: 51720 | |
| 2019-05-15 10:43 | realitix | Note Added: 51942 | |
| 2019-05-15 10:49 | DenisChenu | Note Added: 51943 | |
| 2019-05-15 10:50 | DenisChenu | Note Edited: 51943 | |
| 2019-05-15 11:16 | realitix | Note Added: 51944 | |
| 2019-11-26 17:50 | cdorin | Assigned To | => cdorin |
| 2019-11-26 17:50 | cdorin | Status | new => assigned |
| 2020-03-11 14:13 | c_schmitz | Status | assigned => closed |
| 2020-03-11 14:13 | c_schmitz | Resolution | open => unable to reproduce |
| 2020-03-11 14:13 | c_schmitz | Note Added: 56409 |