View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10724 | Bug reports | Survey editing | public | 2016-03-09 23:50 | 2016-05-25 09:03 |
Reporter | wingman123 | Assigned To | |||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.50.x | ||||
Summary | 10724: Date Question Default value inconsistent behavior w/ token persistence enabled | ||||
Description | Hi, Within LimeSurvey 2.5 + https://github.com/LimeSurvey/LimeSurvey/commit/6cdbed03678cddf9cd3029742cd24433e46e79ec Things I've tried: Therefore the token persistence must be enabled to view this issue Within the code: in qanda_helper.php
Thanks for the help, this is a random one | ||||
Steps To Reproduce |
2 groups: Enable Tokens Enable Full index and Prev button (although I've tried with just Next enabled as well) Execute the survey again with the same token Entered data and saving work fine as do saving instead of closing the survey the first time. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | Build 160309 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome, Firefox | ||||
Database type & version | Postgres 9.4.4 | ||||
Server OS (if known) | Mac OSX 10.11 | ||||
Webserver software & version (if known) | Apache/2.4.16 | ||||
PHP Version | 5.6.13 | ||||
This same behavior also appears to be happening with a numerical input type question |
|
Also multiple numeric question types. Array question types seem to be fine however as are long free text |
|
I noticed these question types have extra logic when looking at startingValues in em_manager_helper.php - not sure if thats the issue |
|
So this is actually the bit of logic causing the issue: Is this to be expected? shouldn't this behave like the other questions even with token persistence on? Thanks for the help |
|
well thanks for your work ! |
|
Thanks! looking forward to seeing the solution |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=19146 |
|
thank you again for your help, you did a great job. |
|
no problem, glad to help out. Very specific issue, thanks for the fix |
|
I tested it and it seems to work |
|
Version 2.50+ Build 160525 & Version 2.06LTS Build 160524 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-09 23:50 | wingman123 | New Issue | |
2016-03-09 23:50 | wingman123 | File Added: limesurvey_survey_542554.lss | |
2016-03-10 16:22 | wingman123 | Note Added: 36304 | |
2016-03-10 16:32 | wingman123 | Note Added: 36306 | |
2016-03-10 17:34 | c_schmitz | Priority | none => low |
2016-03-10 17:52 | wingman123 | Note Added: 36322 | |
2016-03-10 19:07 | wingman123 | Note Added: 36330 | |
2016-05-11 12:30 |
|
Note Added: 38320 | |
2016-05-11 12:30 |
|
Priority | low => high |
2016-05-11 12:30 |
|
Assigned To | => LouisGac |
2016-05-11 12:30 |
|
Status | new => assigned |
2016-05-17 16:56 | wingman123 | Note Added: 38647 | |
2016-05-24 12:23 |
|
Sticky Issue | No => Yes |
2016-05-24 13:08 |
|
Changeset attached | => LimeSurvey master 749d240e |
2016-05-24 13:08 |
|
Note Added: 38766 | |
2016-05-24 13:08 |
|
Resolution | open => fixed |
2016-05-24 13:09 |
|
Note Added: 38767 | |
2016-05-24 13:09 |
|
Status | assigned => resolved |
2016-05-24 13:10 |
|
Sticky Issue | Yes => No |
2016-05-24 22:49 | wingman123 | Note Added: 38817 | |
2016-05-24 23:10 | wingman123 | Note Added: 38818 | |
2016-05-25 09:03 | c_schmitz | Note Added: 38820 | |
2016-05-25 09:03 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |