View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06506Bug reportsCentral participant databasepublic2012-09-20 14:12
Reporterlolo Assigned Tojcleeland  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC9 
Fixed in Version2.00+ 
Summary06506: Central Participant Database: admin language should not determine the list of shown attributes
Description

This is related to past issues 06429 and 06381, but this one concerns the list of participants.
In the list (grid) of participants, only attributes whose language match admin language are shown (that is, there is a column for them). Attributes in other languages (other than the language in which admin is currently logged in) do not appear in the list as a column.

Admin language should not determine what attributes are shown (but admin language can be used to determine what language version of an attribute name to show).

Steps To Reproduce
  • make sure at least one participant is in the panel
  • log as admin using english language
  • go to cpdb
  • create participant attribute "EN" (default language is going to be english)
  • log out
  • log as admin using french language
  • go to cpdb
  • create participant attribute "FR" (default language is going to be french)
  • display list of participants
    => only attribute "FR" is shown

likewise:

  • log out
  • log as admin using english language
  • go to cpdb
  • display list of participants
    => only attribute "EN" is shown
TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120817
I will donate to the project if issue is resolvedYes
BrowserSafari 5.1.7 (Mac)
Database type & versionMysql 5.5.24
Server OS (if known)Linux 2.6.27.52
Webserver software & version (if known)Apache 2
PHP Version5.3.14

Users monitoring this issue

lolo

Activities

lolo

lolo

2012-08-20 01:00

reporter   ~20538

Suggestion: In case the original attribute is multi-lingual (has n names for n languages), then maybe that in that situation the admin language should be used to select the appropriate name to display in grid. Otherwise, if the attribute has only one name for a single language, then just use that one.

jcleeland

jcleeland

2012-09-17 13:16

reporter   ~20715

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

Related Changesets

LimeSurvey: Yii a7fb3cf0

2012-09-17 06:15

jcleeland


Details Diff
Fixed issue 06506 - Central Participant Database: admin language should not determine the list of shown attributes Affected Issues
06506
mod - application/controllers/admin/participantsaction.php Diff File
mod - application/models/ParticipantAttributeNames.php Diff File

Issue History

Date Modified Username Field Change
2012-08-20 00:18 lolo New Issue
2012-08-20 01:00 lolo Note Added: 20538
2012-08-20 13:15 c_schmitz Status new => assigned
2012-08-20 13:15 c_schmitz Assigned To => jcleeland
2012-08-22 21:29 lolo Issue Monitored: lolo
2012-08-22 22:59 c_schmitz Category Tokens => Central participant database
2012-09-17 13:16 jcleeland Changeset attached => LimeSurvey Yii a7fb3cf0
2012-09-17 13:16 jcleeland Note Added: 20715
2012-09-17 13:16 jcleeland Resolution open => fixed
2012-09-17 13:18 jcleeland Status assigned => resolved
2012-09-17 13:18 jcleeland Fixed in Version => 2.00+
2012-09-20 14:12 c_schmitz Status resolved => closed
2021-08-02 18:48 guest Bug heat 4 => 6