View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09452Bug reportsSurvey takingpublic2015-06-19 18:05
Reporteraesteban Assigned Toaesteban  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version2.05+ 
Fixed in Version2.06+ 
Summary09452: [only if debug == 2] Crash when submitting a survey that was saved and reloaded
Description

Undefined index

Steps To Reproduce

1.- Set debug = 2 in config file
2.- Create a survey and enable save and reload answers
3.- Take first pages of survey
4.- Save answers
5.- Close browser
6.- Open browser
7.- Reload answers
8.- Take the rest of survey questions
9.- Click on final submit

Result: Undefined index error (see attached file)

Additional Information

Tested with different surveys

TagsNo tags attached.
Attached Files
PHP notice-saved_control.html (25,296 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: holdname	</p>

	<div class="source">
		<p class="file">/usr/share/nginx/html/lsurveymaster/application/helpers/frontend_helper.php(624)</p>
		<div class="code"><pre><span class="ln">612</span>     
<span class="ln">613</span>     $homeurl=Yii::app()-&gt;createAbsoluteUrl('/admin');
<span class="ln">614</span>     $clang = Yii::app()-&gt;lang;
<span class="ln">615</span>     $sitename = Yii::app()-&gt;getConfig("sitename");
<span class="ln">616</span> 
<span class="ln">617</span>     $debug=Yii::app()-&gt;getConfig('debug');
<span class="ln">618</span>     $bIsHTML = ($thissurvey['htmlemail'] == 'Y');
<span class="ln">619</span> 
<span class="ln">620</span>     $aReplacementVars=array();
<span class="ln">621</span> 
<span class="ln">622</span>     if ($thissurvey['allowsave'] == "Y" &amp;&amp; isset($_SESSION['survey_'.$surveyid]['scid']))
<span class="ln">623</span>     {
<span class="error"><span class="ln error-ln">624</span>         $aReplacementVars['RELOADURL']="".Yii::app()-&gt;getController()-&gt;createUrl("/survey/index/sid/{$surveyid}/loadall/reload/scid/".$_SESSION['survey_'.$surveyid]['scid']."/loadname/".urlencode($_SESSION['survey_'.$surveyid]['holdname'])."/loadpass/".urlencode($_SESSION['survey_'.$surveyid]['holdpass'])."/lang/".urlencode($clang-&gt;langcode));
</span><span class="ln">625</span>         if ($bIsHTML)
<span class="ln">626</span>         {
<span class="ln">627</span>             $aReplacementVars['RELOADURL']="&lt;a href='{$aReplacementVars['RELOADURL']}'&gt;{$aReplacementVars['RELOADURL']}&lt;/a&gt;";
<span class="ln">628</span>         }
<span class="ln">629</span>     }
<span class="ln">630</span>     else
<span class="ln">631</span>     {
<span class="ln">632</span>         $aReplacementVars['RELOADURL']='';
<span class="ln">633</span>     }
<span class="ln">634</span> 
<span class="ln">635</span>     if (!isset($_SESSION['survey_'.$surveyid]['srid']))
<span class="ln">636</span>         $srid = null;
</pre></div>	</div>

	<div class="traces">
		<h2>Stack Trace</h2>
				<table style="width:100%;">
						<tbody><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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/application/helpers/SurveyRuntimeHelper.php(598): <strong>sendSubmitNotifications</strong>("369689")				</div>

				<div class="code"><pre><span class="ln">593</span>                         submittokens();
<span class="ln">594</span>                     }
<span class="ln">595</span> 
<span class="ln">596</span>                     //Send notifications
<span class="ln">597</span> 
<span class="error"><span class="ln error-ln">598</span>                     sendSubmitNotifications($surveyid);
</span><span class="ln">599</span> 
<span class="ln">600</span> 
<span class="ln">601</span>                     $content = '';
<span class="ln">602</span> 
<span class="ln">603</span>                     $content .= templatereplace(file_get_contents($sTemplatePath."startpage.pstpl"), array(), $redata, 'SubmitStartpage', false, NULL, array(), true );
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/application/controllers/survey/index.php(579): <strong>SurveyRuntimeHelper</strong>-&gt;<strong>run</strong>("369689",
 array("surveyid" =&gt; "369689", "thissurvey" =&gt; array("sid" =&gt; 
369689, "owner_id" =&gt; 1, "admin" =&gt; "Administrator", "active" 
=&gt; "Y", ...), "thisstep" =&gt; "3", "tokensexist" =&gt; 0, ...))				</div>

				<div class="code"><pre><span class="ln">574</span>         //Send local variables to the appropriate survey type
<span class="ln">575</span>         unset($redata);
<span class="ln">576</span>         $redata = compact(array_keys(get_defined_vars()));
<span class="ln">577</span>         Yii::import('application.helpers.SurveyRuntimeHelper');
<span class="ln">578</span>         $tmp = new SurveyRuntimeHelper();
<span class="error"><span class="ln error-ln">579</span>         $tmp-&gt;run($surveyid,$redata);
</span><span class="ln">580</span> 
<span class="ln">581</span>         if (isset($_POST['saveall']) || isset($flashmessage))
<span class="ln">582</span>         {
<span class="ln">583</span>             echo "&lt;script type='text/javascript'&gt; $(document).ready( function() { alert('".$clang-&gt;gT("Your responses were successfully saved.","js")."');}) &lt;/script&gt;";
<span class="ln">584</span>         }
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/application/controllers/survey/index.php(46): <strong>index</strong>-&gt;<strong>action</strong>()				</div>

				<div class="code"><pre><span class="ln">41</span>             App()-&gt;getClientScript()-&gt;render($buffer);
<span class="ln">42</span>             App()-&gt;getClientScript()-&gt;reset();
<span class="ln">43</span>             return $buffer;
<span class="ln">44</span>         });
<span class="ln">45</span>         ob_implicit_flush(false);
<span class="error"><span class="ln error-ln">46</span>         $this-&gt;action();
</span><span class="ln">47</span>         ob_flush();
<span class="ln">48</span>     }
<span class="ln">49</span> 
<span class="ln">50</span>     function action()
<span class="ln">51</span>     {
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#3			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/usr/share/nginx/html/lsurveymaster/framework/web/actions/CAction.php(76): <strong>index</strong>-&gt;<strong>run</strong>()				</div>

				<div class="code"><pre><span class="ln">71</span>     {
<span class="ln">72</span>         $method=new ReflectionMethod($this, 'run');
<span class="ln">73</span>         if($method-&gt;getNumberOfParameters()&gt;0)
<span class="ln">74</span>             return $this-&gt;runWithParamsInternal($this, $method, $params);
<span class="ln">75</span>         else
<span class="error"><span class="ln error-ln">76</span>             return $this-&gt;run();
</span><span class="ln">77</span>     }
<span class="ln">78</span> 
<span class="ln">79</span>     /**
<span class="ln">80</span>      * Executes a method of an object with the supplied named parameters.
<span class="ln">81</span>      * This method is internally used.
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/framework/web/CController.php(308): <strong>CAction</strong>-&gt;<strong>runWithParams</strong>(array("q" =&gt; "/lsurveymaster/index.php/survey/index"))				</div>

				<div class="code"><pre><span class="ln">303</span>     {
<span class="ln">304</span>         $priorAction=$this-&gt;_action;
<span class="ln">305</span>         $this-&gt;_action=$action;
<span class="ln">306</span>         if($this-&gt;beforeAction($action))
<span class="ln">307</span>         {
<span class="error"><span class="ln error-ln">308</span>             if($action-&gt;runWithParams($this-&gt;getActionParams())===false)
</span><span class="ln">309</span>                 $this-&gt;invalidActionParams($action);
<span class="ln">310</span>             else
<span class="ln">311</span>                 $this-&gt;afterAction($action);
<span class="ln">312</span>         }
<span class="ln">313</span>         $this-&gt;_action=$priorAction;
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/framework/web/CController.php(286): <strong>CController</strong>-&gt;<strong>runAction</strong>(index)				</div>

				<div class="code"><pre><span class="ln">281</span>      * @see runAction
<span class="ln">282</span>      */
<span class="ln">283</span>     public function runActionWithFilters($action,$filters)
<span class="ln">284</span>     {
<span class="ln">285</span>         if(empty($filters))
<span class="error"><span class="ln error-ln">286</span>             $this-&gt;runAction($action);
</span><span class="ln">287</span>         else
<span class="ln">288</span>         {
<span class="ln">289</span>             $priorAction=$this-&gt;_action;
<span class="ln">290</span>             $this-&gt;_action=$action;
<span class="ln">291</span>             CFilterChain::create($this,$action,$filters)-&gt;run();
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/framework/web/CController.php(265): <strong>CController</strong>-&gt;<strong>runActionWithFilters</strong>(index, array())				</div>

				<div class="code"><pre><span class="ln">260</span>         {
<span class="ln">261</span>             if(($parent=$this-&gt;getModule())===null)
<span class="ln">262</span>                 $parent=Yii::app();
<span class="ln">263</span>             if($parent-&gt;beforeControllerAction($this,$action))
<span class="ln">264</span>             {
<span class="error"><span class="ln error-ln">265</span>                 $this-&gt;runActionWithFilters($action,$this-&gt;filters());
</span><span class="ln">266</span>                 $parent-&gt;afterControllerAction($this,$action);
<span class="ln">267</span>             }
<span class="ln">268</span>         }
<span class="ln">269</span>         else
<span class="ln">270</span>             $this-&gt;missingAction($actionID);
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/framework/web/CWebApplication.php(282): <strong>CController</strong>-&gt;<strong>run</strong>("index")				</div>

				<div class="code"><pre><span class="ln">277</span>         {
<span class="ln">278</span>             list($controller,$actionID)=$ca;
<span class="ln">279</span>             $oldController=$this-&gt;_controller;
<span class="ln">280</span>             $this-&gt;_controller=$controller;
<span class="ln">281</span>             $controller-&gt;init();
<span class="error"><span class="ln error-ln">282</span>             $controller-&gt;run($actionID);
</span><span class="ln">283</span>             $this-&gt;_controller=$oldController;
<span class="ln">284</span>         }
<span class="ln">285</span>         else
<span class="ln">286</span>             throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
<span class="ln">287</span>                 array('{route}'=&gt;$route===''?$this-&gt;defaultController:$route)));
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-&gt;<strong>runController</strong>("survey/index")				</div>

				<div class="code"><pre><span class="ln">136</span>             foreach(array_splice($this-&gt;catchAllRequest,1) as $name=&gt;$value)
<span class="ln">137</span>                 $_GET[$name]=$value;
<span class="ln">138</span>         }
<span class="ln">139</span>         else
<span class="ln">140</span>             $route=$this-&gt;getUrlManager()-&gt;parseUrl($this-&gt;getRequest());
<span class="error"><span class="ln error-ln">141</span>         $this-&gt;runController($route);
</span><span class="ln">142</span>     }
<span class="ln">143</span> 
<span class="ln">144</span>     /**
<span class="ln">145</span>      * Registers the core application components.
<span class="ln">146</span>      * This method overrides the parent implementation by registering additional core components.
</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>
										&nbsp;/usr/share/nginx/html/lsurveymaster/framework/base/CApplication.php(180): <strong>CWebApplication</strong>-&gt;<strong>processRequest</strong>()				</div>

				<div class="code"><pre><span class="ln">175</span>     public function run()
<span class="ln">176</span>     {
<span class="ln">177</span>         if($this-&gt;hasEventHandler('onBeginRequest'))
<span class="ln">178</span>             $this-&gt;onBeginRequest(new CEvent($this));
<span class="ln">179</span>         register_shutdown_function(array($this,'end'),0,false);
<span class="error"><span class="ln error-ln">180</span>         $this-&gt;processRequest();
</span><span class="ln">181</span>         if($this-&gt;hasEventHandler('onEndRequest'))
<span class="ln">182</span>             $this-&gt;onEndRequest(new CEvent($this));
<span class="ln">183</span>     }
<span class="ln">184</span> 
<span class="ln">185</span>     /**
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#10			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/usr/share/nginx/html/lsurveymaster/index.php(200): <strong>CApplication</strong>-&gt;<strong>run</strong>()				</div>

				<div class="code"><pre><span class="ln">195</span>         die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath));
<span class="ln">196</span>     }
<span class="ln">197</span> }
<span class="ln">198</span> 
<span class="ln">199</span> 
<span class="error"><span class="ln error-ln">200</span> Yii::createApplication('LSYii_Application', $config)-&gt;run();
</span><span class="ln">201</span> 
<span class="ln">202</span> /* End of file index.php */
<span class="ln">203</span> /* Location: ./index.php */
</pre></div>			</td>
		</tr>
				</tbody></table>
	</div>

	<div class="version">
		2015-01-12 01:04:44 nginx/1.4.6 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.15	</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>



<script type="text/javascript">
/*<![CDATA[*/
if(typeof(console)=='object')
{
	console.group("Application Log");
	console.log("[01:04:43.491][trace][system.db.ar.CActiveRecord] Plugin.findAllByAttributes()");
	console.log("[01:04:43.492][trace][system.db.CDbConnection] Opening DB connection");
	console.log("[01:04:43.519][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM \"lime_plugins\" \"t\" WHERE \"t\".\"active\"=:yp0. Bound with :yp0=1");
	console.log("[01:04:43.534][trace][system.db.ar.CActiveRecord] SettingGlobal.findAll()");
	console.log("[01:04:43.535][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM \"lime_settings_global\" \"t\"");
	console.log("[01:04:43.688][trace][system.db.ar.CActiveRecord] Survey.findByPk()");
	console.log("[01:04:43.689][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM \"lime_surveys\" \"t\" WHERE \"t\".\"sid\"=369689 LIMIT 1");
	console.log("[01:04:43.698][trace][system.db.ar.CActiveRecord] SurveyLanguageSetting.findByPk()");
	console.log("[01:04:43.713][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\", \"t\".\"attachments\" AS \"t0_c23\", \"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\".\"questionindex\" 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\"=369689 AND \"t\".\"surveyls_language\"=\'es\')");
	console.log("[01:04:43.736][trace][system.db.CDbCommand] Querying SQL: SELECT table_name, table_schema FROM information_schema.tables\nWHERE table_schema=:schema AND table_type=\'BASE TABLE\'. Bound with :schema=\'public\'");
	console.log("[01:04:44.314][trace][system.db.CDbCommand] Querying SQL: UPDATE lime_survey_369689 SET \"lastpage\"=3, \"369689X18X72\"=\'\' WHERE ID=28");
	console.log("[01:04:44.332][trace][system.db.CDbCommand] Executing SQL: DELETE FROM lime_saved_control where srid=28 and sid=369689");
	console.log("[01:04:44.346][trace][system.db.ar.CActiveRecord] Quota.findAllByAttributes()");
	console.log("[01:04:44.355][trace][system.db.CDbCommand] Querying SQL: SELECT \"t\".\"id\" AS \"t0_c0\", \"t\".\"sid\" AS \"t0_c1\", \"t\".\"name\" AS \"t0_c2\", \"t\".\"qlimit\" AS \"t0_c3\", \"t\".\"action\" AS \"t0_c4\", \"t\".\"active\" AS \"t0_c5\", \"t\".\"autoload_url\" AS \"t0_c6\", \"languagesettings\".\"quotals_id\" AS \"t1_c0\", \"languagesettings\".\"quotals_quota_id\" AS \"t1_c1\", \"languagesettings\".\"quotals_language\" AS \"t1_c2\", \"languagesettings\".\"quotals_name\" AS \"t1_c3\", \"languagesettings\".\"quotals_message\" AS \"t1_c4\", \"languagesettings\".\"quotals_url\" AS \"t1_c5\", \"languagesettings\".\"quotals_urldescrip\" AS \"t1_c6\" FROM \"lime_quota\" \"t\"  LEFT OUTER JOIN \"lime_quota_languagesettings\" \"languagesettings\" ON (t.id = languagesettings.quotals_quota_id)  WHERE (\"t\".\"sid\"=:yp0) AND (quotals_language=\'es\'). Bound with :yp0=\'369689\'");
	console.log("[01:04:44.358][trace][system.db.CDbCommand] Querying SQL: UPDATE lime_survey_369689 SET \"submitdate\"=\'1980-01-01 00:00:00\' WHERE ID=28");
	console.log("[01:04:44.387][trace][system.db.CDbCommand] Querying SQL: SELECT \"submitdate\"\nFROM \"lime_survey_369689\"\nWHERE id=:id. Bound with :id=28");
	console.groupEnd();
}
/*]]>*/
</script></body></html>
PHP notice-saved_control.html (25,296 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)1fd84e50bad58e8230a50a58f7df
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionPostgresql 9.3
Server OS (if known)Ubuntu 14.04
Webserver software & version (if known)Nginx 1.4.6
PHP Version5.5.9

Relationships

related to 09674 closedc_schmitz [debug == 2] Error when trying to reload saved answers 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-06-07 03:26

developer   ~32297

Think it's fixed in 2.06 actaully (removing this system ... when submit survey : Saved answer is deleted ...)

aesteban

aesteban

2015-06-10 00:43

developer   ~32308

@DenisChenu: I got another bug when trying to verify if you were right. See 09674

DenisChenu

DenisChenu

2015-06-19 18:04

developer   ~32449

Can you control if it same last version ? Think it's already fixed

DenisChenu

DenisChenu

2015-06-19 18:05

developer   ~32450

Already updated .

Issue History

Date Modified Username Field Change
2015-01-12 01:27 aesteban New Issue
2015-01-12 01:27 aesteban File Added: PHP notice-saved_control.html
2015-06-07 03:26 DenisChenu Note Added: 32297
2015-06-10 00:42 aesteban Relationship added related to 09674
2015-06-10 00:43 aesteban Note Added: 32308
2015-06-19 18:03 DenisChenu Assigned To => DenisChenu
2015-06-19 18:03 DenisChenu Status new => assigned
2015-06-19 18:04 DenisChenu Note Added: 32449
2015-06-19 18:04 DenisChenu Assigned To DenisChenu => aesteban
2015-06-19 18:04 DenisChenu Status assigned => acknowledged
2015-06-19 18:05 DenisChenu Note Added: 32450
2015-06-19 18:05 DenisChenu Status acknowledged => closed
2015-06-19 18:05 DenisChenu Resolution open => no change required
2015-06-19 18:05 DenisChenu Fixed in Version => 2.06+