View Issue Details

IDProjectCategoryView StatusLast Update
08904Development [All Projects] Otherpublic2016-05-31 10:35
Reporterorvil Assigned To 
PrioritynormalSeverityblock 
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
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.

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 => Development
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 =>