View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20230Bug reportsSurvey participants (Tokens)public2025-08-27 10:47
ReporterDenisChenu Assigned To 
PrioritynoneSeverityblock 
Status newResolutionopen 
Product Version6.6.x 
Summary20230: Unable to set "Closed access mode" after activation
Description

When a survey is already activated without token table and token table was create aftre : no way to set as closed access mode.

Surye can be answered without tokebn.

Steps To Reproduce

Steps to reproduce

Create a survey
Activate as Open access mode
Create a token table
Launch survey : no token asked

Expected result

Token asled (like X or etc …)
Or a settoing to force token (closed access mode)

Actual resul

No way to update closed/open access mode after activation

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.15.
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

Relationships

related to 20193 new There is no way to create an empty participant table. 
related to 20247 new Cannot choose between open and closed access mode without activating a survey 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2025-08-20 18:22

developer   ~83266

PS : it happen with a copied survey : seems this settings is set 'Open' by default.
Unsure what happen when update

Just have a urgent call by a prospect about this issue.

asshank

asshank

2025-08-23 10:38

reporter   ~83282

By default.. INSERT a record ommitting access_mode will result in access_mode = 'O'

asshank

asshank

2025-08-24 13:27

reporter   ~83283

A closer look... access_mode seems obsolete. It is not used in the code anymore.

asshank

asshank

2025-08-24 14:25

reporter   ~83284

We had all sorts of issues with tokens in the most recent versions
We went back to 6.15.1+250625 and all is well again! It works like a charm!

DenisChenu

DenisChenu

2025-08-25 08:53

developer   ~83286

I just test on https://shnoulle.limesurvey.net

If you leave Open access mode when activate :

Even with token table : you can enter survey
https://shnoulle.limesurvey.net/327729?newtest=Y
https://shnoulle.limesurvey.net/327729?token=TOKENTEST&newtest=Y

DenisChenu

DenisChenu

2025-08-25 08:54

developer   ~83287

asshank

asshank

2025-08-25 10:00

reporter   ~83289

I noticed just now... in lime_survey table 'access_mode' ('O' default or 'C') is introduced in 6.15.7.
So it is brand new. But I think this setting is not very good implemented yet.

For us one thing is very clear... Token management is faulty in 6.15.7 and 1 or 2 versions before that.

asshank

asshank

2025-08-25 10:48

reporter   ~83292

token management:
6.15.4 is OK
6.15.5 onward Fails

asshank

asshank

2025-08-25 11:22

reporter   ~83295

correction 6.15.4 is also at fault...
6.15.3 is OK

asshank

asshank

2025-08-25 11:44

reporter   ~83299

As of 5.16.4 this form is not shown anymore (restore old tokens)
So for us 5.16.3 is the fixed version. Until tokenmanagement is completely fixed

asshank

asshank

2025-08-25 11:45

reporter   ~83300

correction...
As of 6.16.4 this form is not shown anymore (restore old tokens)
So for us 6.16.3 is the fixed version. Until tokenmanagement is completely fixed

asshank

asshank

2025-08-25 11:46

reporter   ~83301

see also https://bugs.limesurvey.org/view.php?id=20235

asshank

asshank

2025-08-25 11:58

reporter   ~83305

For what it is worth:
IMHO: https://github.com/LimeSurvey/LimeSurvey/pull/4300 is causing the issues

Issue History

Date Modified Username Field Change
2025-08-20 18:20 DenisChenu New Issue
2025-08-20 18:22 DenisChenu Note Added: 83266
2025-08-20 18:22 DenisChenu Bug heat 0 => 2
2025-08-23 10:38 asshank Note Added: 83282
2025-08-23 10:38 asshank Bug heat 2 => 4
2025-08-24 13:27 asshank Note Added: 83283
2025-08-24 14:25 asshank Note Added: 83284
2025-08-25 08:53 DenisChenu Note Added: 83286
2025-08-25 08:54 DenisChenu Note Added: 83287
2025-08-25 08:54 DenisChenu File Added: Capture d’écran du 2025-08-25 08-45-21.png
2025-08-25 10:00 asshank Note Added: 83289
2025-08-25 10:48 asshank Note Added: 83292
2025-08-25 11:22 asshank Note Added: 83295
2025-08-25 11:44 asshank Note Added: 83299
2025-08-25 11:44 asshank File Added: Schermafbeelding 2025-08-25 112534.png
2025-08-25 11:45 asshank Note Added: 83300
2025-08-25 11:46 asshank Note Added: 83301
2025-08-25 11:49 DenisChenu Relationship added related to 20193
2025-08-25 11:58 asshank Note Added: 83305
2025-08-27 10:47 DenisChenu Relationship added related to 20247