View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07727Bug reportsCentral participant databasepublic2026-11-20 18:03
Reporterjopsvanthof Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary07727: participant attributes: when changing attribute (dropdown) values, participants can contain "old" attribute values
Description

When you change an existing value of an attribute (type: dropdown), participants that already have this value for that attribute will then contain an "old" or "illegal" value. This does not seem to be noticed in any integrity check.

1) open the CPDB panel
2) click "display participants"
3) look at participant "Alain D" and the attribute value for "School" (i.e. "Roosevelt High")
4) open the "attribute management" screen
5) check the possible values for attribute "School" (i.e. "Washington High" and "Licoln Elementary" (typo, sorry!))
6) value "Washington High" used to be "Roosevelt High"

Steps To Reproduce

1) open the CPDB panel
2) open the "attribute management" screen
3) edit the "School" attribute
4) change the value "Washington High" into "XYZ High"
5) save changes
6) open "display participants" screen
7) notice that now both participants "Alain D" and "Betsy H" have "illegal" or "old" values for the "School" attribute
8) go to the "main admin screen"
9) click "check data integrity" (5th button from left, DB shape with checkmark)
10) report comes out "clean": no integrity problems...

Additional Information

I know, you should think about what attributes and what values you want to use BEFORE you start assigning them. But it would have been nice if it would have showed up in the "check data integrity" report (which is an AWESOME feature btw!!!)

TagsNo tags attached.
Attached Files
Archive.zip (4,986 bytes)
Bug heat2
Complete LimeSurvey version number (& build)130325
I will donate to the project if issue is resolvedNo
BrowserSafari - Version 6.0.2 (7536.26.17)
Database type & versionMySQL - version 5.5.30-cll
Server OS (if known)linux
Webserver software & version (if known)apache - version 2.2.22
PHP Version5.3.15
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-11-19 22:49

administrator   ~87770

This describes a problem in an existing feature rather than a development task, so it is moved to the bug reports.

c_schmitz

c_schmitz

2026-11-20 18:03

administrator   ~87855

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

Related Changesets

LimeSurvey: master 9d9f3b42

2026-11-20 18:02

c_schmitz


Details Diff
Fixed issue 07727: Saving a participant in the central participant database emptied a dropdown attribute whose value was no longer one of the attribute's options
Dev The edit participant modal now offers the stored value as an extra option marked as no longer in the list
Affected Issues
07727
mod - application/views/admin/participants/modal_subviews/attributes/dropdown.php Diff File
add - tests/unit/views/ParticipantAttributeDropdownViewTest.php Diff File

Issue History

Date Modified Username Field Change
2013-04-02 19:20 jopsvanthof New Issue
2013-04-02 19:20 jopsvanthof File Added: Archive.zip
2013-04-21 13:00 c_schmitz Project Bug reports => @10@
2026-11-19 22:49 c_schmitz Note Added: 87770
2026-11-19 22:49 c_schmitz Bug heat 0 => 2
2026-11-19 22:49 c_schmitz Project @10@ => Bug reports
2026-11-19 22:49 c_schmitz Product Version 2.00+ =>
2026-11-20 18:03 c_schmitz Changeset attached => LimeSurvey master 9d9f3b42
2026-11-20 18:03 c_schmitz Note Added: 87855
2026-11-20 18:03 c_schmitz Assigned To => c_schmitz
2026-11-20 18:03 c_schmitz Status new => resolved
2026-11-20 18:03 c_schmitz Resolution open => fixed