View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19433 | Bug reports | Usability/user experience | public | 2024-02-19 14:10 | 2024-02-23 11:52 |
Reporter | c_schmitz | Assigned To | |||
Priority | none | Severity | minor | ||
Status | new | Resolution | open | ||
Summary | 19433: Integrity check should fix automatically question/subquestion/answeroption/groups with invalid question order | ||||
Description | When running the integrity check and you have very old surveys in your database it asks you to fix order manually. This fix should happen automatically if you run the check. Asking the user to go to each element and fix it manually is annoying and cumbersome. | ||||
Steps To Reproduce | Steps to reproduceRun integrity check while have a survey that has no proper question order, subquestion order or answer option order. Expected resultProblems are fixed and I get information what was fixed with a link to check. Actual resultI get a list of things I need to check manually with a link and have to open each link to fix it. | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 5.4.x | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | n/a | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | n/a | ||||
Example screenshot of current behaviour |
|
And sometimes : it can be done (activated surveys) |
|
@c_schmitz |
|
@mfavetti Yes, by title would be the order that would imho make most sense, because that is the way it is currently presented when you run the survey and the order is not clear. For groups, that is a good question. |
|
It can be because the order are badly set : same for 2 or some lack inside Q01 : order : 0 Then : reorder by For group : gid because it was set by order of time set. No ? |
|
Denis, I agree to your first statement regarding question order. For groups you should pull the way the database gives it to you with the normal order by sortorder, then re-numerate like that, because that is also the way it is presented on survey taking. |
|
+1 : then findAll(['condition" => "sid = :sid",'order" => 'group_order ASC') and save it like it was find But maybe (then) same for Question |
|
As said for question by : Sort Order as primary, then Question code as secondary in the query. Question groups don't have codes, so we cannot do the same there. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-19 14:10 | c_schmitz | New Issue | |
2024-02-19 14:11 | c_schmitz | Description Updated | |
2024-02-19 14:12 | c_schmitz | Note Added: 79539 | |
2024-02-19 14:12 | c_schmitz | File Added: Screenshot 2024-02-19 at 14-03-13 LimeSurvey Cloud.png | |
2024-02-19 14:12 | c_schmitz | Bug heat | 0 => 2 |
2024-02-19 14:12 | c_schmitz | Note Edited: 79539 | |
2024-02-19 14:31 | DenisChenu | Note Added: 79540 | |
2024-02-19 14:31 | DenisChenu | Bug heat | 2 => 4 |
2024-02-23 10:06 | mfavetti | Note Added: 79595 | |
2024-02-23 10:06 | mfavetti | Bug heat | 4 => 6 |
2024-02-23 10:08 | mfavetti | Issue Monitored: mfavetti | |
2024-02-23 10:08 | mfavetti | Bug heat | 6 => 8 |
2024-02-23 10:11 | c_schmitz | Note Added: 79597 | |
2024-02-23 10:13 | DenisChenu | Note Added: 79598 | |
2024-02-23 10:20 | c_schmitz | Note Added: 79599 | |
2024-02-23 10:26 | DenisChenu | Note Added: 79600 | |
2024-02-23 11:52 | c_schmitz | Note Added: 79608 |