View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08904Bug reportsOtherpublic2021-03-01 15:48
Reporterorvil Assigned Toc_schmitz  
PrioritynormalSeveritycrash 
Status closedResolutionfixed 
Product Version2.05+ 
Summary08904: QuestionAttribute::model()->setQuestionAttribute() does not work if no attribute is set yet
Description

function setQuestionAttribute($iQuestionID,$sAttributeName, $sValue)

application/models/QuestionAttribute.php (~line 81) does not set any attribute if the attribute is not yet set in the database.

If the attribute is set already, it can be altered by this function.

May be it's because of the Yii updateAll() function is used.

Steps To Reproduce

Set a setQuestion Attribute() anywhere to store a yet unstored value (eg. attribute 'hidden')

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)140302
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmySQL 5
Server OS (if known)LINUX
Webserver software & version (if known)apache
PHP Version5.3
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

orvil

orvil

2014-03-27 11:09

reporter   ~29568

problem is solved with 08863

Issue History

Date Modified Username Field Change
2014-03-25 16:11 orvil New Issue
2014-03-27 11:09 orvil Note Added: 29568
2014-03-28 17:11 DenisChenu Project Bug reports => @10@
2014-03-28 17:12 DenisChenu Assigned To => DenisChenu
2014-03-28 17:12 DenisChenu Status new => assigned
2016-05-31 10:35 DenisChenu Assigned To DenisChenu =>
2021-03-01 15:48 c_schmitz Assigned To => c_schmitz
2021-03-01 15:48 c_schmitz Status assigned => closed
2021-03-01 15:48 c_schmitz Resolution open => fixed