View Issue Details

This issue affects 2 person(s).
 8
IDProjectCategoryView StatusLast Update
15652Bug reportsSurvey participants (Tokens)public2026-10-29 20:17
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version3.21.0 
Summary15652: Some token attribute show as invalid, but are valid
Description

TOKEN:SENT for example can be used in survey , but show as invalid for admin user.

Steps To Reproduce
  1. Import included LSA,
  2. Goes to Structure/Q00 : see the error
  3. Check survey logic : error still there
  4. Goes to browse participant
  5. Lauch 1st one, go the 1st page : no error
  6. Check again Q00 : no error
TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)3.21.1
I will donate to the project if issue is resolvedNo
Browsernot relevant ?
Database type & versionnot relevant?
Server OS (if known)not relevant ?
Webserver software & version (if known)not relevant ?
PHP Versionnot relevant ?
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-10-29 20:17

administrator   ~87003

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

Related Changesets

LimeSurvey: master 8453bd4f

2026-10-29 20:16

c_schmitz


Details Diff
Fixed issue 15652: TOKEN:PARTICIPANT_ID and other participant table columns were shown as invalid in the question summary and survey logic file
Dev Without a participant in the session, the TOKEN: variables now come from the participant table columns (as at survey runtime) instead of getTokenFieldsAndNames(), which lacks participant_id, tid, blacklisted, validfrom, validuntil and mpid
Affected Issues
15652
mod - application/helpers/expressions/em_manager_helper.php Diff File
add - tests/data/surveys/limesurvey_survey_15652_participant_table_columns.lss Diff File
add - tests/unit/helpers/SurveyLogicFileParticipantTableColumnsTest.php Diff File

Issue History

Date Modified Username Field Change
2019-12-10 08:11 DenisChenu New Issue
2019-12-10 08:11 DenisChenu File Added: Capture d’écran du 2019-12-10 08-01-25.png
2019-12-10 08:11 DenisChenu File Added: Capture d’écran du 2019-12-10 08-11-42.png
2019-12-10 08:11 DenisChenu File Added: survey_archive_219542.lsa
2019-12-15 21:49 cdorin Assigned To => cdorin
2019-12-15 21:49 cdorin Status new => assigned
2021-02-04 10:15 cdorin Status assigned => new
2021-02-04 21:33 cdorin Assigned To cdorin =>
2021-02-04 21:33 cdorin Status new => acknowledged
2021-10-07 12:46 Mazi Bug heat 0 => 6
2026-10-29 20:17 c_schmitz Changeset attached => LimeSurvey master 8453bd4f
2026-10-29 20:17 c_schmitz Note Added: 87003
2026-10-29 20:17 c_schmitz Assigned To => c_schmitz
2026-10-29 20:17 c_schmitz Status acknowledged => resolved
2026-10-29 20:17 c_schmitz Resolution open => fixed
2026-10-29 20:17 c_schmitz Bug heat 6 => 8