View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06001Bug reportspublic2012-08-14 22:44
Reporteruser19295Assigned ToNostraa  
PriorityhighSeverityblock 
Status closedResolutionfixed 
Summary06001: Undefined variable: aData
Description

Recieved a 'PHP Notice' stating the following error:

Undefined variable: aData

Error occured on line 125 in the file assessments.php

That particular line reads:

return $aData;

Please see the attached for the PHP Notice file which includes the Stack Trace

Steps To Reproduce

Clicked Assessments link on main dashboard. Seemed very innocuous.

Additional Information

The error occurs randomly.

TagsNo tags attached.
Attached Files
PHP notice.htm (20,147 bytes)   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0077)http://localhost/limesurvey/index.php/admin/assessments/index/surveyid/216621 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><HTML 
lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META content="text/html; charset=utf-8" http-equiv="Content-Type"><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>

<META name="GENERATOR" content="MSHTML 9.00.8112.16441"></HEAD>
<BODY>
<DIV class="container">
<H1>PHP notice</H1>
<P class="message">		Undefined variable: aData	</P>
<DIV class="source">
<P 
class="file">C:\WAMP\apps\limesurvey2.00.120406\application\controllers\admin\assessments.php(125)</P>
<DIV class="code"><PRE><SPAN class="ln">113</SPAN>         $urls['assessments_view'][]= $aData;
<SPAN class="ln">114</SPAN>         $this-&gt;_renderWrappedTemplate('', $urls, $aData);
<SPAN class="ln">115</SPAN>     }
<SPAN class="ln">116</SPAN> 
<SPAN class="ln">117</SPAN>     private function _collectGroupData($iSurveyID)
<SPAN class="ln">118</SPAN>     {
<SPAN class="ln">119</SPAN>         $groups = Groups::model()-&gt;findAllByAttributes(array('sid' =&gt; $iSurveyID));
<SPAN class="ln">120</SPAN>         foreach ($groups as $group) {
<SPAN class="ln">121</SPAN>             $groupId = $group-&gt;attributes['gid'];
<SPAN class="ln">122</SPAN>             $groupName = $group-&gt;attributes['group_name'];
<SPAN class="ln">123</SPAN>             $aData['groups'][$groupId] = $groupName;
<SPAN class="ln">124</SPAN>         }
<SPAN class="error"><SPAN class="ln error-ln">125</SPAN>         return $aData;
</SPAN><SPAN class="ln">126</SPAN>     }
<SPAN class="ln">127</SPAN> 
<SPAN class="ln">128</SPAN>     private function _collectEditData($surveyLanguage, array $aData, Limesurvey_lang $clang)
<SPAN class="ln">129</SPAN>     {
<SPAN class="ln">130</SPAN>         $assessments = Assessment::model()-&gt;findAllByAttributes(array('id' =&gt; sanitize_int($_POST['id']), 'language' =&gt; $surveyLanguage));
<SPAN class="ln">131</SPAN> 
<SPAN class="ln">132</SPAN>         foreach ($assessments as $assessment) {
<SPAN class="ln">133</SPAN>             $editData = $assessment-&gt;attributes;
<SPAN class="ln">134</SPAN>         }
<SPAN class="ln">135</SPAN>         $aData['actiontitle'] = $clang-&gt;gT("Edit");
<SPAN class="ln">136</SPAN>         $aData['actionvalue'] = "assessmentupdate";
<SPAN class="ln">137</SPAN>         $aData['editId'] = $editData['id'];
</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;C:\WAMP\apps\limesurvey2.00.120406\application\controllers\admin\assessments.php(88): 
      <STRONG>Assessments</STRONG>-&gt;<STRONG>_collectGroupData</STRONG>("216621")				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">83</SPAN>     }
<SPAN class="ln">84</SPAN> 
<SPAN class="ln">85</SPAN>     private function _showAssessments($iSurveyID, $action, $surveyLanguage, Limesurvey_lang $clang)
<SPAN class="ln">86</SPAN>     {
<SPAN class="ln">87</SPAN>         $assessments = Assessment::model()-&gt;findAllByAttributes(array('sid' =&gt; $iSurveyID));
<SPAN class="error"><SPAN class="ln error-ln">88</SPAN>         $aData = $this-&gt;_collectGroupData($iSurveyID);
</SPAN><SPAN class="ln">89</SPAN>         $headings = array($clang-&gt;gT("Scope"), $clang-&gt;gT("Question group"), $clang-&gt;gT("Minimum"), $clang-&gt;gT("Maximum"));
<SPAN class="ln">90</SPAN>         $aData['actiontitle'] = $clang-&gt;gT("Add");
<SPAN class="ln">91</SPAN>         $aData['actionvalue'] = "assessmentadd";
<SPAN class="ln">92</SPAN>         $aData['editId'] = '';
<SPAN class="ln">93</SPAN> 
</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;C:\WAMP\apps\limesurvey2.00.120406\application\controllers\admin\assessments.php(64): 
      <STRONG>Assessments</STRONG>-&gt;<STRONG>_showAssessments</STRONG>("216621", 
      null, "en", Limesurvey_lang)				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">59</SPAN>             if ($iSurveyID == '') {
<SPAN class="ln">60</SPAN>                 show_error($clang-&gt;gT("No SID Provided"));
<SPAN class="ln">61</SPAN>                 die();
<SPAN class="ln">62</SPAN>             }
<SPAN class="ln">63</SPAN> 
<SPAN class="error"><SPAN class="ln error-ln">64</SPAN>             $this-&gt;_showAssessments($iSurveyID, $action, $surveyLanguage, $clang);
</SPAN><SPAN class="ln">65</SPAN>         }
<SPAN class="ln">66</SPAN> 
<SPAN class="ln">67</SPAN>     }
<SPAN class="ln">68</SPAN> 
<SPAN class="ln">69</SPAN>     /**
</PRE></DIV></TD></TR>
  <TR class="trace core collapsed">
    <TD class="number">				#2			</TD>
    <TD class="content">
      <DIV class="trace-file">										&nbsp;unknown(0): 
      <STRONG>Assessments</STRONG>-&gt;<STRONG>index</STRONG>("216621")				</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;C:\WAMP\apps\limesurvey2.00.120406\framework\web\actions\CAction.php(107): 
      <STRONG>ReflectionMethod</STRONG>-&gt;<STRONG>invokeArgs</STRONG>(Assessments, 
      array("216621"))				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">102</SPAN>             else if($param-&gt;isDefaultValueAvailable())
<SPAN class="ln">103</SPAN>                 $ps[]=$param-&gt;getDefaultValue();
<SPAN class="ln">104</SPAN>             else
<SPAN class="ln">105</SPAN>                 return false;
<SPAN class="ln">106</SPAN>         }
<SPAN class="error"><SPAN class="ln error-ln">107</SPAN>         $method-&gt;invokeArgs($object,$ps);
</SPAN><SPAN class="ln">108</SPAN>         return true;
<SPAN class="ln">109</SPAN>     }
<SPAN class="ln">110</SPAN> }
</PRE></DIV></TD></TR>
  <TR class="trace app expanded">
    <TD class="number">				#4			</TD>
    <TD class="content">
      <DIV class="trace-file">
      <DIV class="plus">+</DIV>
      <DIV 
      class="minus">–</DIV>&nbsp;C:\WAMP\apps\limesurvey2.00.120406\application\core\Survey_Common_Action.php(82): 
      <STRONG>CAction</STRONG>-&gt;<STRONG>runWithParamsInternal</STRONG>(Assessments, 
      ReflectionMethod, array("surveyid" =&gt; "216621", "sa" =&gt; "index", 
      "iSurveyId" =&gt; "216621", "iSurveyID" =&gt; "216621"))				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">77</SPAN>             $oMethod = new ReflectionMethod($this, $sDefault);
<SPAN class="ln">78</SPAN>         }
<SPAN class="ln">79</SPAN> 
<SPAN class="ln">80</SPAN>         // We're all good to go, let's execute it
<SPAN class="ln">81</SPAN>         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
<SPAN class="error"><SPAN class="ln error-ln">82</SPAN>         return parent::runWithParamsInternal($this, $oMethod, $params);
</SPAN><SPAN class="ln">83</SPAN>     }
<SPAN class="ln">84</SPAN> 
<SPAN class="ln">85</SPAN>     /**
<SPAN class="ln">86</SPAN>     * Some functions have different parameters, which are just an alias of the
<SPAN class="ln">87</SPAN>     * usual parameters we're getting in the url. This function just populates
</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;C:\WAMP\apps\limesurvey2.00.120406\framework\web\CController.php(309): 
      <STRONG>Survey_Common_Action</STRONG>-&gt;<STRONG>runWithParams</STRONG>(array("surveyid" 
      =&gt; "216621", "sa" =&gt; "index"))				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">304</SPAN>     {
<SPAN class="ln">305</SPAN>         $priorAction=$this-&gt;_action;
<SPAN class="ln">306</SPAN>         $this-&gt;_action=$action;
<SPAN class="ln">307</SPAN>         if($this-&gt;beforeAction($action))
<SPAN class="ln">308</SPAN>         {
<SPAN class="error"><SPAN class="ln error-ln">309</SPAN>             if($action-&gt;runWithParams($this-&gt;getActionParams())===false)
</SPAN><SPAN class="ln">310</SPAN>                 $this-&gt;invalidActionParams($action);
<SPAN class="ln">311</SPAN>             else
<SPAN class="ln">312</SPAN>                 $this-&gt;afterAction($action);
<SPAN class="ln">313</SPAN>         }
<SPAN class="ln">314</SPAN>         $this-&gt;_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>&nbsp;C:\WAMP\apps\limesurvey2.00.120406\framework\web\CController.php(287): 
      <STRONG>CController</STRONG>-&gt;<STRONG>runAction</STRONG>(Assessments)				</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-&gt;runAction($action);
</SPAN><SPAN class="ln">288</SPAN>         else
<SPAN class="ln">289</SPAN>         {
<SPAN class="ln">290</SPAN>             $priorAction=$this-&gt;_action;
<SPAN class="ln">291</SPAN>             $this-&gt;_action=$action;
<SPAN class="ln">292</SPAN>             CFilterChain::create($this,$action,$filters)-&gt;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>&nbsp;C:\WAMP\apps\limesurvey2.00.120406\framework\web\CController.php(266): 
      <STRONG>CController</STRONG>-&gt;<STRONG>runActionWithFilters</STRONG>(Assessments, 
      array())				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">261</SPAN>         {
<SPAN class="ln">262</SPAN>             if(($parent=$this-&gt;getModule())===null)
<SPAN class="ln">263</SPAN>                 $parent=Yii::app();
<SPAN class="ln">264</SPAN>             if($parent-&gt;beforeControllerAction($this,$action))
<SPAN class="ln">265</SPAN>             {
<SPAN class="error"><SPAN class="ln error-ln">266</SPAN>                 $this-&gt;runActionWithFilters($action,$this-&gt;filters());
</SPAN><SPAN class="ln">267</SPAN>                 $parent-&gt;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-&gt;missingAction($actionID);
</PRE></DIV></TD></TR>
  <TR class="trace app collapsed">
    <TD class="number">				#8			</TD>
    <TD class="content">
      <DIV class="trace-file">
      <DIV class="plus">+</DIV>
      <DIV 
      class="minus">–</DIV>&nbsp;C:\WAMP\apps\limesurvey2.00.120406\application\controllers\AdminController.php(149): 
      <STRONG>CController</STRONG>-&gt;<STRONG>run</STRONG>("assessments")				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">144</SPAN>                 Yii::app()-&gt;session['redirectopage'] = Yii::app()-&gt;request-&gt;requestUri;
<SPAN class="ln">145</SPAN> 
<SPAN class="ln">146</SPAN>                 $this-&gt;redirect($this-&gt;createUrl('/admin/authentication/login'));
<SPAN class="ln">147</SPAN>             }
<SPAN class="ln">148</SPAN> 
<SPAN class="error"><SPAN class="ln error-ln">149</SPAN>             return parent::run($action);
</SPAN><SPAN class="ln">150</SPAN>     }
<SPAN class="ln">151</SPAN> 
<SPAN class="ln">152</SPAN>     /**
<SPAN class="ln">153</SPAN>     * Routes all the actions to their respective places
<SPAN class="ln">154</SPAN>     *
</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;C:\WAMP\apps\limesurvey2.00.120406\framework\web\CWebApplication.php(276): 
      <STRONG>AdminController</STRONG>-&gt;<STRONG>run</STRONG>("assessments")				</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-&gt;_controller;
<SPAN class="ln">274</SPAN>             $this-&gt;_controller=$controller;
<SPAN class="ln">275</SPAN>             $controller-&gt;init();
<SPAN class="error"><SPAN class="ln error-ln">276</SPAN>             $controller-&gt;run($actionID);
</SPAN><SPAN class="ln">277</SPAN>             $this-&gt;_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}'=&gt;$route===''?$this-&gt;defaultController:$route)));
</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>&nbsp;C:\WAMP\apps\limesurvey2.00.120406\framework\web\CWebApplication.php(135): 
      <STRONG>CWebApplication</STRONG>-&gt;<STRONG>runController</STRONG>("admin/assessments/sa/index")				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">130</SPAN>             foreach(array_splice($this-&gt;catchAllRequest,1) as $name=&gt;$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-&gt;getUrlManager()-&gt;parseUrl($this-&gt;getRequest());
<SPAN class="error"><SPAN class="ln error-ln">135</SPAN>         $this-&gt;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">				#11			</TD>
    <TD class="content">
      <DIV class="trace-file">
      <DIV class="plus">+</DIV>
      <DIV 
      class="minus">–</DIV>&nbsp;C:\WAMP\apps\limesurvey2.00.120406\framework\base\CApplication.php(162): 
      <STRONG>CWebApplication</STRONG>-&gt;<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-&gt;hasEventHandler('onBeginRequest'))
<SPAN class="ln">161</SPAN>             $this-&gt;onBeginRequest(new CEvent($this));
<SPAN class="error"><SPAN class="ln error-ln">162</SPAN>         $this-&gt;processRequest();
</SPAN><SPAN class="ln">163</SPAN>         if($this-&gt;hasEventHandler('onEndRequest'))
<SPAN class="ln">164</SPAN>             $this-&gt;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">				#12			</TD>
    <TD class="content">
      <DIV class="trace-file">
      <DIV class="plus">+</DIV>
      <DIV 
      class="minus">–</DIV>&nbsp;C:\WAMP\apps\limesurvey2.00.120406\index.php(171): 
      <STRONG>CApplication</STRONG>-&gt;<STRONG>run</STRONG>()				</DIV>
      <DIV class="code"><PRE><SPAN class="ln">166</SPAN>  *
<SPAN class="ln">167</SPAN>  */
<SPAN class="ln">168</SPAN> require_once BASEPATH . 'yii' . EXT;
<SPAN class="ln">169</SPAN> require_once APPPATH . 'core/LSYii_Application' . EXT;
<SPAN class="ln">170</SPAN> 
<SPAN class="error"><SPAN class="ln error-ln">171</SPAN> Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)-&gt;run();
</SPAN><SPAN class="ln">172</SPAN> 
<SPAN class="ln">173</SPAN> /* End of file index.php */
<SPAN class="ln">174</SPAN> /* Location: ./index.php */</PRE></DIV></TD></TR></TBODY></TABLE></DIV>
<DIV class="version">		2012-04-10 19:12:52 Apache/2.2.21 (Win64) PHP/5.3.9 <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>
PHP notice.htm (20,147 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

Nostraa

Nostraa

2012-05-12 18:28

reporter   ~18722

Working on it

Nostraa

Nostraa

2012-05-15 16:51

reporter   ~18758

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8465

Related Changesets

LimeSurvey: Yii 1442f71b

2012-05-15 09:47

Nostraa


Details Diff
Fixed issue 06001: Assessment creation when there is no question group Affected Issues
06001
mod - .gitignore Diff File
mod - application/controllers/admin/assessments.php Diff File
mod - application/views/admin/assessments_view.php Diff File

Issue History

Date Modified Username Field Change
2012-04-10 22:10 user19295 New Issue
2012-04-10 22:10 user19295 File Added: PHP notice.htm
2012-04-10 22:12 user19295 Issue Monitored: user19295
2012-05-12 18:28 Nostraa Note Added: 18722
2012-05-14 12:53 c_schmitz Assigned To => Nostraa
2012-05-14 12:53 c_schmitz Status new => assigned
2012-05-15 16:51 Nostraa Changeset attached => LimeSurvey Yii 1442f71b
2012-05-15 16:51 Nostraa Note Added: 18758
2012-05-15 16:51 Nostraa Resolution open => fixed
2012-05-25 23:06 Nostraa Status assigned => resolved
2012-08-14 22:44 c_schmitz Status resolved => closed
2026-11-20 10:33 c_schmitz Category Assessments => (No Category)