View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16514Bug reports_ Unknownpublic2021-03-02 19:25
Reporterrudydehaas Assigned Toollehar  
PrioritynoneSeverityblock 
Status closedResolutionno change required 
Product Version4.3.4 
Summary16514: Default answers appear randomly if at all
Description

I have seven defined additional attributes in the participants table. The survey attached (lss file) has one question with default answers of the form {TOKEN:ATTRIBUTE_x} where x 1-->7. The images below show the participant table has the data correctly. The default answers look ok. but the system produces blank or puts the value in the wrong place.

e.g. course name is attribute_1, but in the survey may be blank or show up in any of the other 5 answers. (#5 - instructor email, is now shown.)

If I allow public registration the entry form looks right, the default answers combine blanks with mis-ordered data.

Steps To Reproduce

1 - I reported this under "feature requests" by mistake at about 5 AM earlier today.. ooops! (used a bookmarked link and didn't check)
2 - see attached images and .lss file. Made using debian, firefox, php 7.22 apache2, .. mariadb lime 4.3.4 .

If I allow public registration the entry form looks right, the default answers combine blanks with mis-ordered data.

I have replicated this on my backup system (also debian etc), same result - and on my primary system using lime 3.22* .

Additional Information

I make the db tables directly using mysql: CREATE DATABASE ulethevals DEFAULT COLLATE utf8mb4_general_ci; Could this collation be the cause?

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)4.3.4+200713
I will donate to the project if issue is resolvedNo
Browserfirefox under gnome (default for debian)
Database type & versionServer version: 10.1.45-MariaDB-0+deb9u1 Debian 9.12
Server OS (if known)debian 9
Webserver software & version (if known)a[pache2
PHP Version7.22 (trying 7.3.3 later today)

Users monitoring this issue

vkuzmin

Activities

rudydehaas

rudydehaas

2020-07-21 17:53

reporter   ~59026

Wrong screenshot for participant table earlier. Here's the right one.

vkuzmin

vkuzmin

2020-07-22 14:37

reporter   ~59038

I am not a contributor, but they might need a .lsa file to make it easier to reproduce the error if it exist.

rudydehaas

rudydehaas

2020-07-22 17:07

reporter   ~59048

"if it exist" - Others, including Joffm, have reproduced it - see:
https://forums.limesurvey.org/forum/design-issues/121848-trouble-getting-default-answers-to-work#202982

ollehar

ollehar

2021-03-02 18:21

administrator   ~62614

Please check if this bug still exists in the latest patch release. Thank you.

rudydehaas

rudydehaas

2021-03-02 19:24

reporter   ~62619

hi:
I just got an email saying this had been assigned to someone - took awhile didn't it?

However.. I recently loaded version 4.4.7+210215 and had no problem at all with this issue - and that survey has all 7 additional attributes.

ollehar

ollehar

2021-03-02 19:25

administrator   ~62620

Great, thanks for testing!

Issue History

Date Modified Username Field Change
2020-07-21 17:35 rudydehaas New Issue
2020-07-21 17:35 rudydehaas File Added: Screenshot from 2020-07-21 06-07-43.png
2020-07-21 17:35 rudydehaas File Added: Screenshot from 2020-07-21 06-06-59.png
2020-07-21 17:35 rudydehaas File Added: Screenshot from 2020-07-21 06-09-48.png
2020-07-21 17:35 rudydehaas File Added: limesurvey_survey_317197(2).lss
2020-07-21 17:53 rudydehaas Note Added: 59026
2020-07-21 17:53 rudydehaas File Added: Screenshot from 2020-07-21 09-50-44.png
2020-07-22 14:37 vkuzmin Note Added: 59038
2020-07-22 16:49 vkuzmin Issue Monitored: vkuzmin
2020-07-22 17:07 rudydehaas Note Added: 59048
2021-03-02 18:21 ollehar Assigned To => ollehar
2021-03-02 18:21 ollehar Status new => feedback
2021-03-02 18:21 ollehar Note Added: 62614
2021-03-02 19:24 rudydehaas Note Added: 62619
2021-03-02 19:24 rudydehaas Status feedback => assigned
2021-03-02 19:25 ollehar Note Added: 62620
2021-03-02 19:25 ollehar Status assigned => closed
2021-03-02 19:25 ollehar Resolution open => no change required
2021-08-03 10:28 guest Bug heat 6 => 8