View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05822Bug reportsSurvey editingpublic2012-03-11 16:32
ReporterMazi Assigned ToDenisChenu  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00a2 
Target Version2.00a2Fixed in Version2.00a2 
Summary05822: googleanalyticsapikey error when trying to edit survey settings
Description

If I try to edit the survey settings of the attached survey, I get the following error:
"CException
Property "Survey.googleanalyticsapikey" is not defined.
C:\xampp\htdocs\limesurvey_yii\framework\db\ar\CActiveRecord.php(129)

117 */
118 public function get($name)
119 {
120 if(isset($this->_attributes[$name]))
121 return $this->_attributes[$name];
122 else if(isset($this->getMetaData()->columns[$name]))
123 return null;
124 else if(isset($this->_related[$name]))
125 return $this->_related[$name];
126 else if(isset($this->getMetaData()->relations[$name]))
127 return $this->getRelated($name);
128 else
129 return parent::
get($name);
130 }
131
132 /*
133
PHP setter magic method.
134 This method is overridden so that AR attributes can be accessed like properties.
135
@param string $name property name
136 @param mixed $value property value
137
/
138 public function __set($name,$value)
139 {
140 if($this->setAttribute($name,$value)===false)
141 {
"

Steps To Reproduce
  1. Import the attaches survey
  2. Edit the survey's general settings
Additional Information

Do I need to do a fresh install/might this be connected to missing DB columns?

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)12448
I will donate to the project if issue is resolvedNo
BrowserFirefox 9
Database type & versionMySQL 5
Server OS (if known)Win 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-02-16 17:51

reporter   ~17469

This works fine in 1.92. It may relate to the case changes in that attribute. Either way, someone else will need to take this one - I'm swamped.

DenisChenu

DenisChenu

2012-02-16 18:51

developer   ~17476

Last edited: 2012-02-16 19:35

It work too in Yii with Mysql.

Can't reproduce with :

  • fresh install

Instruction on update are good too.

DenisChenu

DenisChenu

2012-02-16 19:36

developer   ~17478

You can install again or rename the column in phpmyadmin

DenisChenu

DenisChenu

2012-02-18 01:06

developer   ~17504

Reminder sent to: Mazi

Can you test this with a fresh install ?

I think it's not really a bug.

Mazi

Mazi

2012-02-21 13:26

updater   ~17527

I will test once I can import a survey (when http://bugs.limesurvey.org/view.php?id=5826 is fixed).

Mazi

Mazi

2012-02-21 13:28

updater   ~17528

works fine now

c_schmitz

c_schmitz

2012-03-11 16:32

administrator   ~17847

2.00alpha 2 Build 120212 released

Issue History

Date Modified Username Field Change
2012-02-15 12:07 Mazi New Issue
2012-02-15 12:07 Mazi Status new => assigned
2012-02-15 12:07 Mazi Assigned To => TMSWhite
2012-02-15 12:07 Mazi File Added: limesurvey_survey_744984.lss
2012-02-16 17:51 TMSWhite Note Added: 17469
2012-02-16 17:51 TMSWhite Assigned To TMSWhite =>
2012-02-16 18:18 Mazi Assigned To => DenisChenu
2012-02-16 18:51 DenisChenu Note Added: 17476
2012-02-16 19:35 DenisChenu Note Edited: 17476
2012-02-16 19:36 DenisChenu Note Added: 17478
2012-02-18 01:06 DenisChenu Note Added: 17504
2012-02-21 13:26 Mazi Note Added: 17527
2012-02-21 13:26 Mazi Status assigned => feedback
2012-02-21 13:28 Mazi Note Added: 17528
2012-02-21 13:28 Mazi Status feedback => assigned
2012-02-21 13:28 Mazi Status assigned => resolved
2012-02-21 13:28 Mazi Fixed in Version => 2.00a2
2012-02-21 13:28 Mazi Resolution open => fixed
2012-03-11 16:32 c_schmitz Note Added: 17847
2012-03-11 16:32 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing