View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19266 | Bug reports | Survey editing | public | 2023-11-22 17:04 | 2024-11-19 18:14 |
Reporter | mferraz | Assigned To | tibor.pacalat | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Summary | 19266: ArgumentCountError 8 arguments are required, 6 given on closing a survey | ||||
Description | Hi Recently, we had a user report that couldn't close a survey, but as a super admin, I could. ArgumentCountError
66 68 69 71 76 <p class="mt-4"> 77 <?php et('Important: Export your responses before deactivating your survey.') ?> 78 <a href='<?php echo $this->createUrl('admin/export/sa/exportresults/surveyid/' . $surveyid) ?>'> 79 <?php eT("See details.") ?> Stack Trace #0 – /opt/limesurvey/application/views/surveyAdministration/stopSurveyview.php(67): printf("As %s respostas %s ficaram %sinacessíveis %s. %sA tabela de res...", "", " ", "", ...) 62 <h5 class="card-title text-danger"><?php eT("Deactivation"); ?></h5> 63 </div> 64 <div class="card-body px-0 d-flex"> 65 66 68 69 71 #3 + /opt/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(872): CBaseController->renderFile("/opt/limesurvey/application/views/surveyAdministration/stopSurve...", array("surveyid" => 251965, "dbprefix" => "lime", "date" => "20231122154836", "sNewSurveyTableName" => "lime_old_survey_251965_20231122154836"), true) #4 – /opt/limesurvey/application/views/surveyAdministration/deactivateSurvey_view.php(6): CController->renderPartial("stopSurveyview", array("surveyid" => 251965, "dbprefix" => "lime", "date" => "20231122154836", "sNewSurveyTableName" => "lime_old_survey_251965_20231122154836")) 01 02 <div class='side-body <?php echo getSideBodyClass(false); ?>'> 03 <?php if (isset($step1)) { 04 05 $this->renderPartial('stopSurvey_view', [ 06 'surveyid' => $surveyid, 07 'dbprefix' => $dbprefix, 08 'date' => $date, 09 'sNewSurveyTableName' => $sNewSurveyTableName ?? null 10 ]); 11 } elseif (isset($nostep)) { //todo: why no step? at least a message would be nice...?> | ||||
Steps To Reproduce | Steps to reproduceCreate a survey and close it with a standard user. Expected resultsurvey to close Actual resulterror 500 | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 6.3.6+231120 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | PostgreSQL 13+225 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.1 | ||||
related to | 19238 | closed | tibor.pacalat | unable to stop the questionnaire |
Which language for the admin interface does the user in question use? We had a similar issue reported today, I just linked it to this ticket. |
|
Thank you for your quick reply. It's portuguese |
|
The issue was in translation string, should be fixed soon. |
|
This has been fixed, I tested it on my cloud instance. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-22 17:04 | mferraz | New Issue | |
2023-11-22 17:16 | tibor.pacalat | Relationship added | related to 19238 |
2023-11-22 17:18 | tibor.pacalat | Note Added: 78653 | |
2023-11-22 17:18 | tibor.pacalat | Bug heat | 0 => 2 |
2023-11-22 17:18 | tibor.pacalat | Assigned To | => tibor.pacalat |
2023-11-22 17:18 | tibor.pacalat | Status | new => feedback |
2023-11-22 17:24 | mferraz | Note Added: 78654 | |
2023-11-22 17:24 | mferraz | Bug heat | 2 => 4 |
2023-11-22 17:24 | mferraz | Status | feedback => assigned |
2023-11-23 16:15 | tibor.pacalat | Note Added: 78682 | |
2023-11-28 16:38 | tibor.pacalat | Status | assigned => resolved |
2023-11-28 16:38 | tibor.pacalat | Resolution | open => fixed |
2023-11-28 16:38 | tibor.pacalat | Note Added: 78780 | |
2024-11-19 18:14 | c_schmitz | Status | resolved => closed |