View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06622Bug reportsOtherpublic2012-10-02 17:15
Reporterrwweb Assigned Toc_schmitz  
PriorityhighSeverityblock 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06622: Undefined variable: surveyid
Description

Program crashes in:
index.php/admin/templates/view

Steps To Reproduce
  1. Manually updated to build: 120931 from 120925 (?)
  2. Logied in as admin
  3. Click on "Template Editor"
    Crash
Additional Information

Undefined variable: surveyid
application/helpers/replacements_helper.php(576)
Line: 576
$_saveform .="<tr><td align='right'>" . $clang->gT("Security question") . ":</td><td><table><tr><td valign='middle'><img src='".Yii::app()->getController()->createUrl('/verification/image/sid/'.$surveyid)."' alt='' /></td><td valign='middle' style='text-align:left'><input type='text' size='5' maxlength='3' name='loadsecurity' value='' /></td></tr></table></td></tr>\n";

I have never tried to access Template Editor before so I have no idea if this is a regression or new bug.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)120931
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome
Database type & versionMySQL 5.1.63 163
Server OS (if known)Centos 6.3 x64
Webserver software & version (if known)Apache
PHP Version5.3.16

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-10-01 21:01

administrator   ~20958

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=9604

c_schmitz

c_schmitz

2012-10-02 17:15

administrator   ~20991

New Version 2.00+ Build 121002 released. If you are using 120926 or later you should be able to update by ComfortUpdate. All earlier versions need to update manually.

Related Changesets

LimeSurvey: master 144d425a

2012-10-01 12:01:26

c_schmitz

Details Diff
Fixed issue 06622: Error when opening template editor Affected Issues
06622
mod - application/helpers/replacements_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-10-01 17:26 rwweb New Issue
2012-10-01 21:01 c_schmitz Assigned To => c_schmitz
2012-10-01 21:01 c_schmitz Status new => assigned
2012-10-01 21:01 c_schmitz Changeset attached => LimeSurvey master 144d425a
2012-10-01 21:01 c_schmitz Note Added: 20958
2012-10-01 21:01 c_schmitz Resolution open => fixed
2012-10-01 21:01 c_schmitz Status assigned => resolved
2012-10-01 21:01 c_schmitz Fixed in Version => 2.00+
2012-10-02 17:15 c_schmitz Note Added: 20991
2012-10-02 17:15 c_schmitz Status resolved => closed