View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18131Bug reportsSurvey editingpublic2022-05-20 09:51
Reporterritapas Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionduplicate 
Product Version3.28.x 
Summary18131: Import question throws CHttpException Your request is invalid error
Description

Import question inside List questions windows trigger CHttpException Your request is invalid error.

Steps To Reproduce

Steps to reproduce

create a survey with example question group and question.
Goto list questions window.
Press Import a question button

Expected result

import question interface shown

Actual result

CHttpException

Your request is invalid.

/var/www/limesurvey/framework/web/CController.php(337)

325 return $_GET;
326 }
327
328 /
329 This method is invoked when the request parameters do not satisfy the requirement of the specified action.
330
The default implementation will throw a 400 HTTP exception.
331 @param CAction $action the action being executed
332
@since 1.1.7
333 @throws CHttpException
334
/
335 public function invalidActionParams($action)
336 {
337 throw new CHttpException(400,Yii::t('yii','Your request is invalid.'));
338 }
339
340 /

341 Postprocesses the output generated by {@link render()}.
342
This method is invoked at the end of {@link render()} and {@link renderText()}.
343 If there are registered client scripts, this method will insert them into the output
344
at appropriate places. If there are dynamic contents, they will also be inserted.
345 This method may also save the persistent page states in hidden fields of
346
stateful forms in the page.
347 @param string $output the output generated by the current action
348
@return string the output that has been processed.
349 */

Stack Trace
#0
+
/var/www/limesurvey/framework/web/CController.php(309): CController->invalidActionParams(questions)
#1
+
/var/www/limesurvey/framework/web/CController.php(286): CController->runAction(questions)
#2
+
/var/www/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(questions, array())
#3

/var/www/limesurvey/application/controllers/AdminController.php(165): CController->run("questions")

160 $this->redirect(array('/admin/authentication/sa/login'));
161 }
162 }
163 }
164
165 return parent::run($action);
166 }
167
168 /*
169
Routes all the actions to their respective places
170 *

#4
+
/var/www/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("questions")
#5
+
/var/www/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/questions/sa/importview")
#6
+
/var/www/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#7

/var/www/limesurvey/index.php(194): CApplication->run()

189 require_once APPPATH . 'core/LSYii_Application' . EXT;
190
191 $config = require_once(APPPATH . 'config/internal' . EXT);
192
193 Yii::$enableIncludePath = false;
194 Yii::createApplication('LSYii_Application', $config)->run();
195
196 / End of file index.php /
197 / Location: ./index.php /

TagsNo tags attached.
Attached Files
immagine.png (26,630 bytes)   
immagine.png (26,630 bytes)   
immagine-2.png (97,502 bytes)   
immagine-2.png (97,502 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)3.28.8 (build 220426)
I will donate to the project if issue is resolvedNo
BrowserMozilla Firefox
Database type & versionphp-mysql-5.4.16
Server OS (if known)Red Hat Enterprise Linux Server release 7.5 (Maipo)
Webserver software & version (if known)httpd-2.4.6-80
PHP Versionrh-php71

Relationships

duplicate of 17991 closedgabrieljenik Importing a question from the "List questions" menu fails with 400 error 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-05-19 19:16

developer   ~69875

I can not reproduce on last git version
/index.php?r=admin/questions/sa/importview&surveyid=282641 for the link. Same for you ?

ritapas

ritapas

2022-05-20 09:41

reporter   ~69900

Sorry, but I currently have no way to have a working installation from the last git version.

DenisChenu

DenisChenu

2022-05-20 09:50

developer   ~69901

Got it … fixed in last release
https://github.com/LimeSurvey/LimeSurvey/blob/8fd619d8120d8feb73f13c16abdaaaf8ac676241/docs/release_notes.txt#L38

Issue History

Date Modified Username Field Change
2022-05-19 17:26 ritapas New Issue
2022-05-19 17:26 ritapas File Added: immagine.png
2022-05-19 17:26 ritapas File Added: immagine-2.png
2022-05-19 19:16 DenisChenu Note Added: 69875
2022-05-19 19:16 DenisChenu Bug heat 0 => 2
2022-05-20 09:41 ritapas Note Added: 69900
2022-05-20 09:41 ritapas Bug heat 2 => 4
2022-05-20 09:50 DenisChenu Note Added: 69901
2022-05-20 09:50 DenisChenu Relationship added duplicate of 17991
2022-05-20 09:51 DenisChenu Assigned To => gabrieljenik
2022-05-20 09:51 DenisChenu Status new => closed
2022-05-20 09:51 DenisChenu Resolution open => duplicate