View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17264Bug reportsSurvey participants (Tokens)public2021-07-12 11:53
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.25.20 
Summary17264: Set validuntil and validfrom when import token via CSV is harder than before
Description

In september : import token with validuntil to 2021-12-12 is OK.
Since october : receive an error, and token is not imported.

Steps To Reproduce

Create survey
activate tokens
impport included csv file
See the error

Additional Information

Start at https://github.com/LimeSurvey/LimeSurvey/commit/b9ecae7b42d00cf195f33bfad66cd875c78d3315
Updated at https://github.com/LimeSurvey/LimeSurvey/commit/f70e1c920719a5585a205f2a6f83ad36593931ba

Maybe we can use
['yyyy-M-d H:m:s.???','yyyy-M-d H:m:s','yyyy-M-d H:m','yyyy-M-d'] ?

TagsNo tags attached.
Attached Files
token-validuntil.csv (69 bytes)   
firstname,lastname,email,validfrom
,Name,user@example.org,2021-06-15
token-validuntil.csv (69 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)3.26.0
I will donate to the project if issue is resolvedNo
Browsernot relevant ?
Database type & versionmariadb / mssql
Server OS (if known)fedora/linux / Windows
Webserver software & version (if known)nginx / IIS
PHP Versionphp7.4 and 73

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2021-04-20 18:58

developer   ~64071

ping @c_schmitz

c_schmitz

c_schmitz

2021-04-20 21:37

administrator   ~64073

Sure, can add it.

c_schmitz

c_schmitz

2021-04-20 21:40

administrator   ~64074

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=31615

c_schmitz

c_schmitz

2021-04-20 21:42

administrator   ~64075

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

c_schmitz

c_schmitz

2021-07-12 11:53

administrator   ~65349

Release done.

Related Changesets

LimeSurvey: 3.x-LTS 10f4f6ba

2021-04-20 21:40:38

c_schmitz

Details Diff
Fixed issue 17264: Validuntil and validfrom fields don't allow just date (without time) aynmore Affected Issues
17264
mod - application/models/Token.php Diff File

LimeSurvey: master 150022bf

2021-04-20 21:40:38

c_schmitz

Details Diff
Fixed issue 17264: Validuntil and validfrom fields don't allow just date (without time) aynmore Affected Issues
17264
mod - application/models/Token.php Diff File

Issue History

Date Modified Username Field Change
2021-04-20 18:57 DenisChenu New Issue
2021-04-20 18:57 DenisChenu File Added: Capture d’écran_2021-04-20_18-47-02.png
2021-04-20 18:57 DenisChenu File Added: token-validuntil.csv
2021-04-20 18:58 DenisChenu Note Added: 64071
2021-04-20 21:37 c_schmitz Note Added: 64073
2021-04-20 21:39 c_schmitz Assigned To => c_schmitz
2021-04-20 21:39 c_schmitz Status new => assigned
2021-04-20 21:40 c_schmitz Changeset attached => LimeSurvey 3.x-LTS 10f4f6ba
2021-04-20 21:40 c_schmitz Note Added: 64074
2021-04-20 21:40 c_schmitz Resolution open => fixed
2021-04-20 21:42 c_schmitz Changeset attached => LimeSurvey master 150022bf
2021-04-20 21:42 c_schmitz Note Added: 64075
2021-04-20 21:42 c_schmitz Status assigned => resolved
2021-07-12 11:53 c_schmitz Note Added: 65349
2021-07-12 11:53 c_schmitz Status resolved => closed