View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
06160Bug reportsImport/Exportpublic2012-06-07 11:05
ReporterTMSWhite Assigned ToTMSWhite  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00RC3 
Summary06160: unable to import .lss files
Description

Importing /docs/demosurveys/ls2_cascading_array_filter.lss fails with message:

Property "Survey.showxquestions" is not defined.

C:\xampp\htdocs\git\limesurvey_yii\framework\db\ar\CActiveRecord.php(160)

148 PHP setter magic method.
149
This method is overridden so that AR attributes can be accessed like properties.
150 @param string $name property name
151
@param mixed $value property value
152 */
153 public function __set($name,$value)
154 {
155 if($this->setAttribute($name,$value)===false)
156 {
157 if(isset($this->getMetaData()->relations[$name]))
158 $this->_related[$name]=$value;
159 else
160 parent::set($name,$value);
161 }
162 }
163
164 /*
165
Checks if a property value is null.
166 This method overrides the parent implementation by checking
167
if the named attribute is null or not.
168 @param string $name the property name or the event name
169
@return boolean whether the property value is null
170 */
171 public function
isset($name)
172 {

Additional Information

This is a fresh install of 2.0rc2

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)120530
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3

Relationships

has duplicate 06161 closedTMSWhite Unable to create a new survey 

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-06-01 18:03

reporter   ~19026

Actually, this prevents import all all of the existing docs/demosurveys, so will also likely prevent import of other historical surveys.

DenisChenu

DenisChenu

2012-06-01 18:10

developer   ~19027

It's for create survey. not only for importing ;)

TMSWhite

TMSWhite

2012-06-01 18:25

reporter   ~19029

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

Related Changesets

LimeSurvey: Yii 9cbc58b0

2012-06-01 09:23:04

TMSWhite

Details Diff
Fixed issue 06160: unable to import .lss files
Fixed issue 06161: Unable to create a new survey
Affected Issues
06160, 06161
mod - application/helpers/update/updatedb_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-06-01 18:02 TMSWhite New Issue
2012-06-01 18:03 TMSWhite Note Added: 19026
2012-06-01 18:05 TMSWhite Priority normal => high
2012-06-01 18:05 TMSWhite Severity minor => partial_block
2012-06-01 18:05 TMSWhite Summary import does not gracefully handle unknown attributes => unable to import .lss files
2012-06-01 18:10 DenisChenu Relationship added duplicate of 06161
2012-06-01 18:10 DenisChenu Note Added: 19027
2012-06-01 18:11 DenisChenu Relationship deleted 06161
2012-06-01 18:11 DenisChenu Relationship added has duplicate 06161
2012-06-01 18:25 TMSWhite Changeset attached => LimeSurvey Yii 9cbc58b0
2012-06-01 18:25 TMSWhite Note Added: 19029
2012-06-01 18:25 TMSWhite Assigned To => TMSWhite
2012-06-01 18:25 TMSWhite Resolution open => fixed
2012-06-01 18:26 TMSWhite Status new => resolved
2012-06-07 11:05 c_schmitz Status resolved => closed