View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15839 | Bug reports | Survey editing | public | 2020-02-10 12:01 | 2021-03-10 17:42 |
| Reporter | bismark | Assigned To | ollehar | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | duplicate | ||
| Product Version | 3.22.2 | ||||
| Summary | 15839: when moving questions to another group, gids of subquestions dont change | ||||
| Description | see images | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 3.xLTS | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | 10.1.26-MariaDB | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 7.1.8 | ||||
| duplicate of | 15229 | closed | Subquestions do not have GID changed once the parent question is moved |
|
seems to be the same issue: https://bugs.limesurvey.org/view.php?id=15229 |
|
|
ok, after executing the data integrity check, the gids have changed correctly |
|
|
@cdorin, feel free to close this one. |
|
|
no, the gids of subquestions have to change the same time when the parent question gid has changed |
|
|
PLEASE write a proper how-to-reproduce! |
|
results:
|
|
|
... to change this code?
|
|
|
Thank you @bismark, will test later! |
|
|
Question: Does gid for subquestions matter? They should be fetched through parent_qid, not gid. |
|
|
I need gid for subquestions to build proper column names (123456X12X13...) |
|
|
Good point. |
|
|
Tested on latest LS4, this seems to work. Will try LS3-LTS too. Relevant line: https://github.com/LimeSurvey/LimeSurvey/blob/master/application/controllers/admin/questiongroups.php#L714-L715 |
|
|
In LS3 it was already fixed here: https://bugs.limesurvey.org/view.php?id=15229 |
|
|
Cannot reproduce. Please try again with latest version of LS3 or LS4. |
|
|
Hello bismark, we have asked for feedback on this issue. Because we did not get an answer we assume that the issue is resolved. Thank you and best regards, ollehar |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-02-10 12:01 | bismark | New Issue | |
| 2020-02-10 12:01 | bismark | File Added: parent-question.PNG | |
| 2020-02-10 12:01 | bismark | File Added: subquestions.PNG | |
| 2020-02-10 12:12 | bismark | Note Added: 55820 | |
| 2020-02-10 12:22 | bismark | Note Added: 55821 | |
| 2020-02-10 12:24 | Mazi | Relationship added | duplicate of 15229 |
| 2020-02-10 12:24 | Mazi | Note Added: 55822 | |
| 2020-02-10 12:54 | bismark | Note Added: 55828 | |
| 2020-02-10 14:09 | ollehar | Note Added: 55830 | |
| 2020-02-10 14:09 | ollehar | Status | new => feedback |
| 2020-02-10 15:51 | bismark | Note Added: 55837 | |
| 2020-02-10 15:51 | bismark | Status | feedback => new |
| 2020-02-12 09:12 | bismark | Note Added: 55880 | |
| 2020-02-12 11:26 | ollehar | Note Added: 55884 | |
| 2020-02-12 11:27 | ollehar | Note Added: 55885 | |
| 2020-02-12 11:41 | bismark | Note Added: 55888 | |
| 2020-02-12 11:46 | ollehar | Note Added: 55891 | |
| 2020-03-20 16:44 | ollehar | Note Added: 56715 | |
| 2020-03-20 17:02 | ollehar | Note Added: 56717 | |
| 2020-03-20 17:04 | ollehar | Assigned To | => ollehar |
| 2020-03-20 17:04 | ollehar | Status | new => feedback |
| 2020-03-20 17:04 | ollehar | Note Added: 56718 | |
| 2021-03-10 17:42 | ollehar | Status | feedback => closed |
| 2021-03-10 17:42 | ollehar | Resolution | open => duplicate |
| 2021-03-10 17:42 | ollehar | Note Added: 63102 |