View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14646 | Bug reports | [All Projects] Import/Export | public | 2019-03-13 16:03 | 2019-11-26 17:50 |
Reporter | realitix | Assigned To | cdorin | ||
Priority | none | Severity | major | ||
Status | assigned | Resolution | open | ||
Product Version | 3.15.x | ||||
Target Version | Fixed in Version | ||||
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. | ||||
Complete LimeSurvey version number (& build) | master 3.15.9 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database & DB-Version | Postgresql | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 0 | ||||
limesurvey_survey_essai_2019011610000076.lss (13,003 bytes) |
|
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 |
|
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 | dominikvitt | Note Added: 50961 | |
2019-03-13 17:21 | dominikvitt | Note Edited: 50961 | View Revisions |
2019-03-13 18:04 | DenisChenu | Note Added: 50967 | |
2019-03-19 10:10 | dominikvitt | Note Added: 51049 | |
2019-05-02 11:22 | dominikvitt | 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 | View Revisions |
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 |