View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05928Bug reportsSurvey editingpublic2012-03-20 02:59
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00a3 
Fixed in Version2.00b1 
Summary05928: Unable to edit answer or subquestion
Description

Try to edit answer :
Trying to get property of non-object
/home/[...]/application/controllers/admin/question.php(390)
$surveyinfo = array_merge($surveyinfo, $sumresult1->languagesettings->attributes);

Try to edit subquestion:
Trying to get property of non-object
/home/[...]/application/controllers/admin/question.php(390)
$surveyinfo = array_merge($surveyinfo, $sumresult1->languagesettings->attributes);

Same think but line 591.

For a quick fix , i remove :
$surveyinfo = array_merge($surveyinfo, $sumresult1->languagesettings->attributes);

But ....

Steps To Reproduce

Try to edit subquestion / answers

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)120318
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionMysql 5.1.49
Server OS (if known)debian/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.3.3-7

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-03-20 02:44

administrator   ~18001

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

Related Changesets

LimeSurvey: Yii b57d62a2

2012-03-19 18:44:12

c_schmitz

Details Diff
Fixed issue: Problems with using the File Upload question type
Dev Fixed issue 05928: Unable to edit answer or subquestion
Affected Issues
05928
mod - application/controllers/admin/printablesurvey.php Diff File
mod - application/controllers/admin/question.php Diff File
mod - application/controllers/admin/translate.php Diff File
mod - scripts/modaldialog.js Diff File
mod - scripts/uploader.js Diff File

Issue History

Date Modified Username Field Change
2012-03-18 17:23 DenisChenu New Issue
2012-03-19 16:52 c_schmitz Assigned To => c_schmitz
2012-03-19 16:52 c_schmitz Status new => assigned
2012-03-20 02:44 c_schmitz Changeset attached => LimeSurvey Yii b57d62a2
2012-03-20 02:44 c_schmitz Note Added: 18001
2012-03-20 02:44 c_schmitz Resolution open => fixed
2012-03-20 02:59 c_schmitz Status assigned => closed
2012-03-20 02:59 c_schmitz Fixed in Version => 2.00b1
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing