View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19010 | Bug reports | Translation | public | 2023-08-04 11:16 | 2023-10-23 20:38 |
Reporter | nonformality | Assigned To | gabrieljenik | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | no change required | ||
Product Version | 6.2.0-dev | ||||
Summary | 19010: Quick translation tool does not save subquestions | ||||
Description | While adding late translations to a non-active survey, I realised that the quick translation tool does not save changes to subquestions. It worked fine for question groups, and I haven't tried any of the other sections (welcome and and end texts, questions, and so on). The translations are picked up just fine when going through structure » question group » question, so I have a (more tedious) work around for now. First screenshot, having entered the French translations of subquestions, just before saving; second screenshot, after saving, with subquestions back to a potpourri of different languages. | ||||
Steps To Reproduce | Steps to reproduceUse quick translation tool to translate subquestions Expected resultWhen saving, the translated subquestions are saved Actual resultWhen saving, the translated subquestions are not saved, and instead a cacophony of existing subquestions from other languages are shown | ||||
Tags | quick translation tool, translation | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 6.2.0+230732 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 10.5.19-MariaDB-0+deb11u2 with mysqlnd 8.1.21 | ||||
Server OS (if known) | Debian 11 | ||||
Webserver software & version (if known) | Apache/2.4.56 (Debian) | ||||
PHP Version | 8.1.21 | ||||
related to | 19150 | acknowledged | Avoid going over the max_input_vars limits without noticing. |
Update: saving works for Questions, so the problem seems to be specific to subquestions |
|
Coudn't reprodice it so far. Can you please attach an LSS? |
|
The problem is
|
|
Hiya @gabrieljenik – the first, but not a wrong language: nothing get's saved when saving subquestions through the quick translation tool. |
|
Please, do you have a sample survey (LSS) so we can reproduce with the exact question type? |
|
Please, can you detail the exact steps and buttons pressed? maybe a recording?
Thanks! |
|
Did a recording [https://bugs.limesurvey.org/view_user_page.php?id=25282]@gabrieljenik – parked it here: https://cecilia.youthpolicylabs.org/s/pFmH3zm7A237X55 Let me know if you still need a LSS file to reproduce. |
|
Thanks, yes, please send the LSS Also, does it happen with a fresh new survey or only to that one? |
|
Happens with any survey unfortunately. Attached a sample LSS. |
|
Does it happen with smaller surveys? |
|
Apologies, only getting to this now @gabrieljenik. Nope, does in fact not happen with smaller surveys. |
|
Please then review the php.ini settings @DenisChenu maybe we could do something like a PHP checker on the POST that checks the max_input_vars and raises a warning/flash message? |
|
You would think that this should do: max_file_uploads 200 But I'll try :) |
|
We have some for Questions for example. But Quick translations must be really rewritten in my opinion. |
|
A checker? I was thinking like a general purpose checker. |
|
Currently : there are a hidden input append at end manually. You can not really create easily an automatic system since we don't use CHtml::endForm(); : https://www.yiiframework.com/doc/api/1.1/CHtml#endForm-detail |
|
We could have a precheck routine on PHP that count's the input fields, and compare to the settings. Also, we could have something on JS that counts fields per form. |
|
Oh ! :+1: Same for JS : send a warning before send : can be great ! |
|
Hello nonformality, |
|
As per the comments, will be closing the ticket. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-04 11:16 | nonformality | New Issue | |
2023-08-04 11:16 | nonformality | File Added: Screenshot 2023-08-04 at 11.03.15.png | |
2023-08-04 11:16 | nonformality | File Added: Screenshot 2023-08-04 at 11.03.42.png | |
2023-08-04 11:42 | nonformality | Tag Attached: translation | |
2023-08-04 11:42 | nonformality | Tag Attached: quick translation tool | |
2023-08-04 12:49 | nonformality | Note Added: 76425 | |
2023-08-04 12:49 | nonformality | Bug heat | 0 => 2 |
2023-08-07 23:17 | gabrieljenik | Assigned To | => gabrieljenik |
2023-08-07 23:17 | gabrieljenik | Status | new => acknowledged |
2023-08-09 20:51 | gabrieljenik | Note Added: 76528 | |
2023-08-09 20:51 | gabrieljenik | Bug heat | 2 => 4 |
2023-08-09 20:53 | gabrieljenik | Note Added: 76529 | |
2023-08-09 20:53 | gabrieljenik | Status | acknowledged => feedback |
2023-08-11 11:51 | nonformality | Note Added: 76539 | |
2023-08-11 11:51 | nonformality | Status | feedback => assigned |
2023-08-11 21:20 | gabrieljenik | Note Added: 76544 | |
2023-08-14 16:47 | gabrieljenik | Note Added: 76577 | |
2023-08-14 16:47 | gabrieljenik | Status | assigned => feedback |
2023-09-08 14:01 | nonformality | Note Added: 76919 | |
2023-09-08 14:01 | nonformality | Status | feedback => assigned |
2023-09-08 14:01 | nonformality | Issue Monitored: nonformality | |
2023-09-08 14:01 | nonformality | Bug heat | 4 => 6 |
2023-09-08 14:47 | gabrieljenik | Note Added: 76921 | |
2023-09-08 14:48 | gabrieljenik | Status | assigned => feedback |
2023-09-16 15:53 | nonformality | Note Added: 77082 | |
2023-09-16 15:53 | nonformality | File Added: limesurvey_survey_638248.lss | |
2023-09-16 15:53 | nonformality | Status | feedback => assigned |
2023-09-18 22:36 | gabrieljenik | Note Added: 77147 | |
2023-09-26 18:43 | nonformality | Note Added: 77349 | |
2023-09-27 14:09 | gabrieljenik | Assigned To | gabrieljenik => |
2023-09-27 14:09 | gabrieljenik | Status | assigned => feedback |
2023-09-27 14:09 | gabrieljenik | Note Added: 77368 | |
2023-09-27 14:47 | nonformality | Note Added: 77376 | |
2023-09-27 14:47 | nonformality | Status | feedback => new |
2023-09-27 15:14 | DenisChenu | Note Added: 77379 | |
2023-09-27 15:14 | DenisChenu | Bug heat | 6 => 8 |
2023-09-28 16:48 | gabrieljenik | Note Added: 77410 | |
2023-09-28 16:55 | DenisChenu | Note Added: 77411 | |
2023-09-28 18:02 | gabrieljenik | Note Added: 77422 | |
2023-09-28 18:20 | DenisChenu | Note Added: 77428 | |
2023-10-05 00:00 | gabrieljenik | Issue cloned: 19150 | |
2023-10-05 00:00 | gabrieljenik | Relationship added | related to 19150 |
2023-10-05 00:01 | gabrieljenik | Assigned To | => gabrieljenik |
2023-10-05 00:01 | gabrieljenik | Status | new => feedback |
2023-10-05 00:01 | gabrieljenik | Note Added: 77512 | |
2023-10-23 20:38 | gabrieljenik | Status | feedback => closed |
2023-10-23 20:38 | gabrieljenik | Resolution | open => no change required |
2023-10-23 20:38 | gabrieljenik | Note Added: 77893 |