View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 07266 | Bug reports | Survey taking | public | 2013-02-04 15:10 | 2013-03-02 16:34 |
| Reporter | helper | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Fixed in Version | 2.00+ | ||||
| Summary | 07266: Unable to preview an inactive survey group with multiple numeric slider | ||||
| Description | See attached error. Preview at the question level or at the survey level seems fine. | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
| Attached Files | PHP notice.htm (32,316 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>PHP notice</title>
<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
body {
font: normal 9pt "Verdana";
color: #000;
background: #fff;
}
h1 {
font: normal 18pt "Verdana";
color: #f00;
margin-bottom: .5em;
}
h2 {
font: normal 14pt "Verdana";
color: #800000;
margin-bottom: .5em;
}
h3 {
font: bold 11pt "Verdana";
}
pre {
font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}
pre span.error {
display: block;
background: #fce3e3;
}
pre span.ln {
color: #999;
padding-right: 0.5em;
border-right: 1px solid #ccc;
}
pre span.error-ln {
font-weight: bold;
}
.container {
margin: 1em 4em;
}
.version {
color: gray;
font-size: 8pt;
border-top: 1px solid #aaa;
padding-top: 1em;
margin-bottom: 1em;
}
.message {
color: #000;
padding: 1em;
font-size: 11pt;
background: #f3f3f3;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
line-height: 160%;
}
.source {
margin-bottom: 1em;
}
.code pre {
background-color: #ffe;
margin: 0.5em 0;
padding: 0.5em;
line-height: 125%;
border: 1px solid #eee;
}
.source .file {
margin-bottom: 1em;
font-weight: bold;
}
.traces {
margin: 2em 0;
}
.trace {
margin: 0.5em 0;
padding: 0.5em;
}
.trace.app {
border: 1px dashed #c00;
}
.trace .number {
text-align: right;
width: 2em;
padding: 0.5em;
}
.trace .content {
padding: 0.5em;
}
.trace .plus,
.trace .minus {
display:inline;
vertical-align:middle;
text-align:center;
border:1px solid #000;
color:#000;
font-size:10px;
line-height:10px;
margin:0;
padding:0 1px;
width:10px;
height:10px;
}
.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
display: none;
}
.trace-file {
cursor: pointer;
padding: 0.2em;
}
.trace-file:hover {
background: #f0ffff;
}
/*]]>*/
</style>
</head>
<body>
<div class="container">
<h1>PHP notice</h1>
<p class="message">
Undefined index: 578129X282X2377CAT1 </p>
<div class="source">
<p class="file">C:\etc\Apache\htdocs\MSSQL\application\helpers\qanda_helper.php(3376)</p>
<div class="code"><pre><span class="ln">3364</span> if (isset($answer_and_slider_array[2]))
<span class="ln">3365</span> $sliderright=$answer_and_slider_array[2];
<span class="ln">3366</span> else
<span class="ln">3367</span> $sliderright = '';
<span class="ln">3368</span>
<span class="ln">3369</span> $sliderleft="<div class=\"slider_lefttext\">$sliderleft</div>";
<span class="ln">3370</span> $sliderright="<div class=\"slider_righttext\">$sliderright</div>";
<span class="ln">3371</span> }
<span class="ln">3372</span>
<span class="ln">3373</span> // color code missing mandatory questions red
<span class="ln">3374</span> if ($ia[6]=='Y' && (($_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['step'] == $_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['prevstep'])
<span class="ln">3375</span> || ($_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['maxstep'] > $_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['step']))
<span class="error"><span class="ln error-ln">3376</span> && $_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$myfname] === '') {
</span><span class="ln">3377</span> $theanswer = "<span class='errormandatory'>{$theanswer}</span>";
<span class="ln">3378</span> }
<span class="ln">3379</span>
<span class="ln">3380</span> list($htmltbody2, $hiddenfield)=return_array_filter_strings($ia, $aQuestionAttributes, $thissurvey, $ansrow, $myfname, '', $myfname, "li","question-item answer-item text-item numeric-item".$extraclass);
<span class="ln">3381</span> $answer_main .= "\t$htmltbody2\n";
<span class="ln">3382</span> if ($slider_layout === false)
<span class="ln">3383</span> {
<span class="ln">3384</span> $answer_main .= "<label for=\"answer$myfname\">{$theanswer}</label>\n";
<span class="ln">3385</span> }
<span class="ln">3386</span> else
<span class="ln">3387</span> {
<span class="ln">3388</span> $answer_main .= "<label for=\"answer$myfname\" class=\"slider-label\">{$theanswer}</label>\n";
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<tr class="trace app expanded">
<td class="number">
#0 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\application\helpers\qanda_helper.php(225): <strong>do_multiplenumeric</strong>(array("2377", "578129X282X2377", "CAT_GROUP", "<p>
This questionnaire will help you and your healthcare profe...", ...)) </div>
<div class="code"><pre><span class="ln">220</span> break;
<span class="ln">221</span> case 'Q': //MULTIPLE SHORT TEXT
<span class="ln">222</span> $values=do_multipleshorttext($ia);
<span class="ln">223</span> break;
<span class="ln">224</span> case 'K': //MULTIPLE NUMERICAL QUESTION
<span class="error"><span class="ln error-ln">225</span> $values=do_multiplenumeric($ia);
</span><span class="ln">226</span> break;
<span class="ln">227</span> case 'N': //NUMERICAL QUESTION TYPE
<span class="ln">228</span> $values=do_numerical($ia);
<span class="ln">229</span> break;
<span class="ln">230</span> case 'S': //SHORT FREE TEXT
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\application\helpers\SurveyRuntimeHelper.php(678): <strong>retrieveAnswers</strong>(array("2377", "578129X282X2377", "CAT_GROUP", "<p>
This questionnaire will help you and your healthcare profe...", ...), "578129") </div>
<div class="code"><pre><span class="ln">673</span> }
<span class="ln">674</span>
<span class="ln">675</span> //Get the answers/inputnames
<span class="ln">676</span> // TMSW - can content of retrieveAnswers() be provided by LEM? Review scope of what it provides.
<span class="ln">677</span> // TODO - retrieveAnswers is slow - queries database separately for each question. May be fixed in _CI or _YII ports, so ignore for now
<span class="error"><span class="ln error-ln">678</span> list($plus_qanda, $plus_inputnames) = retrieveAnswers($ia, $surveyid);
</span><span class="ln">679</span> if ($plus_qanda)
<span class="ln">680</span> {
<span class="ln">681</span> $plus_qanda[] = $ia[4];
<span class="ln">682</span> $plus_qanda[] = $ia[6]; // adds madatory identifyer for adding mandatory class to question wrapping div
<span class="ln">683</span> $qanda[] = $plus_qanda;
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#2 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\application\controllers\survey\index.php(651): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>("578129", array("surveyid" => "578129", "thissurvey" => array("sid" => "578129", "owner_id" => "1", "admin" => "Bruce Taggart", "active" => "N", ...), "thisstep" => "", "tokensexist" => 0, ...)) </div>
<div class="code"><pre><span class="ln">646</span> //Send local variables to the appropriate survey type
<span class="ln">647</span> unset($redata);
<span class="ln">648</span> $redata = compact(array_keys(get_defined_vars()));
<span class="ln">649</span> Yii::import('application.helpers.SurveyRuntimeHelper');
<span class="ln">650</span> $tmp = new SurveyRuntimeHelper();
<span class="error"><span class="ln error-ln">651</span> $tmp->run($surveyid,$redata);
</span><span class="ln">652</span>
<span class="ln">653</span> if (isset($_POST['saveall']) || isset($flashmessage))
<span class="ln">654</span> {
<span class="ln">655</span> echo "\t\t<script type='text/javascript'>
<span class="ln">656</span> $(document).ready( function() {
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#3 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\application\controllers\survey\index.php(18): <strong>index</strong>-><strong>action</strong>() </div>
<div class="code"><pre><span class="ln">13</span>
<span class="ln">14</span> class index extends CAction {
<span class="ln">15</span>
<span class="ln">16</span> public function run()
<span class="ln">17</span> {
<span class="error"><span class="ln error-ln">18</span> $this->action();
</span><span class="ln">19</span> }
<span class="ln">20</span>
<span class="ln">21</span> function action()
<span class="ln">22</span> {
<span class="ln">23</span> global $surveyid;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\framework\web\actions\CAction.php(75): <strong>index</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">70</span> {
<span class="ln">71</span> $method=new ReflectionMethod($this, 'run');
<span class="ln">72</span> if($method->getNumberOfParameters()>0)
<span class="ln">73</span> return $this->runWithParamsInternal($this, $method, $params);
<span class="ln">74</span> else
<span class="error"><span class="ln error-ln">75</span> return $this->run();
</span><span class="ln">76</span> }
<span class="ln">77</span>
<span class="ln">78</span> /**
<span class="ln">79</span> * Executes a method of an object with the supplied named parameters.
<span class="ln">80</span> * This method is internally used.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(309): <strong>CAction</strong>-><strong>runWithParams</strong>(array("action" => "previewgroup", "sid" => "578129", "gid" => "282")) </div>
<div class="code"><pre><span class="ln">304</span> {
<span class="ln">305</span> $priorAction=$this->_action;
<span class="ln">306</span> $this->_action=$action;
<span class="ln">307</span> if($this->beforeAction($action))
<span class="ln">308</span> {
<span class="error"><span class="ln error-ln">309</span> if($action->runWithParams($this->getActionParams())===false)
</span><span class="ln">310</span> $this->invalidActionParams($action);
<span class="ln">311</span> else
<span class="ln">312</span> $this->afterAction($action);
<span class="ln">313</span> }
<span class="ln">314</span> $this->_action=$priorAction;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(287): <strong>CController</strong>-><strong>runAction</strong>(index) </div>
<div class="code"><pre><span class="ln">282</span> * @see runAction
<span class="ln">283</span> */
<span class="ln">284</span> public function runActionWithFilters($action,$filters)
<span class="ln">285</span> {
<span class="ln">286</span> if(empty($filters))
<span class="error"><span class="ln error-ln">287</span> $this->runAction($action);
</span><span class="ln">288</span> else
<span class="ln">289</span> {
<span class="ln">290</span> $priorAction=$this->_action;
<span class="ln">291</span> $this->_action=$action;
<span class="ln">292</span> CFilterChain::create($this,$action,$filters)->run();
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(266): <strong>CController</strong>-><strong>runActionWithFilters</strong>(index, array()) </div>
<div class="code"><pre><span class="ln">261</span> {
<span class="ln">262</span> if(($parent=$this->getModule())===null)
<span class="ln">263</span> $parent=Yii::app();
<span class="ln">264</span> if($parent->beforeControllerAction($this,$action))
<span class="ln">265</span> {
<span class="error"><span class="ln error-ln">266</span> $this->runActionWithFilters($action,$this->filters());
</span><span class="ln">267</span> $parent->afterControllerAction($this,$action);
<span class="ln">268</span> }
<span class="ln">269</span> }
<span class="ln">270</span> else
<span class="ln">271</span> $this->missingAction($actionID);
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#8 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(276): <strong>CController</strong>-><strong>run</strong>("index") </div>
<div class="code"><pre><span class="ln">271</span> {
<span class="ln">272</span> list($controller,$actionID)=$ca;
<span class="ln">273</span> $oldController=$this->_controller;
<span class="ln">274</span> $this->_controller=$controller;
<span class="ln">275</span> $controller->init();
<span class="error"><span class="ln error-ln">276</span> $controller->run($actionID);
</span><span class="ln">277</span> $this->_controller=$oldController;
<span class="ln">278</span> }
<span class="ln">279</span> else
<span class="ln">280</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
<span class="ln">281</span> array('{route}'=>$route===''?$this->defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#9 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(135): <strong>CWebApplication</strong>-><strong>runController</strong>("survey/index/action/previewgroup/sid/578129/gid/282") </div>
<div class="code"><pre><span class="ln">130</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
<span class="ln">131</span> $_GET[$name]=$value;
<span class="ln">132</span> }
<span class="ln">133</span> else
<span class="ln">134</span> $route=$this->getUrlManager()->parseUrl($this->getRequest());
<span class="error"><span class="ln error-ln">135</span> $this->runController($route);
</span><span class="ln">136</span> }
<span class="ln">137</span>
<span class="ln">138</span> /**
<span class="ln">139</span> * Registers the core application components.
<span class="ln">140</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#10 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\framework\base\CApplication.php(162): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">157</span> */
<span class="ln">158</span> public function run()
<span class="ln">159</span> {
<span class="ln">160</span> if($this->hasEventHandler('onBeginRequest'))
<span class="ln">161</span> $this->onBeginRequest(new CEvent($this));
<span class="error"><span class="ln error-ln">162</span> $this->processRequest();
</span><span class="ln">163</span> if($this->hasEventHandler('onEndRequest'))
<span class="ln">164</span> $this->onEndRequest(new CEvent($this));
<span class="ln">165</span> }
<span class="ln">166</span>
<span class="ln">167</span> /**
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#11 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
C:\etc\Apache\htdocs\MSSQL\index.php(178): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">173</span> *
<span class="ln">174</span> */
<span class="ln">175</span> require_once BASEPATH . 'yii' . EXT;
<span class="ln">176</span> require_once APPPATH . 'core/LSYii_Application' . EXT;
<span class="ln">177</span>
<span class="error"><span class="ln error-ln">178</span> Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run();
</span><span class="ln">179</span>
<span class="ln">180</span> /* End of file index.php */
<span class="ln">181</span> /* Location: ./index.php */
</pre></div> </td>
</tr>
</table>
</div>
<div class="version">
2013-02-04 09:06:43 Apache/2.4.3 (Win32) OpenSSL/0.9.8x PHP/5.4.8 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.10 </div>
</div>
<script type="text/javascript">
/*<![CDATA[*/
var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)");
var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)");
var e = document.getElementsByTagName("div");
for(var j=0,len=e.length;j<len;j++){
if(traceReg.test(e[j].className)){
e[j].onclick = function(){
var trace = this.parentNode.parentNode;
if(collapsedReg.test(trace.className))
trace.className = trace.className.replace("collapsed", "expanded");
else
trace.className = trace.className.replace("expanded", "collapsed");
}
}
}
/*]]>*/
</script>
</body>
</html>
<script type="text/javascript">
/*<![CDATA[*/
if(typeof(console)=='object')
{
console.group("Application Log");
console.log("[09:06:43.737][trace][system.db.CDbConnection] Opening DB connection");
console.log("[09:06:43.757][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_settings_global`");
console.log("[09:06:43.765][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_settings_global`");
console.log("[09:06:43.765][trace][system.db.ar.CActiveRecord] Settings_global.findAll()");
console.log("[09:06:43.767][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_settings_global` `t`");
console.log("[09:06:43.827][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_surveys`");
console.log("[09:06:43.836][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_surveys`");
console.log("[09:06:43.837][trace][system.db.ar.CActiveRecord] Survey.findByPk()");
console.log("[09:06:43.837][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_surveys` `t` WHERE `t`.`sid`=578129 LIMIT 1");
console.log("[09:06:43.838][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_surveys_languagesettings`");
console.log("[09:06:43.845][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_surveys_languagesettings`");
console.log("[09:06:43.845][trace][system.db.ar.CActiveRecord] Surveys_languagesettings.findByPk()");
console.log("[09:06:43.850][trace][system.db.CDbCommand] Querying SQL: SELECT `t`.`surveyls_survey_id` AS `t0_c0`, `t`.`surveyls_language` AS `t0_c1`, `t`.`surveyls_title` AS `t0_c2`, `t`.`surveyls_description` AS `t0_c3`, `t`.`surveyls_welcometext` AS `t0_c4`, `t`.`surveyls_endtext` AS `t0_c5`, `t`.`surveyls_url` AS `t0_c6`, `t`.`surveyls_urldescription` AS `t0_c7`, `t`.`surveyls_email_invite_subj` AS `t0_c8`, `t`.`surveyls_email_invite` AS `t0_c9`, `t`.`surveyls_email_remind_subj` AS `t0_c10`, `t`.`surveyls_email_remind` AS `t0_c11`, `t`.`surveyls_email_register_subj` AS `t0_c12`, `t`.`surveyls_email_register` AS `t0_c13`, `t`.`surveyls_email_confirm_subj` AS `t0_c14`, `t`.`surveyls_email_confirm` AS `t0_c15`, `t`.`surveyls_dateformat` AS `t0_c16`, `t`.`surveyls_attributecaptions` AS `t0_c17`, `t`.`email_admin_notification_subj` AS `t0_c18`, `t`.`email_admin_notification` AS `t0_c19`, `t`.`email_admin_responses_subj` AS `t0_c20`, `t`.`email_admin_responses` AS `t0_c21`, `t`.`surveyls_numberformat` AS `t0_c22`, `survey`.`sid` AS `t1_c0`, `survey`.`owner_id` AS `t1_c1`, `survey`.`admin` AS `t1_c2`, `survey`.`active` AS `t1_c3`, `survey`.`expires` AS `t1_c4`, `survey`.`startdate` AS `t1_c5`, `survey`.`adminemail` AS `t1_c6`, `survey`.`anonymized` AS `t1_c7`, `survey`.`faxto` AS `t1_c8`, `survey`.`format` AS `t1_c9`, `survey`.`savetimings` AS `t1_c10`, `survey`.`template` AS `t1_c11`, `survey`.`language` AS `t1_c12`, `survey`.`additional_languages` AS `t1_c13`, `survey`.`datestamp` AS `t1_c14`, `survey`.`usecookie` AS `t1_c15`, `survey`.`allowregister` AS `t1_c16`, `survey`.`allowsave` AS `t1_c17`, `survey`.`autonumber_start` AS `t1_c18`, `survey`.`autoredirect` AS `t1_c19`, `survey`.`allowprev` AS `t1_c20`, `survey`.`printanswers` AS `t1_c21`, `survey`.`ipaddr` AS `t1_c22`, `survey`.`refurl` AS `t1_c23`, `survey`.`datecreated` AS `t1_c24`, `survey`.`publicstatistics` AS `t1_c25`, `survey`.`publicgraphs` AS `t1_c26`, `survey`.`listpublic` AS `t1_c27`, `survey`.`htmlemail` AS `t1_c28`, `survey`.`sendconfirmation` AS `t1_c29`, `survey`.`tokenanswerspersistence` AS `t1_c30`, `survey`.`assessments` AS `t1_c31`, `survey`.`usecaptcha` AS `t1_c32`, `survey`.`usetokens` AS `t1_c33`, `survey`.`bounce_email` AS `t1_c34`, `survey`.`attributedescriptions` AS `t1_c35`, `survey`.`emailresponseto` AS `t1_c36`, `survey`.`emailnotificationto` AS `t1_c37`, `survey`.`tokenlength` AS `t1_c38`, `survey`.`showxquestions` AS `t1_c39`, `survey`.`showgroupinfo` AS `t1_c40`, `survey`.`shownoanswer` AS `t1_c41`, `survey`.`showqnumcode` AS `t1_c42`, `survey`.`bouncetime` AS `t1_c43`, `survey`.`bounceprocessing` AS `t1_c44`, `survey`.`bounceaccounttype` AS `t1_c45`, `survey`.`bounceaccounthost` AS `t1_c46`, `survey`.`bounceaccountpass` AS `t1_c47`, `survey`.`bounceaccountencryption` AS `t1_c48`, `survey`.`bounceaccountuser` AS `t1_c49`, `survey`.`showwelcome` AS `t1_c50`, `survey`.`showprogress` AS `t1_c51`, `survey`.`allowjumps` AS `t1_c52`, `survey`.`navigationdelay` AS `t1_c53`, `survey`.`nokeyboard` AS `t1_c54`, `survey`.`alloweditaftercompletion` AS `t1_c55`, `survey`.`googleanalyticsstyle` AS `t1_c56`, `survey`.`googleanalyticsapikey` AS `t1_c57` FROM `lime_surveys_languagesettings` `t` LEFT OUTER JOIN `lime_surveys` `survey` ON (t.surveyls_survey_id = survey.sid) WHERE (`t`.`surveyls_survey_id`=578129 AND `t`.`surveyls_language`=\'en\')");
console.log("[09:06:43.858][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM lime_groups WHERE sid=578129 AND language=\'en\' ORDER BY group_order");
console.log("[09:06:43.859][trace][system.db.CDbCommand] Querying SQL: SELECT title, question FROM lime_questions WHERE qid=2377 AND language=\'en\'");
console.log("[09:06:43.859][trace][system.db.CDbCommand] Querying SQL: SHOW TABLES");
console.log("[09:06:43.864][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM lime_groups WHERE sid=578129 AND language=\'en\' ORDER BY group_order");
console.log("[09:06:43.865][trace][system.db.CDbCommand] Querying SQL: SELECT count(*)\n FROM lime_groups INNER JOIN lime_questions ON lime_groups.gid = lime_questions.gid\n WHERE lime_questions.sid=578129\n AND lime_groups.language=\'en\'\n AND lime_questions.language=\'en\'\n AND lime_questions.parent_qid=0\n");
console.log("[09:06:43.867][trace][system.db.CDbCommand] Querying SQL: SELECT count(*)\n FROM lime_questions WHERE type in (\'X\',\'*\')\n AND sid=578129 AND language=\'en\' AND parent_qid=0");
console.log("[09:06:43.874][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_defaultvalues`");
console.log("[09:06:43.881][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_defaultvalues`");
console.log("[09:06:43.881][trace][system.db.ar.CActiveRecord] Defaultvalues.findAll()");
console.log("[09:06:43.883][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_questions`");
console.log("[09:06:43.890][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_questions`");
console.log("[09:06:43.890][trace][system.db.CDbCommand] Querying SQL: SELECT `t`.`qid` AS `t0_c0`, `t`.`scale_id` AS `t0_c1`, `t`.`sqid` AS `t0_c2`, `t`.`language` AS `t0_c3`, `t`.`specialtype` AS `t0_c4`, `t`.`defaultvalue` AS `t0_c5`, `question`.`qid` AS `t1_c0`, `question`.`parent_qid` AS `t1_c1`, `question`.`sid` AS `t1_c2`, `question`.`gid` AS `t1_c3`, `question`.`type` AS `t1_c4`, `question`.`title` AS `t1_c5`, `question`.`question` AS `t1_c6`, `question`.`preg` AS `t1_c7`, `question`.`help` AS `t1_c8`, `question`.`other` AS `t1_c9`, `question`.`mandatory` AS `t1_c10`, `question`.`question_order` AS `t1_c11`, `question`.`language` AS `t1_c12`, `question`.`scale_id` AS `t1_c13`, `question`.`same_default` AS `t1_c14`, `question`.`relevance` AS `t1_c15` FROM `lime_defaultvalues` `t` LEFT OUTER JOIN `lime_questions` `question` ON (t.qid = question.qid) WHERE (question.sid=578129)");
console.log("[09:06:43.891][trace][system.db.CDbCommand] Querying SQL: SELECT a.qid, a.sqid, a.scale_id, a.specialtype, a.defaultvalue FROM lime_defaultvalues as a, lime_questions as b WHERE a.qid = b.qid AND a.language = b.language AND a.language = \'en\' AND b.same_default=0 AND b.sid = 578129");
console.log("[09:06:43.891][trace][system.db.CDbCommand] Querying SQL: SELECT a.qid, a.sqid, a.scale_id, a.specialtype, a.defaultvalue FROM lime_defaultvalues as a, lime_questions as b WHERE a.qid = b.qid AND a.language = b.language AND a.language = \'en\' AND b.same_default=1 AND b.sid = 578129");
console.log("[09:06:43.892][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM lime_questions as questions, lime_groups as groups WHERE questions.gid=groups.gid AND questions.sid=578129 AND questions.language=\'en\' AND questions.parent_qid=0 AND groups.language=\'en\' ORDER BY group_order, question_order");
console.log("[09:06:43.899][trace][system.db.CDbCommand] Querying SQL: SELECT sq.*, q.other FROM lime_questions as sq, lime_questions as q WHERE sq.parent_qid=q.qid AND q.sid=578129 AND sq.language=\'en\' AND q.language=\'en\' ORDER BY sq.parent_qid, q.question_order,sq.scale_id , sq.question_order");
console.log("[09:06:43.906][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_groups`");
console.log("[09:06:43.913][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_groups`");
console.log("[09:06:43.913][trace][system.db.ar.CActiveRecord] Groups.findAll()");
console.log("[09:06:43.914][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_groups` `t` WHERE (sid=:ycp0 AND language=:ycp1) AND (randomization_group != \'\'). Bound with :ycp0=\'578129\', :ycp1=\'en\'");
console.log("[09:06:43.914][trace][system.db.CDbCommand] Querying SQL: SELECT attr.qid, value FROM lime_question_attributes as attr right join lime_questions as quests on attr.qid=quests.qid WHERE attribute=\'random_group\' and value <> \'\' and sid=578129 GROUP BY attr.qid, value");
console.log("[09:06:43.918][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_survey_url_parameters`");
console.log("[09:06:43.925][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_survey_url_parameters`");
console.log("[09:06:43.926][trace][system.db.CDbCommand] Querying SQL: select \'\' as act, up.*,q.title, sq.title as sqtitle, q.question, sq.question as sqquestion from lime_survey_url_parameters up\n left join lime_questions q on q.qid=up.targetqid\n left join lime_questions sq on q.qid=up.targetsqid\n where up.sid=:surveyid. Bound with :surveyid=\'578129\'");
console.log("[09:06:43.951][trace][system.db.ar.CActiveRecord] Questions.findByAttributes()");
console.log("[09:06:43.951][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_questions` `t` WHERE `t`.`qid`=:yp0 LIMIT 1. Bound with :yp0=\'2377\'");
console.log("[09:06:43.957][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_question_attributes`");
console.log("[09:06:43.964][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_question_attributes`");
console.log("[09:06:43.964][trace][system.db.ar.CActiveRecord] Question_attributes.findAllByAttributes()");
console.log("[09:06:43.965][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_question_attributes` `t` WHERE `t`.`qid`=:yp0. Bound with :yp0=\'2377\'");
console.log("[09:06:43.966][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM lime_questions WHERE parent_qid=2377 AND language=\'en\' ORDER BY question_order");
console.groupEnd();
}
/*]]>*/
</script> | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 130129 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | FF | ||||
| Database type & version | mySQL and SQL Server | ||||
| Server OS (if known) | Windows 7 and 2008r2 | ||||
| Webserver software & version (if known) | Apache 2.4.3 | ||||
| PHP Version | 5.4.8 | ||||
| Git branch / Pull Request URL | |||||
|
With debug to 0, think it's OK. But right need some test here. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11621 |
|
|
New build 130213 released. |
|
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11713 |
|
|
LimeSurvey: master 23762882 2013-02-12 22:52 Details Diff |
Fixed issue 07266: Unable to preview an inactive survey group with multiple numeric slider |
Affected Issues 07266 |
|
| mod - application/helpers/SurveyRuntimeHelper.php | Diff File | ||
|
LimeSurvey: 2.1 30048048 2013-02-12 22:52 Details Diff |
Fixed issue 07266: Unable to preview an inactive survey group with multiple numeric slider |
Affected Issues 07266 |
|
| mod - application/helpers/SurveyRuntimeHelper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-02-04 15:10 | helper | New Issue | |
| 2013-02-04 15:10 | helper | File Added: limesurvey_survey_578129(1).lss | |
| 2013-02-04 15:11 | helper | File Added: PHP notice.htm | |
| 2013-02-07 13:17 | DenisChenu | Note Added: 23985 | |
| 2013-02-07 21:21 | c_schmitz | Assigned To | => c_schmitz |
| 2013-02-07 21:21 | c_schmitz | Status | new => assigned |
| 2013-02-12 22:52 | c_schmitz | Status | assigned => resolved |
| 2013-02-12 22:52 | c_schmitz | Fixed in Version | => 2.00+ |
| 2013-02-12 22:52 | c_schmitz | Resolution | open => fixed |
| 2013-02-12 22:52 | c_schmitz | Changeset attached | => LimeSurvey master 23762882 |
| 2013-02-12 22:52 | c_schmitz | Note Added: 24049 | |
| 2013-02-13 22:11 | c_schmitz | Note Added: 24058 | |
| 2013-02-13 22:11 | c_schmitz | Status | resolved => closed |
| 2013-03-02 16:34 | c_schmitz | Changeset attached | => LimeSurvey 2.1 30048048 |
| 2013-03-02 16:34 | c_schmitz | Note Added: 24469 |