View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06468Bug reportsOtherpublic2012-08-16 10:22
ReporterFred Assigned Tojcleeland  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC8 
Target Version2.00RC9Fixed in Version2.00RC9 
Summary06468: Can't set participant attribute value to 0 on drop down
Description

I have several drop-down list attributes with valid values of 0 or 1. If I change an attribute value from 1 to 0 and save, then refresh the screen, it goes back to 1.

Steps To Reproduce

Create a drop down attribute
Add values of 1 and 0
Create a participant
Set your attribute to 1 and save
Edit the attribute to 0 and save
Refresh list

Additional Information

It doesn't seem to like storing 0 in attributes

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120721
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMysql 5
Server OS (if known)Mac OSX
Webserver software & version (if known)Apache
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

jcleeland

jcleeland

2012-08-14 05:35

reporter   ~20407

Hmmm. I can't even create an attribute with a value of zero, let alone get to editing a participants value for that attribute!

jcleeland

jcleeland

2012-08-14 06:18

reporter   ~20409

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

Fred

Fred

2012-08-14 20:44

reporter   ~20425

You know, now that you mention it, I think I may have changed from Y/N to 1/0 and just done it right in the database. This was back when the CPD interface wasn't working so well. Thanks for fixing!

c_schmitz

c_schmitz

2012-08-16 10:22

administrator   ~20442

Version 2.00 RC 9 released.

Related Changesets

LimeSurvey: Yii 008e2932

2012-08-13 21:17:58

jcleeland

Details Diff
Fixed issue 06468 - Can't set participant attribute value to 0 (zero) on drop down Affected Issues
06468
mod - application/controllers/admin/participantsaction.php Diff File
mod - application/models/ParticipantAttributeNames.php Diff File

Issue History

Date Modified Username Field Change
2012-08-11 22:05 Fred New Issue
2012-08-12 16:53 c_schmitz Assigned To => jcleeland
2012-08-12 16:53 c_schmitz Status new => assigned
2012-08-12 16:53 c_schmitz Target Version => 2.00RC9
2012-08-14 05:35 jcleeland Note Added: 20407
2012-08-14 06:18 jcleeland Changeset attached => LimeSurvey Yii 008e2932
2012-08-14 06:18 jcleeland Note Added: 20409
2012-08-14 06:18 jcleeland Resolution open => fixed
2012-08-14 06:19 jcleeland Status assigned => resolved
2012-08-14 20:44 Fred Note Added: 20425
2012-08-16 00:15 c_schmitz Fixed in Version => 2.00RC9
2012-08-16 10:22 c_schmitz Note Added: 20442
2012-08-16 10:22 c_schmitz Status resolved => closed