View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09981 | Bug reports | Survey editing | public | 2015-10-20 10:45 | 2015-11-10 12:28 |
| Reporter | DenisChenu | Assigned To | sammousa | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Summary | 09981: LS3 : unable to delete survey(s) | ||||
| Description | 1st : trying to delete MULTIPLE survey on survey/index : return | ||||
| Steps To Reproduce | See Description | ||||
| Tags | No tags attached. | ||||
| Attached Files | deleteMultiple.html (4,670 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Internal Server Error</title>
<style type="text/css">
/*<![CDATA[*/
body {font-family:"Verdana";font-weight:normal;color:black;background-color:white;}
h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
/*]]>*/
</style>
<style>#content > #right > .dose > .dosesingle,
#content > #center > .dose > .dosesingle
{display:none !important;}</style></head>
<body>
<h1>Internal Server Error</h1>
<h2>Argument 1 passed to ls\models\ActiveRecord::deleteDependent() must
be an instance of CDbConnection, none given, called in
/var/www/ls3/protected/controllers/SurveysController.php on line 313 and
defined</h2>
<p>
An internal error occurred while the Web server was processing your request.
Please contact the webmaster to report this problem.
</p>
<p>
Thank you.
</p>
<div class="version">
2015-10-20 08:46:01 </div>
<table class="yiiLog" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;" cellpadding="2" width="100%">
<tbody><tr>
<th style="background:black;color:white;" colspan="5">
Application Log
</th>
</tr>
<tr style="background-color: #ccc;">
<th style="width:120px">Timestamp</th>
<th>Level</th>
<th>Category</th>
<th>Message</th>
</tr>
<tr style="background:#FFC0CB">
<td align="center">08:46:01.558438</td>
<td>error</td>
<td>php</td>
<td><pre>Argument 1 passed to ls\models\ActiveRecord::deleteDependent() must be an
instance of CDbConnection, none given, called in
/var/www/ls3/protected/controllers/SurveysController.php on line 313 and
defined (/var/www/ls3/protected/traits/DependentRecordTrait.php:18)
Stack trace:
#0
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/actions/CAction.php(109):
ReflectionMethod->invokeArgs()
#1
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47):
CInlineAction->runWithParamsInternal()
#2
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/CController.php(308):
CInlineAction->runWithParams()
#3
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(133):
ls\controllers\SurveysController->runAction()
#4
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/filters/CFilter.php(40):
CFilterChain->run()
#5
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/CController.php(1145):
CAccessControlFilter->filter()
#6
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/filters/CInlineFilter.php(58):
ls\controllers\SurveysController->filterAccessControl()
#7
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(130):
CInlineFilter->filter()
#8
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/filters/CFilter.php(40):
CFilterChain->run()
#9
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/CController.php(1145):
CAccessControlFilter->filter()
#10
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/filters/CInlineFilter.php(58):
ls\controllers\SurveysController->filterAccessControl()
#11
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(130):
CInlineFilter->filter()
#12
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/CController.php(291):
CFilterChain->run()
#13
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/CController.php(265):
ls\controllers\SurveysController->runActionWithFilters()
#14
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/CWebApplication.php(282):
ls\controllers\SurveysController->run()
#15
/var/www/ls3/protected/vendor/yiisoft/yii/framework/web/CWebApplication.php(141):
WebApplication->runController()
#16 /var/www/ls3/protected/core/WebApplication.php(80):
WebApplication->processRequest()
#17
/var/www/ls3/protected/vendor/yiisoft/yii/framework/base/CApplication.php(184):
WebApplication->processRequest()
#18 /var/www/ls3/protected/entry.php(51): WebApplication->run()
#19 /var/www/ls3/public/index.php(4): include()
REQUEST_URI=/ls3/index.php?r=surveys/deleteMultiple</pre></td>
</tr></tbody></table>
<!-- end of log messages --></body></html>
<!-- start log messages --> | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 90481ff82d9f189fc7d8b64ab92a | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | mysql 5 | ||||
| Server OS (if known) | debian8/linux | ||||
| Webserver software & version (if known) | ngync | ||||
| PHP Version | PHP Version 5.6.9-0+deb8u1 | ||||
|
Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=16220 |
|
|
Hi sammousa : think it fix the 1st but not Did you want to do it in js+php here ? Denis |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-10-20 10:45 | DenisChenu | New Issue | |
| 2015-10-20 10:45 | DenisChenu | Status | new => assigned |
| 2015-10-20 10:45 | DenisChenu | Assigned To | => sammousa |
| 2015-10-20 10:46 | DenisChenu | File Added: deleteMultiple.html | |
| 2015-10-21 12:17 | sammousa | Status | assigned => resolved |
| 2015-10-21 12:17 | sammousa | Resolution | open => fixed |
| 2015-10-21 12:17 | sammousa | Changeset attached | => LimeSurvey develop bf2fa607 |
| 2015-10-21 12:17 | sammousa | Note Added: 33405 | |
| 2015-10-21 12:37 | DenisChenu | Note Added: 33406 | |
| 2015-11-10 12:28 | c_schmitz | Status | resolved => closed |
| 2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |