View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17991 | Bug reports | Import/Export | public | 2022-03-25 10:18 | 2022-05-20 09:50 |
Reporter | Mazi | Assigned To | gabrieljenik | ||
Priority | normal | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.25.20 | ||||
Summary | 17991: Importing a question from the "List questions" menu fails with 400 error | ||||
Description | Importing a question when creating a new question at the "Structure" menu works fine, link structure is like this: When going to the "List questions" screen and clicking "Import question" button on top, I get this error: URL is different: | ||||
Steps To Reproduce | Steps to reproduceImport a question at the "List question" screen Expected resultQuestion import screen should load. Actual result400 server error is shown. | ||||
Tags | No tags attached. | ||||
Bug heat | 34 | ||||
Complete LimeSurvey version number (& build) | Version 3.28.3+220315 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL 5 | ||||
Server OS (if known) | Ubuntu 18 | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 7.3.33 | ||||
has duplicate | 18005 | closed | gabrieljenik | impossible to upload a .lsq (question export file) |
has duplicate | 18131 | closed | gabrieljenik | Import question throws CHttpException Your request is invalid error |
Hello Mazi, |
|
@galads, this is still an issue at latest Version 3.28.6+220412. You just need to follow the 2 steps outlined above to find out. |
|
PR: https://github.com/LimeSurvey/LimeSurvey/pull/2349 This is just a workaround. We still need to review if the change below (making the groupid mandatory) is still necesarry, so we can review a more integral approach. e877a50#diff-8ba52d76c0ab5c25746214e40fd926cfdb0ae2024bd7bcdd90f1035014f5be12R141 If not necessary, the urls that point to the screen may need some reviewal in the order of the parameters and the ones being sent. |
|
Inside version 3.27.34 also structure "add question > import" get broken after some click. My procedure was:
|
|
When you lose "/gid/319" query string value, if you force it by appending it in the url it's missing, when you land at the import controller, gid become groupid: Maybe it's relevant |
|
@tassoman Nice digging. Can I ask you to please open a new ticket? |
|
filed in 18089 |
|
Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33475 |
|
Fixed in Release 3.28.11+220517 |
|
LimeSurvey: 3.x-LTS 02783b41 2022-05-10 14:13 Committer: GitHub Details Diff |
Fixed issue 17991: Importing a question from the "List questions" menu fails with 400 error (#2349) Co-authored-by: encuestabizdevgit <devgit@encuesta.biz> |
Affected Issues 17991 |
|
mod - application/controllers/admin/questions.php | Diff File | ||
mod - application/views/admin/survey/surveybar_addgroupquestion.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-25 10:18 | Mazi | New Issue | |
2022-03-25 12:57 | galads | Assigned To | => galads |
2022-03-25 12:57 | galads | Status | new => acknowledged |
2022-04-12 10:30 | galads | Note Added: 69003 | |
2022-04-12 10:30 | galads | Bug heat | 0 => 2 |
2022-04-12 10:30 | galads | Status | acknowledged => feedback |
2022-04-12 11:22 | Mazi | Note Added: 69004 | |
2022-04-12 11:22 | Mazi | Bug heat | 2 => 4 |
2022-04-12 11:22 | Mazi | Status | feedback => assigned |
2022-04-13 09:11 | galads | Assigned To | galads => gabrieljenik |
2022-04-13 09:11 | galads | Priority | none => normal |
2022-04-13 15:14 | gabrieljenik | Note Added: 69056 | |
2022-04-13 15:14 | gabrieljenik | Bug heat | 4 => 6 |
2022-04-13 15:14 | gabrieljenik | Status | assigned => ready for testing |
2022-04-21 21:31 | gabrieljenik | Relationship added | has duplicate 18005 |
2022-04-21 21:31 | gabrieljenik | Bug heat | 6 => 12 |
2022-05-04 16:23 | guest | Bug heat | 12 => 18 |
2022-05-04 16:24 | tassoman | Issue Monitored: tassoman | |
2022-05-04 16:24 | tassoman | Bug heat | 18 => 20 |
2022-05-04 16:41 | tassoman | Note Added: 69386 | |
2022-05-04 16:41 | tassoman | Bug heat | 20 => 22 |
2022-05-04 16:52 | tassoman | Note Added: 69387 | |
2022-05-05 15:05 | gabrieljenik | Note Added: 69424 | |
2022-05-06 11:36 | tassoman | Note Added: 69469 | |
2022-05-10 12:17 | gabrieljenik | Changeset attached | => LimeSurvey 3.x-LTS 02783b41 |
2022-05-10 12:17 | gabrieljenik | Note Added: 69539 | |
2022-05-10 12:17 | gabrieljenik | Resolution | open => fixed |
2022-05-16 11:23 | LimeBot | Note Added: 69662 | |
2022-05-16 11:23 | LimeBot | Status | ready for testing => closed |
2022-05-16 11:23 | LimeBot | Bug heat | 22 => 24 |
2022-05-20 09:50 | DenisChenu | Relationship added | has duplicate 18131 |
2022-05-20 09:50 | DenisChenu | Bug heat | 24 => 34 |