View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09926Bug reportsCentral participant databasepublic2015-09-30 11:01
ReporterResearchOnBlogs Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Target Version2.06+Fixed in Version2.06+ 
Summary09926: try to store dop down values causes an exception
Description

If you try to store the values of a drop down you get an exception

Additional Information

The value for the column "attribute_id" is not supplied when querying the table "lime_participant_attribute_names".

/framework/db/schema/CDbCommandBuilder.php(621): CDbCommandBuilder->createInCondition(CMysqlTableSchema, array("attribute_id", "attribute_type"), array("6"), "t.")

621 $condition=$this->createInCondition($table,$table->primaryKey,$pk,$prefix);

framework/db/ar/CActiveRecord.php(1485): CDbCommandBuilder->createPkCriteria(CMysqlTableSchema, "6", "", array(), ...)

1485 $criteria=$this->getCommandBuilder()->createPkCriteria($this->getTableSchema(),$pk,$condition,$params,$prefix);

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)ef8e4e62bc6a178050763c88208e
I will donate to the project if issue is resolvedNo
Browser
Database type & versionxx
Server OS (if known)xx
Webserver software & version (if known)xx
PHP Versionxx

Users monitoring this issue

There are no users monitoring this issue.

Activities

ResearchOnBlogs

ResearchOnBlogs

2015-09-29 16:46

developer   ~33205

solved create a pull request

c_schmitz

c_schmitz

2015-09-30 10:57

administrator   ~33213

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

c_schmitz

c_schmitz

2015-09-30 11:01

administrator   ~33215

Version 2.06+ Build 150930 released

Related Changesets

LimeSurvey: master 2892688a

2015-09-29 08:53:34

kairavesloot

Details Diff
Fixed issue 09926: Can't save dropdown values in CPD

Error causes becasue the table has 2 primary key
Affected Issues
09926
mod - application/models/ParticipantAttributeName.php Diff File

LimeSurvey: master 186a9385

2015-09-30 08:57:31

c_schmitz

Details Diff
Merge pull request #371 from KRav007/feature/Fixed_issue_9926_CPD_dropdown

Fixed issue 09926: Can't save dropdown values in CPD
Affected Issues
09926
mod - application/models/ParticipantAttributeName.php Diff File

Issue History

Date Modified Username Field Change
2015-09-28 18:14 ResearchOnBlogs New Issue
2015-09-28 18:14 ResearchOnBlogs File Added: Bildschirmfoto 2015-09-28 um 17.11.15.png
2015-09-29 10:29 ResearchOnBlogs File Deleted: Bildschirmfoto 2015-09-28 um 17.11.15.png
2015-09-29 16:30 c_schmitz Assigned To => c_schmitz
2015-09-29 16:30 c_schmitz Status new => assigned
2015-09-29 16:46 ResearchOnBlogs Note Added: 33205
2015-09-30 10:57 Changeset attached => LimeSurvey master 2892688a
2015-09-30 10:57 c_schmitz Changeset attached => LimeSurvey master 186a9385
2015-09-30 10:57 c_schmitz Note Added: 33213
2015-09-30 10:57 c_schmitz Resolution open => fixed
2015-09-30 10:57 c_schmitz Status assigned => resolved
2015-09-30 10:57 c_schmitz Fixed in Version => 2.06+
2015-09-30 11:01 c_schmitz Note Added: 33215
2015-09-30 11:01 c_schmitz Status resolved => closed