View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14604 [Bug reports] Survey design minor have not tried 2019-03-05 16:38 2019-07-20 23:08
Reporter: DenisChenu Platform:  
Assigned To: p_teichmann OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): 3.16.1 github
I will donate to the project if issue is resolved: No
Browser: FF
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: Survey settings menu disappear
Description:

Update number of question shown in question list remove Survey settings menu

Tags:
Steps To Reproduce:

Go to question list
Set display to 5 (or 20
Look at the left menu : Surveysettings are removed

Additional Information:
Attached Files: simplescreenrecorder-2019-03-05_16.34.28.webm (565,904 bytes) 2019-03-05 16:38
https://bugs.limesurvey.org/file_download.php?file_id=11337&type=bug
Notes
(50782)
cdorin   
2019-03-05 17:01   

Yes, I can confirm it and it is quite annoying. I will talk to markus when he will be available

(52504)
cdorin   
2019-06-24 14:57   

@p_teichmann, were you working on this one? (don't remember exactly). Find the issue important since it s something related to frontend/what users see when they access the sfotware.

(52565)
p_teichmann   
2019-06-26 14:18   
(Last edited: 2019-06-26 14:19)

i wasnt working on it but i fixed in https://github.com/LimeSurvey/LimeSurvey/commit/ff061148dcc44d9e07000276c046e82bbed737af

(52620)
p_teichmann   
2019-06-28 12:27   

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

(52946)
JanE   
2019-07-20 23:08   

In LimeSurvey Version 3.17.0+190402 I do not see Simple plugins below Resources. In the end I clicked on Resources and manually changed the URL into something like
/index.php/admin/survey/sa/rendersidemenulink/subaction/plugins/surveyid/46159
to change the plugin settings on the Survey level.

Is this problem related to this bug & fix?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15026 [Feature requests] Survey participants (Tokens) feature have not tried 2019-07-04 14:17 2019-07-20 22:31
Reporter: tammo Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Omit ambiguous characters from token
Description:

In tokens you can specify the length, but not the characters that are used.

In our use case we have difficulties using the characters: O (cipital o), 0 (zero), l (lower case L), I (capital i) and 1 (one) that are ambiguous (depending a bit on the font that is used to show them).

In our use case these tokens are sent by mail (on paper) and users have to type them in like a password. Ambiguous characters then influence the response rate in a negative way: once entered a wrong code, people tend to turn away.

We propose to change the tokens in such a way that ambiguous characters are replaced.

We will make a pull request as soon as this is discussed enough here.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(52744)
ollehar   
2019-07-04 21:35   
(Last edited: 2019-07-04 21:35)

If you visit the team meetings on Tuesdays you can push this idea.

(52746)
DenisChenu   
2019-07-05 10:58   

This is really a needed option, most of https://github.com/LimeSurvey/LimeSurvey/pull/1104

But : my answer : «Such feature must be in plugin» https://github.com/LimeSurvey/LimeSurvey/pull/1104#issuecomment-408848641

Seems i'm the only one

If we accept only numeric, why not all the other : https://github.com/LimeSurvey/LimeSurvey/pull/1104#issuecomment-488587717

(52945)
JanE   
2019-07-20 22:31   

I have created a PR to make this possible with a plugin:
https://github.com/LimeSurvey/LimeSurvey/pull/1307


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15063 [Bug reports] Survey design minor have not tried 2019-07-20 18:03 2019-07-20 18:10
Reporter: DenisChenu Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 4.0.0-RC3  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github e5d117578b
I will donate to the project if issue is resolved: No
Browser: ff
Database & DB-Version: not relevant?
Server OS (if known): not relevant ?
Webserver software & version (if known): not relevant ?
PHP Version: not relevant ?
Summary: No surveys menu
Description:

Surveys menu aren't shown

Tags:
Steps To Reproduce:

Debug > 1
Create a survey with one group/question
Go to Survey check console

Additional Information:
Attached Files: Capture d’écran du 2019-07-20 18-02-19.png (75,940 bytes) 2019-07-20 18:03
https://bugs.limesurvey.org/file_download.php?file_id=11858&type=bug
png

Capture d’écran du 2019-07-20 18-09-59.png (67,591 bytes) 2019-07-20 18:10
https://bugs.limesurvey.org/file_download.php?file_id=11860&type=bug
png
Notes
(52943)
DenisChenu   
2019-07-20 18:04   
(Last edited: 2019-07-20 18:05)
[Vue warn]: Error in created hook: "QuotaExceededError: The quota has been exceeded."

found in

---> <Sidebar> at src/components/sidebar.vue
       <Root> vue.esm.js:628
DOMException: "The quota has been exceeded." vue.esm.js:1897
    VueJS 23
    createSideMenu adminsidepanelmain.js:68
    createPanelAppliance adminsidepanelmain.js:155
    <anonyme> adminsidepanelmain.js:186
    jQuery 2
[Vue warn]: Error in mounted hook: "QuotaExceededError: The quota has been exceeded."

found in

---> <Submenu> at src/components/subcomponents/_submenu.vue
       <Sidemenu> at src/components/subcomponents/_sidemenu.vue
         <Sidebar> at src/components/sidebar.vue
           <Root> vue.esm.js:628
DOMException: "The quota has been exceeded." vue.esm.js:1897
[Vue warn]: Error in mounted hook: "QuotaExceededError: The quota has been exceeded."

found in

---> <Submenu> at src/components/subcomponents/_submenu.vue
       <Sidemenu> at src/components/subcomponents/_sidemenu.vue
         <Sidebar> at src/components/sidebar.vue
           <Root> vue.esm.js:628
DOMException: "The quota has been exceeded." vue.esm.js:1897
[Vue warn]: Error in mounted hook: "QuotaExceededError: The quota has been exceeded."

found in

---> <Sidemenu> at src/components/subcomponents/_sidemenu.vue
       <Sidebar> at src/components/sidebar.vue
         <Root> vue.esm.js:628
DOMException: "The quota has been exceeded." vue.esm.js:1897
[Vue warn]: Error in mounted hook: "QuotaExceededError: The quota has been exceeded."

found in

---> <Questionexplorer> at src/components/subcomponents/_questionsgroups.vue
       <Sidebar> at src/components/sidebar.vue
         <Root> vue.esm.js:628
DOMException: "The quota has been exceeded." vue.esm.js:1897
[Vue warn]: Error in mounted hook: "QuotaExceededError: The quota has been exceeded."

found in

---> <Sidebar> at src/components/sidebar.vue
       <Root> vue.esm.js:628
DOMException: "The quota has been exceeded." vue.esm.js:1897
[Vue warn]: Error in mounted hook: "QuotaExceededError: The quota has been exceeded."

(found in <Root>) vue.esm.js:628
DOMException: "The quota has been exceeded." vue.esm.js:1897
Unhandled promise rejection DOMException: "The quota has been exceeded." es6.promise.js:110
Unhandled promise rejection DOMException: "The quota has been exceeded." es6.promise.js:110
Erreur dans les liens source : request failed with status 404
URL de la ressource : http://limesurvey.local/develop/assets/packages/bootstrap/bootstrap.css
URL du lien source : bootstrap.css.map
Erreur dans les liens source : request failed with status 404
URL de la ressource : http://limesurvey.local/develop/themes/admin/Sea_Green/css/lime-admin-colors.css
URL du lien source : lime-admin-colors.css.map
Erreur dans les liens source : TypeError: NetworkError when attempting to fetch resource.
URL de la ressource : moz-extension://6887d171-2694-4f4e-a73e-2a09581aa7cd/browser-polyfill.js
URL du lien source : browser-polyfill.js.map
Erreur dans les liens source : request failed with status 404
URL de la ressource : http://limesurvey.local/develop/assets/packages/lstutorial/build/lstutorial.js
URL du lien source : lstutorial.js.map

etc …

(52944)
DenisChenu   
2019-07-20 18:09   

Same with debug = 0 after reset assets


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15064 [Bug reports] Survey design minor have not tried 2019-07-20 18:09 2019-07-20 18:09
Reporter: DenisChenu Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 4.0.0-RC3  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github e5d117578b
I will donate to the project if issue is resolved: No
Browser: ff
Database & DB-Version: not relevant?
Server OS (if known): not relevant ?
Webserver software & version (if known): not relevant ?
PHP Version: not relevant ?
Summary: Unable to edit aray question
Description:

When try to edit Array question : JS wait … debug > 2

Tags:
Steps To Reproduce:

Set debug > 2
Try to edit an array question

Additional Information:

Without debug :

Unhandled promise rejection DOMException: "The quota has been exceeded." questionedit.js:29:3998
    e http://limesurvey.local/develop/tmp/assets/72edaa54/build.min/js/questionedit.js:29
    exports http://limesurvey.local/develop/tmp/assets/72edaa54/build.min/js/questionedit.js:987
    N http://limesurvey.local/develop/tmp/assets/72edaa54/build.min/js/questionedit.js:29
    exports http://limesurvey.local/develop/tmp/assets/72edaa54/build.min/js/questionedit.js:6
    <anonyme> http://limesurvey.local/develop/tmp/assets/72edaa54/build.min/js/questionedit.js:1
    b http://limesurvey.local/develop/tmp/assets/72edaa54/build.min/js/questionedit.js:1
    w http://limesurvey.local/develop/tmp/assets/72edaa54/build.min/js/questionedit.js:1
Attached Files: Capture d’écran du 2019-07-20 18-06-23.png (96,146 bytes) 2019-07-20 18:09
https://bugs.limesurvey.org/file_download.php?file_id=11859&type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15062 [Bug reports] Survey design minor have not tried 2019-07-20 18:01 2019-07-20 18:01
Reporter: DenisChenu Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 4.0.0-RC3  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github e5d117578b
I will donate to the project if issue is resolved: No
Browser: ff
Database & DB-Version: not relevant?
Server OS (if known): not relevant ?
Webserver software & version (if known): not relevant ?
PHP Version: php7.2
Summary: Receive Undefined property: TemplateConfiguration::$options just after Survey create
Description:

When create a survey : receive each time Undefined property: TemplateConfiguration::$options

Tags:
Steps To Reproduce:
  1. Set debug > 1
  2. Create a survey, english
  3. Give anything as title
  4. Check create sample question
  5. Validate
Additional Information:

Move previous shown «Your new survey was created. We also created a first question group and an example question for you.«
Survey is created

Attached Files: PHP notice.html (32,250 bytes) 2019-07-20 18:01
https://bugs.limesurvey.org/file_download.php?file_id=11857&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15058 [Feature requests] Survey taking feature have not tried 2019-07-19 01:01 2019-07-19 17:05
Reporter: GuernseyResearch Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: add option of "auto advance"
Description:

QuestionPro just added a new feature that is aimed at mobile survey ease of use. It really only applies to certain types of questions and could be useful for some kinds of surveys. I would suggest the addition of a checkbox (like mandatory) that overrides the "next" button and automatically moves to the next question when an answer is selected.

Tags:
Steps To Reproduce:
Additional Information:

More information from their newsletter at
https://www.questionpro.com/blog/increase-response-rates-and-data-quality-with-auto-advance-survey

Attached Files:
Notes
(52927)
DenisChenu   
2019-07-19 08:42   

Hi,

  1. https://gitlab.com/SondagesPro/QuestionSettingsType/autoSubmit , must be improved and tested for 3. You can contribute
  2. In my opinion : it's best to do a complete Theme for this (just like the questionpro system) because it's related to whole survey, not by question.
(52935)
GuernseyResearch   
2019-07-19 15:08   

Thanks for the comment. I had not done a search on "auto submit".
Is that plug in still available and would it work in version 4?

This only works for single answer questions so I am not sure how a theme would address this. But do you have an example of a theme that does this?
I also disagree with the QP policy of all or nothing as you might not be able to create your survey with only single answer questions.

(52937)
DenisChenu   
2019-07-19 15:48   
(Last edited: 2019-07-19 15:51)

For a sample, done with 2.6lts : https://demonstration.sondages.pro/258495 or https://demonstration.sondages.pro/374469

autoSubmit is public, AGPL and work for some of my clients. Not tested currently in 4.0 because 4.0 is still i alpha …

(52938)
GuernseyResearch   
2019-07-19 16:24   

Thank you for the information and examples. When I find some time I will try this with LS4. Enjoy your weekend.

(52939)
GuernseyResearch   
2019-07-19 16:25   

CLOSE this request

(52940)
DenisChenu   
2019-07-19 16:36   

? Why ?

(52941)
GuernseyResearch   
2019-07-19 16:43   

Well I suppose you have given me an answer to the request.
But I guess leaving this open might stimulate adding the feature as a standard part of a future release.
Your demos do exactly what I was seeking.

(52942)
DenisChenu   
2019-07-19 17:05   

Yes, but my demo is a 2.6lts compatible system
Have a theme for this can be great ;)

When the theme is in LimeStore or included : we can close this feature :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15061 [Bug reports] Installation minor have not tried 2019-07-19 16:59 2019-07-19 16:59
Reporter: rjpinto Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.7-190627
I will donate to the project if issue is resolved: No
Browser: Firefox
Database & DB-Version: Postgresql 10
Server OS (if known): Ubuntu 18.04 LTS
Webserver software & version (if known): Apache
PHP Version: 7.2
Summary: complex password failed to work
Description:

Usage of complex passwords for the database connection with special caracteres always fails.

If the database user has a complex passwrd like >:8n@u;x8;|~ , the authentication will always fail.

Tags:
Steps To Reproduce:

Create a database and user for limesurvey to use:
CREATE ROLE limesurvey WITH PASSWORD '>:8n@u;x8;|~' LOGIN
CREATE DATABASE limesurvey WITH OWNER limesurvey

When you go through the web installation process it will always fail to authenticate. Changing the password to something more simple works with an ALTER ROLE will solve it. So I would guess there is a character in the password that is messing up the connection string.

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15060 [Bug reports] Survey design major have not tried 2019-07-19 16:51 2019-07-19 16:51
Reporter: elissa Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.7 - 190627
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mysqlnd 5.0.12-dev
Server OS (if known): Linux
Webserver software & version (if known): Apache/2.2.22 (Debian)
PHP Version: 7.1.10
Summary: Other option with number only erases decimal comma - with NO warning
Description:

Question type - radio. Other option with the setting: Numbers only for 'Other'. When entering numbers with a dot as the decimal separator everything is OK. The decimal number is stored in the database. But when you enter comma as a decimal separator (which is common in my country) the comma is deleted. It could be a desired behaviour provided that there is any warning. The problem is that the comma is accepted WITHOUT any warning during completing the survey but finally data are stored without decimal separators. And a respondent enters "12,5", goes smoothly to the next screen and I have "125" in the database. If comma is not allowed then one should not be able to enter it in the field.

Tags:
Steps To Reproduce:

Create a radio question.
Set Option Other to On.
Set Numbers only for 'Other' to On.
Activate the survey.
Enter number with comma as decimal separator.

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15059 [Bug reports] Other feature have not tried 2019-07-19 10:03 2019-07-19 15:45
Reporter: KRav Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 4.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.000000
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: 0000
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.0
Summary: Allow on admin dashboard (boxes), to insert own views from plugin to display custom information.
Description:

A new dopdown is provided: is default box or custom box.
if custom-box, you must provide the class with in a plugin, which holds your custom view

I use this, to display angular ui's as admin dashboard.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Capture d’écran du 2019-07-19 10-20-35.png (16,053 bytes) 2019-07-19 10:23
https://bugs.limesurvey.org/file_download.php?file_id=11854&type=bug
png

Capture d’écran du 2019-07-19 10-22-20.png (40,643 bytes) 2019-07-19 10:23
https://bugs.limesurvey.org/file_download.php?file_id=11855&type=bug
png

Bildschirmfoto 2019-07-19 um 10.56.38.png (153,421 bytes) 2019-07-19 10:58
https://bugs.limesurvey.org/file_download.php?file_id=11856&type=bug
Notes
(52928)
KRav   
2019-07-19 10:05   

in development by me

(52929)
DenisChenu   
2019-07-19 10:23   

You mean here in home box ? (1st screenshot)

Then same configuration than Menu (see the second screenshot) seems COOL :)

(52930)
KRav   
2019-07-19 10:58   

hi Denis,

yes something like that

(52931)
DenisChenu   
2019-07-19 11:05   

In Menu the «Data» is really needed for plugins,

But we can't add survey / questionid etc … then less needed, menu link can have 2 diffrent link in my opinion

  1. plugin/direct with plugin=pluginName as param + extra param according to plugin
  2. admin/pluginhelper with sa=sidebody plugin=pluginName and method=actionMethod + extra params

Then : must have

  • controller/action
  • params (any params …)
  • Right (global right) : this is a lack in current Boxes system : did you work on ot too ?
(52932)
KRav   
2019-07-19 11:46   

I will keep the settings very simple, the whole magic will done by the plugin which provides the new box.
No params needed in my plot
I have this in a 2.6 Version currently running.
The box controller will grab the inserted classname (in ui ) and display it.

(52933)
DenisChenu   
2019-07-19 12:06   

No params needed in my plot

But it's needed in a lot of plugin …

(52934)
KRav   
2019-07-19 12:52   

I will provide it soon, and we will see if we have add something.

What do you mean with :
Right (global right) : this is a lack in current Boxes system : did you work on ot too ?

Permissions?

(52936)
DenisChenu   
2019-07-19 15:44   
(Last edited: 2019-07-19 15:45)

Permission, yes … : currently Boxes permission are superadmin, all or none.

You can‘t show "Template Boxes" to only user with template/update for example
Or "New survey Boxes" to only user with Survey/create
etc …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15057 [Bug reports] Translation major have not tried 2019-07-18 08:30 2019-07-19 08:40
Reporter: davebostockgmail Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: confirmed Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.7+190627
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL
Server OS (if known): Ubuntu
Webserver software & version (if known): Apache
PHP Version: 7.2
Summary: Translation screen not working correctly when there are long question text
Description:

The quick translation screen does not render correctly with long question text. I have questions that include long scripts and these are causing the screen to enter quick translations to be displayed in a way that is unworkable with the target language box being too small and the original text box taking over all the screen see images attached.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: image1.PNG (49,327 bytes) 2019-07-18 08:30
https://bugs.limesurvey.org/file_download.php?file_id=11851&type=bug
png

image2.PNG (26,583 bytes) 2019-07-18 08:30
https://bugs.limesurvey.org/file_download.php?file_id=11852&type=bug
png

part.lss (426,128 bytes) 2019-07-18 09:08
https://bugs.limesurvey.org/file_download.php?file_id=11853&type=bug
Notes
(52919)
DenisChenu   
2019-07-18 08:33   

Can you provide a sample lss with only this group and question (you copy your broken survey and delete all not related group)

(52920)
davebostockgmail   
2019-07-18 09:08   

Here is part of the survey where the Quick Translation seems to go wrong .. I have removed all the other parts of the survey (it is very long) and the failure occurs with these 2 groups.

(52921)
DenisChenu   
2019-07-18 09:21   

Maybe we need to totally remove all tag ?
At minimum : filter it :)

(52925)
davebostockgmail   
2019-07-18 15:27   

I have found out what the issue is with this ... it is that the screen is controlled by the length of the question text.

I had an equation question in there with a lot of conditions ...
Q2=If(Q1_A=="Y",1,if(Q1_B=="Y",2 ....... if(Q1_Z=="Y",26}}}}}}}}}} etc.

This seems to have been interpreted as one word and there was no split to adjust the screen size in term of columns... adding in a newline in the source code has corrected the issue.

(52926)
DenisChenu   
2019-07-19 08:40   

Yes :). But still need to be fixed ;)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15055 [Bug reports] Survey design major have not tried 2019-07-17 17:04 2019-07-18 18:47
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-RC2  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version: 4.0.0-RC3  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Ranking question type cannot be saved/stored
Description:

Try to create and save a Ranking question type - not working.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14766 [Bug reports] Authentication major have not tried 2019-04-10 21:54 2019-07-18 13:48
Reporter: voteref Platform:  
Assigned To: c_schmitz OS:  
Priority: high OS Version:  
Status: acknowledged Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.1+190408
I will donate to the project if issue is resolved: Yes
Browser: Chrome 73
Database & DB-Version: MySQL 5.7.25
Server OS (if known): Ubuntu 18.04
Webserver software & version (if known): Apache 2.4.29
PHP Version: 7.2
Summary: Limesurvey doesn't correctly handle multiple PHPSESSID cookies
Description:

Hello,

On one of my browsers, I suddenly became unable to log into limesurvey, and trying to answer a survey invariably led, with that same browser, to an error message stating that my session had expired.

I found out that on that browser, I had a PHPSESSID cookie set by my self-hosted limesurvey instance (let's say that its domain name is limesurvey.mydomain.org), and another PHPSESSID cookie set by another website, but associated with the higher level domain name "mydomain.org", and having "/" as its path.

When accessing my limesurvey instance after visiting the other website, the browser sends both cookies, which is the expected behaviour per RFC6265 (https://tools.ietf.org/html/rfc6265).

After deleting the PHPSESSID cookie associated with the "mydomain.org" domain, the behaviour of limesurvey is back to normal.

So, it looks like limesurvey is mistaking one PHPSESSID cookie for the other. This might be due to the fact that it is not expecting more than 1 PHPSESSID cookie to be sent.

In §4.2.2, RFC6265 states:

"Although cookies are serialized linearly in the Cookie header, servers SHOULD NOT rely upon the serialization order. In particular, if the Cookie header contains two cookies with the same name (e.g., that were set with different Path or Domain attributes), servers SHOULD NOT rely upon the order in which these cookies appear in the header."

It looks like limesurvey's behaviour is somewhat disturbed by the presence of 2 cookies with the same name.

Tags:
Steps To Reproduce:

1) open a session on the limesurvey instance (this sets a PHPSESSID cookie associated with limesurvey.mydomain.org);
2) using the developer tools on Chrome or Firefox (or by any other appropriate means), add a "PHPSESSID" cookie associated with the domain name just above the limesurvey instance, so here "mydomain.org", and "/" as the path;
3) logout from the limesurvey instance;
4) try to log back in (it should fail).

Additional Information:

There is an easy workaround: in "config.php", just tell limesurvey to use another name for its session cookie, via the following code snippet:

session' => array (
'sessionName' => "MyOwnPrivateCookieName",
),

Attached Files:
Notes
(51443)
cdorin   
2019-04-11 17:21   

Thank you for reporting it. We will further investigate it.

(51453)
jelo   
2019-04-12 11:24   
(Last edited: 2019-04-12 11:28)

I would be surprised to see a change here.
https://www.limesurvey.org/forum/development/113910-cookies-sessions-why-is-limesurvey-using-the-default-sessionname

(51455)
LouisGac   
2019-04-12 11:39   

we could at least do it on limesurvey pro.
Carsten, an opinion on this one?

(51456)
jelo   
2019-04-12 11:41   

The random setup of a cookie/session name is mentioned in the LS hardening ticket.
https://bugs.limesurvey.org/view.php?id=14621#c51047

(52882)
cdorin   
2019-07-15 12:38   

tag @c_schmitz

(52885)
DenisChenu   
2019-07-15 15:43   

Since it can be done in config.php , i think we must create a random one when install.

(52923)
LouisGac   
2019-07-18 13:01   

I go with denis

(52924)
DenisChenu   
2019-07-18 13:48   

@LouisGac : it‘s in project … but didn't start on install currently ;)
With allowing set another dir for runtime :)

But i want to have a config-base.php file to be copied/updated. More easy for us to update and add new feature when install …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13955 [Feature requests] Statistics feature have not tried 2018-08-12 11:46 2019-07-18 10:31
Reporter: mikebb Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Add sub-question headings on simple statistics graphs
Description:

Simple statistics would be much more useful if the graphs showing sub-question data had headings that matched the sub-question - not just the parent question heading that is currently shown.

More detail: In ‘simple statistics’ when viewing results for a sub-question, the graph heading show the parent question’s text when questions are arrays - even when the subquestions have their own texts. So all the subquestion graphs will show the same (parent) heading – and the user can’t easily tell which subquestion they are for. Its confusing.
Also if a sub-question’s parent does not have any text (ie it only has a title) then there is no heading shown for all sub-question graphs – so no indication of what the graph data is.

I've read that the devs are reluctant to patch the statistics code as it needs a re-write, but this could be fixed very easily with minimal coding - see additional info below.

there are there are two screenshots attached of a simple survey:

  • first with current code (LS 3.14.3+180809),
  • second with this suggested patch
Tags:
Steps To Reproduce:
Additional Information:

following code in '/application/helpers/admin/statistics_helper.php':
/// ---------------
// insert at Line 1160- - before 'switch ($qtype){'
$parent_title = $qtitle;// save this as may use later for sub-question graph headings.

// insert before the return of buildOutputList(), line 1460
if (isset($atext ) && $atext){ // if there is subquestion text
$qquestion = rtrim($qquestion, $linefeed); // trim off the linefeed. (better if linefeed was added last, and not in switch conditions)
// shows parent-q text: sub-q text. or use parent title if need:
$qquestion .= ((trim($qquestion=='')) ? ucfirst($parent_title) : null) . ": " . $atext . $linefeed;
}
/// --------------------------

Attached Files: simple stats - no subquestion headers.jpg (29,777 bytes) 2018-08-12 11:46
https://bugs.limesurvey.org/file_download.php?file_id=10618&type=bug
jpg

simple stats MOD-parent and subquestion headers.jpg (25,045 bytes) 2018-08-12 11:46
https://bugs.limesurvey.org/file_download.php?file_id=10619&type=bug
jpg
Notes
(52915)
cdorin   
2019-07-17 16:43   

@dominikvitt, your thoughts?

(52916)
markusd1984   
2019-07-17 16:44   

great thanks, that worked a treat! Should be built into the new versions if it's not already.

Now an aggregated stacked bar chart would be ideal :) https://bugs.limesurvey.org/view.php?id=7420


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
12127 [Feature requests] Plugins feature have not tried 2017-02-13 17:38 2019-07-17 17:02
Reporter: DenisChenu Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version:  
Summary: Order and/or dependance of plugin
Description:

Some plugin need dependance and/or order
And sometimes : this dependance must work by functionnality

Examples :

  • 2 plugin using beforeTokenEmail : A update content, B send the email. If B is done before A : content are not updated
    => Here all plugin who 'send' email must be at end

  • 2 plugin afterSurveySubmited : A update response, B show a sentence according to response. If B happen before A : response can be outdated

Tags:
Steps To Reproduce:
Additional Information:

Topic for discussion about way of doing :)

Attached Files:
Notes
(43023)
DenisChenu   
2017-02-15 22:10   

https://manual.limesurvey.org/PluginsDependance

(52917)
DenisChenu   
2019-07-17 17:02   

Partial fix https://github.com/LimeSurvey/LimeSurvey/commit/a313ca0f5d05aa640b70c89197f168ac7f1836ab#diff-e3eaef28f5cb03f927f51c2097f40186

dependance detail is here : https://bugs.limesurvey.org/view.php?id=14567


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14567 [Feature requests] Plugins feature have not tried 2019-02-22 17:03 2019-07-17 17:01
Reporter: DenisChenu Platform:  
Assigned To: ollehar OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Plugin dependance in config.xml
Description:

I have a lot of plugin toold for other plugin .

Some example :
https://gitlab.com/SondagesPro/coreAndTools/reloadAnyResponse
Used (needed) by

  1. https://gitlab.com/SondagesPro/SurveyAccess/partialTokenSurveyFill
  2. https://gitlab.com/SondagesPro/SurveyAccess/surveyChaining
  3. https://gitlab.com/SondagesPro/managament/responseListAndManage

All this toold came to limeStore one by one …
Then it can be really great in 4.X or more to :

  1. Download responseListAndManage donwload (and activate) reloadAnyResponse + getQuestionInformation + emailSurveyToken (yes this one have a lot of dependance)
Tags:
Steps To Reproduce:
Additional Information:

Start by activate (is here) but since download is here :)

I have too «use» system : pdfReport use limeMpdf (can work without but work best with).

I think the best place is in config.xml.

Default can be : download plugin, test config : search in «repository» (currently only limesurvey.org) the plugin to donwload and activate before etc …

A sample https://zone.spip.net/trac/spip-zone/browser/_squelettes_/spipr-dist/trunk/paquet.xml (but spip use plugin since more than 10 years now … but more : spip core are near a plugin …)

Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15054 [Bug reports] Survey design major have not tried 2019-07-17 16:59 2019-07-17 16:59
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-RC2  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-RC3  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Multiple numerical question - cannot be stored
Description:

Try to create and save a multiple numerical question - not working.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14581 [LimeStore] Other minor have not tried 2019-02-28 14:08 2019-07-17 16:26
Reporter: DenisChenu Platform:  
Assigned To: ollehar OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: No limesurvey plugin/theme/etc … external tools
Description:

Maybe doing something for external tools

Tags:
Steps To Reproduce:

See https://www.limesurvey.org/forum/development/117820-remote-control-php-package#181015

Additional Information:

Maybe accept only free external tools link ?
No zip to upload ?

Or maybe : nothing : LimeStore is only here for Lime plugin/theme :)

Attached Files:
Notes
(50704)
ollehar   
2019-02-28 14:29   

So add a new extension type called "external"?

(50709)
DenisChenu   
2019-02-28 15:47   

I say «maybe» totally unsure if we need it, and maybe not in LimeStore ?
Maybe only at wiki ? We laready have 2 lime R package, one py package if i remind.

Need discussion i think :)

(50711)
ollehar   
2019-02-28 15:48   

Sure, topic at next team meeting. ^^

(52914)
ollehar   
2019-07-17 16:26   

Added. Might need more work.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15053 [Bug reports] Import/Export minor have not tried 2019-07-17 11:17 2019-07-17 14:57
Reporter: realitix Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): master
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: 0
Server OS (if known):
Webserver software & version (if known):
PHP Version: 0
Summary: Import with SID non numeric crash
Description:

Hello,

When you manually update the .lss file and set a SID with a non numeric value, the import crash.
It should detect it and recreate a new SID.

I join a .lss file you can use.
The bug is on master.

I send a pull request soon.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: limesurvey_survey_976668.lss (13,266 bytes) 2019-07-17 11:17
https://bugs.limesurvey.org/file_download.php?file_id=11848&type=bug
Capture d’écran du 2019-07-17 11-34-24.png (65,790 bytes) 2019-07-17 11:34
https://bugs.limesurvey.org/file_download.php?file_id=11849&type=bug
png

limesurvey_survey_badsid2.lss (15,109 bytes) 2019-07-17 11:37
https://bugs.limesurvey.org/file_download.php?file_id=11850&type=bug
Notes
(52905)
realitix   
2019-07-17 11:20   

Pull request: https://github.com/LimeSurvey/LimeSurvey/pull/1306

(52907)
DenisChenu   
2019-07-17 11:34   

I can't reproduce : model rules disable it

(52908)
DenisChenu   
2019-07-17 11:37   

Checked too with a survey with group and question : replacing sid bad BADSET : no issue

(52909)
DenisChenu   
2019-07-17 11:38   

Please : update to 3.17.7 and check again.

(52912)
realitix   
2019-07-17 14:15   

Strange, I tried on master.
Can you try on master ?

(52913)
DenisChenu   
2019-07-17 14:57   

Yes, on master (i'm always on master in localhost …)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13684 [Bug reports] Conditions minor have not tried 2018-05-17 14:25 2019-07-17 13:46
Reporter: Doberdan Platform:  
Assigned To: p_teichmann OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.0.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version:  
Complete LimeSurvey version number (& build): Version 2.73.1+171220
I will donate to the project if issue is resolved: No
Browser: Firefox
Database & DB-Version: Don't know
Server OS (if known): Don't know
Webserver software & version (if known): Don't know
PHP Version: Don't know
Summary: If the exclusive option is selected, the excluded options default to "missing" instead of "no"
Description:

If you choose the question type "multiple options" and add an exclusive option (e.g. ask "Which brands do you know?", show 5 brands and also the option "don't know any of them") , the datasets of panelists who selected the exclusive option contain missing values for the other options instead of the value "N" or "not selected".

Tags:
Steps To Reproduce:

Create a multiple options question.
Create two options.
Make on the exclusive option.
Activate the survey.
Answer the survey, selecting the exclusive option.
Download the survey data.
Data for the non-exclusive option will be missing.

Additional Information:
Attached Files: limesurvey_question_265104.lsq (33,669 bytes) 2018-05-17 14:25
https://bugs.limesurvey.org/file_download.php?file_id=10307&type=bug
Selection_447.png (33,232 bytes) 2018-05-18 14:12
https://bugs.limesurvey.org/file_download.php?file_id=10315&type=bug
png
Notes
(47662)
ollehar   
2018-05-17 14:29   

Just FYI, when implemented it will be added to LS 3.x, not 2.73.

(47663)
ollehar   
2018-05-17 14:31   

I propose a solution where it will be possible to configure which default answer will be recorded for the non-chosen answer options.

(47682)
ollehar   
2018-05-18 13:20   

Also, for the future, don't attach an exported question but the whole survey. It's not possible to import a question unless the primary language of the survey is correct.

(47684)
ollehar   
2018-05-18 14:01   

@Doberdan I just saw that there's some logic in the export code that skips non-selected answers in exclusive question. Would it be enough for you that you can choose to export empty values for these subquestions, or do you also need the value 'N' to be exported? That is, an empty value is not enough.

(47685)
ollehar   
2018-05-18 14:12   

And Daniel, did you try this one (see pic)?

(52911)
p_teichmann   
2019-07-17 13:46   

fixed in LS 4 https://github.com/LimeSurvey/LimeSurvey/commit/30a85bb9791d4650653276618a50e3fb1424f911


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14347 [Feature requests] Ergonomy feature have not tried 2018-12-14 11:44 2019-07-17 13:35
Reporter: markusd1984 Platform:  
Assigned To: eddylackmann OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Delete Surveys - List selected surveys for mass deletion in the confirm dialog to prevent accidentally deleting unwanted surveys
Description:

"Are you sure you want to delete all those surveys?" is not showing which surveys actually have been manually selected

while we can assume the user knows which ones they selected it may be safer and better approach to list the surveys so they can double check them, especially if they may be working with a bigger list

in case they have selected surveys they didn't meant to delete or change their mind (as a result of reviewing survey names) they can thus click "No" and review their choice,

where otherwise having simply pressed "Yes" to confirm and only then receiving the list of surveys that have been deleted could be fatal to realise having deleted a wrong survey as it will be too late :)

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: selected 2.PNG (24,875 bytes) 2019-07-17 11:07
https://bugs.limesurvey.org/file_download.php?file_id=11845&type=bug
png

selected.PNG (22,003 bytes) 2019-07-17 11:07
https://bugs.limesurvey.org/file_download.php?file_id=11846&type=bug
png

selected 3.PNG (29,339 bytes) 2019-07-17 11:07
https://bugs.limesurvey.org/file_download.php?file_id=11847&type=bug
png
Notes
(49970)
DenisChenu   
2018-12-16 10:10   

Yep, great idea :) hard to do but great idea :)

(50024)
LouisGac   
2018-12-20 11:18   

no it should not be that hard to do
I agree it's a good idea

(50033)
DenisChenu   
2018-12-20 12:28   

Remind always POST value :)

(50422)
ritapas   
2019-02-06 10:39   

+1

(52903)
eddylackmann   
2019-07-17 11:07   

So i add the feature for all actions. it will automatically display the list of selected surveys when clicking on some action .

(52904)
ritapas   
2019-07-17 11:11   

does the "Selected" word (in green) point to an action (i.e. deselecting)?

(52906)
eddylackmann   
2019-07-17 11:22   

@ritapas no. Thats a great idea but we have to refactor the "MassiveActionsWidget" to make it possible.

(52910)
eddylackmann   
2019-07-17 13:35   

features added to develop branch


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15052 [Bug reports] Survey design major have not tried 2019-07-17 10:49 2019-07-17 10:49
Reporter: ollehar Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 4.0.0-RC1  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-RC2  
Complete LimeSurvey version number (& build): 4.0.0-RC1
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Question group with multiple language only saves first language
Description:

Title.

Tags:
Steps To Reproduce:
  1. Create survey with 2+ languages
  2. Create question group
  3. Write different titles for every language
  4. Save
  5. Only first language is saved
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15050 [Bug reports] Survey design minor have not tried 2019-07-16 18:21 2019-07-17 08:58
Reporter: Mazi Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.7
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL 5
Server OS (if known): Ubuntu 14 TLS
Webserver software & version (if known): Apache 2
PHP Version: 7.2
Summary: Feature "Get order from previous question" missing for array questions
Description:

While the "Get order from previous question" feature is available for e.g. "array numbers" (see https://manual.limesurvey.org/Question_type_-_Array_%28Numbers%29#Get_order_from_previous_question_.28get_order_previous_q.29), that feature is missing for the default array question (see https://manual.limesurvey.org/Question_type_-_Array#Display).

Why is the feature support for the rarely used array numbers type but not for the default array question type?

Tags:
Steps To Reproduce:

Add a question of type array and then wonder about the missing feature.

Additional Information:
Attached Files:
Notes
(52899)
DenisChenu   
2019-07-16 21:01   
(Last edited: 2019-07-16 21:01)

Maybe because this feature didn't work …
https://bugs.limesurvey.org/view.php?id=13978

(52901)
Mazi   
2019-07-17 08:37   

This feature is also missing at LS 2.06LTS.

(52902)
DenisChenu   
2019-07-17 08:58   

@Mazi : sorry, i mean checking if we have this feature for array number in 2.6lts :), and checking if it work.
I check myself : https://bugs.limesurvey.org/view.php?id=13978#c52900


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15051 [Bug reports] Conditions major have not tried 2019-07-16 22:48 2019-07-16 23:02
Reporter: pokeydale Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.15.9+190214
I will donate to the project if issue is resolved: Yes
Browser: Chrome
Database & DB-Version: PostgreSQL 9.6
Server OS (if known): Linux dev-web 4.15.0-1043-aws #45-Ubuntu SMP Mon Jun 24 14:07:03 UTC 2019 x86_64
Webserver software & version (if known): Apache 2.0 Handler
PHP Version: PHP Version 7.2.19-0ubuntu0.18.04.1
Summary: When setting condition on Survey Participant Attributes the expression stored in DB is invalid
Description:

I am not able to add conditions to questions that use attributes.

Tags:
Steps To Reproduce:
  1. Add a new condition to a question, select "Survey participant attributes"
  2. select "equals in comparison operator
  3. select "Survey participant attributes" in question section
  4. select any attribute
  5. select "Constant" in answer section
  6. Key a constant value
  7. select "equals in comparison operator
  8. select "Survey participant attributes" in question section
  9. select any attribute
  10. select "Constant" in answer section
  11. Key a constant value
  12. select "Add condition" button

The new condition does not appear in the conditions list.
The database has an invalid "relevance" column value ie "((56523X3300X19756.NAOK == "afdsafd") and (56523X3300X19756.NAOK == "dale"))"
It is using a random list selection question as opposed to attribute.

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13978 [Bug reports] Survey taking minor have not tried 2018-08-17 00:35 2019-07-16 21:01
Reporter: jelo Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.13.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.14.5+180815
I will donate to the project if issue is resolved: No
Browser: Firefox 61.02
Database & DB-Version: N/A
Server OS (if known): N/A
Webserver software & version (if known): N/A
PHP Version: N/A
Summary: Get order from previous question not working
Description:

When activating "Get order from previous question" the order from the question is not correct.

Tags:
Steps To Reproduce:

Demofile attached . Reproducible error. Checked via demo.limesurvey.org.

Additional Information:
Attached Files: UseOrderFromOtherQuestion.lss (21,710 bytes) 2018-08-17 00:35
https://bugs.limesurvey.org/file_download.php?file_id=10648&type=bug
Notes
(48808)
LouisGac   
2018-08-17 10:46   

markus: I'm assigning you the order questions bugs because you worked on the new organize.
but if those bugs are not JS related, feel free to give them back to me

(52900)
DenisChenu   
2019-07-16 21:01   

I'm unsure it work in 2.6lts … maybe a lot feature from 1.91


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15049 [Bug reports] User/User groups minor have not tried 2019-07-16 16:01 2019-07-16 16:01
Reporter: blocka Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): LS 2.73.1, build 171220 | LS 3.17.7 build 190627
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: All
Server OS (if known):
Webserver software & version (if known):
PHP Version: All
Summary: userideditable flag in config.php not functional in LS2 and LS3
Description:

In the config-defaults.php file, there is a parameter for allowing editing of the userid; however, when added to config.php, it has no affect on the editing of user accounts.

Tags:
Steps To Reproduce:

Add option to config.php:

'userideditable' => 'Y',

Edit a user account, and userid field is still disabled.

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15036 [Feature requests] Other @50@ have not tried 2019-07-08 13:17 2019-07-16 10:58
Reporter: ollehar Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 5.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 5.0.0dev  
Summary: Investigate how to use preloading in LS
Description:

Info: https://stitcher.io/blog/preloading-in-php-74

Preloading can speed up loading of PHP framework etc.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(52788)
ollehar   
2019-07-08 13:18   

Ping @LouisGac, head of R&D department? ;)

(52796)
ollehar   
2019-07-09 11:28   

@DenisChenu Busy?

(52797)
DenisChenu   
2019-07-09 11:47   

In my opinion : more server configuration, not LimeSurvey totally related …

Need opcache
Can be done with auto_prepend_file

(52799)
ollehar   
2019-07-09 12:13   

No, you need PHP code to use it. See example in code:

$files = /* An array of files you want to preload */;

foreach ($files as $file) {
    opcache_compile_file($file);
}
(52800)
ollehar   
2019-07-09 12:13   

Such a snippet could be used in our bootstrap entry script to load the Yii framework (index.php).

(52811)
DenisChenu   
2019-07-09 14:34   

auto_prepend_file can be used for this, to append the PHP code

(52820)
ollehar   
2019-07-10 11:22   

Didn't know about that, interesting.

(52896)
DenisChenu   
2019-07-16 09:28   

@ollehar : maybe LS can offer the php file to be used because

  1. you can't do opcache.preload=/path/to/project/preload.php in LimeSurvey …
  2. you can't restart server when updating (we update rarely framework, but it's happen).
(52897)
ollehar   
2019-07-16 10:55   

If it's possible to speed up LS with preloading, then it should absolutely be in the manual at least. Offer a PHP file sounds like a good idea.

You can restart nginx/apache via PHP, but only if the web user has sudo access (bad idea).

(52898)
DenisChenu   
2019-07-16 10:58   

web user has sudo access

Argl … I died in atrocious suffering …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15045 [Bug reports] Plugins minor have not tried 2019-07-14 16:51 2019-07-15 23:43
Reporter: DenisChenu Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-RC2  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0 d34a697454
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: Unable to activate AuditLog plugin
Description:

Receive an error when try to activate AuditLog about ENGINE =

Tags:
Steps To Reproduce:

Scan files,
Install AuditLog : OK
Activate AuditLog : KO

Additional Information:

Think it's due to https://github.com/LimeSurvey/LimeSurvey/commit/4f97fb02e96c2526fab1ef6db5e9cc73eebc1943#diff-97384261b8bbf966df16e5ad509922db

Because ENGINE = not set for table plugin ?

I update from old 3.X with old config too.

Attached Files: CDbException.html (25,431 bytes) 2019-07-14 16:51
https://bugs.limesurvey.org/file_download.php?file_id=11841&type=bug
Notes
(52870)
DenisChenu   
2019-07-14 17:02   

OK fixed adding mysqlEngine in config-default BUT !

2 way to fix it , unsure of the best

  1. Check if it's empty, didn't set (then get the SQL default one) : https://github.com/LimeSurvey/LimeSurvey/commit/5816d10af42e69e11289d999187133f8fc569ca4#diff-4a95ed4f80f8713aaa18250f998ddfafR150
  2. Add it in config-default : https://github.com/LimeSurvey/LimeSurvey/commit/b4c63a3b55c7fc2f92147c9a30e919eff862ed2c , then previous one never happen …

Can you check ? Can we discuss for the best ?

(52892)
TonisOrmisson   
2019-07-15 20:28   

I think the config should always provide a value for mysqlengine. I would put this to config-defaults for any fallback cases. But its just form top of my head.

(52894)
DenisChenu   
2019-07-15 23:43   

OK, then must partially revert https://github.com/LimeSurvey/LimeSurvey/commit/5816d10af42e69e11289d999187133f8fc569ca4#diff-4a95ed4f80f8713aaa18250f998ddfafR150
Since !empty(Yii::app()->getConfig('mysqlEngine')) is always true


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15044 [Bug reports] Import/Export major have not tried 2019-07-14 13:24 2019-07-15 23:41
Reporter: DenisChenu Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 4.0.0-RC2  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0 d34a697454
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: Can't import a exported lss or copy an existing survey
Description:
  1. Trying to import a lss created with 4.0 break with Duplicate entry '22-en' for key 'lime_idx1_group_ls'
  2. Create a survey with one sample question, add a group + another question : copy it
Tags:
Steps To Reproduce:

1 inport
Create a new survey
Create a group
Create a question i this group
Create a second group
Create a question in this group
Export LSS
Import LSS

 CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '22-en' for key 'lime_idx1_group_ls'. The SQL statement executed was: INSERT INTO `lime_group_l10ns` (`gid`, `group_name`, `description`, `language`) VALUES (:yp0, :yp1, :yp2, :yp3) 

2 copy
Seems need 2 groups and 2 question

 CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '31-en' for key 'lime_idx1_group_ls'. The SQL statement executed was: INSERT INTO `lime_group_l10ns` (`gid`, `group_name`, `description`, `language`) VALUES (:yp0, :yp1, :yp2, :yp3) 
Additional Information:

Import multiple old lss is OK.

Attached Files: CDbException.html (24,767 bytes) 2019-07-14 13:24
https://bugs.limesurvey.org/file_download.php?file_id=11840&type=bug
Notes
(52884)
DenisChenu   
2019-07-15 15:34   

Same with Copy,
On question seems OK
2 group + 2 questions : broke (i activate survey and launch ? Maybe ?)

(52891)
cdorin   
2019-07-15 18:23   

Hmm, could you please attach the problematic survey?

(52893)
DenisChenu   
2019-07-15 23:41   

@cdorin : no , you can import a lss, BUT : you can import an just exported lss.

See the copie issue too :

  1. Create a survey with 2 group , one question in each group
  2. Launch survey (test) unsure it's needed
  3. Come back to admin : copy survey just created.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13442 [Bug reports] Ergonomy feature have not tried 2018-03-03 23:27 2019-07-15 18:24
Reporter: orvil Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: feedback Product Version: 3.1.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.4.3
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Unifying the UI
Description:

In Array questions Subquestions and answer options are shown in seperate views.
In Array(Number) questions subquestions ( x and y scale) are shown in the same view.
This is somewhat puzzling, especially for unexperienced users.

Is ist possible to unify the UI so that both are always shown in a single view?

Tags:
Steps To Reproduce:
Additional Information:

See the attached screenshots

Attached Files: Clipboard17.jpg (139,456 bytes) 2018-03-03 23:27
https://bugs.limesurvey.org/file_download.php?file_id=10053&type=bug
Clipboard01.png (39,239 bytes) 2018-03-06 14:47
https://bugs.limesurvey.org/file_download.php?file_id=10069&type=bug
png

Clipboard02.png (119,547 bytes) 2018-03-06 14:47
https://bugs.limesurvey.org/file_download.php?file_id=10070&type=bug
QuestionSummary.png (227,159 bytes) 2018-03-06 22:13
https://bugs.limesurvey.org/file_download.php?file_id=10071&type=bug
QuestionText.png (148,450 bytes) 2018-03-06 22:13
https://bugs.limesurvey.org/file_download.php?file_id=10072&type=bug
QuestionAnswers.png (156,920 bytes) 2018-03-06 22:13
https://bugs.limesurvey.org/file_download.php?file_id=10073&type=bug
QuestionSettings.png (118,456 bytes) 2018-03-06 22:13
https://bugs.limesurvey.org/file_download.php?file_id=10074&type=bug
QuestionText-2.png (157,323 bytes) 2018-03-06 23:16
https://bugs.limesurvey.org/file_download.php?file_id=10075&type=bug
QuestionClickPath.png (1,013,106 bytes) 2018-03-06 23:16
https://bugs.limesurvey.org/file_download.php?file_id=10076&type=bug
ClickAnswerEditView.png (124,363 bytes) 2018-03-07 09:58
https://bugs.limesurvey.org/file_download.php?file_id=10078&type=bug
DefaultEditView.png (99,604 bytes) 2018-03-07 09:58
https://bugs.limesurvey.org/file_download.php?file_id=10079&type=bug
png
Notes
(46881)
DenisChenu   
2018-03-04 19:20   

Subquestion make column , Answer are value inside column (possible choice)

I don't think we must unify answer and subquestion : logic is really different.

(46884)
orvil   
2018-03-04 19:45   

You are absolutely right from the methodological point of view :)
My point of view is the increased usability of editing in one view, I would like you to consider.

(46887)
DenisChenu   
2018-03-05 07:53   
(Last edited: 2018-03-05 07:54)

My Point Of View
Best things in editing (edit question link) : all edit inside the content block with load/save in ajax mode with:

#Question#
question text
question help
relevance (?)
#Advanced settings#
All advanced settings each inside a show/hide block
With a block with mandatory + otrher + default value (i think default value must be pout in General adv settings)
#Sub question#
Sub question Y
Sub question X
#Answers#
Answers list

Each part are in show/hide , question part are the first show by default (or hidden ?)

(46888)
orvil   
2018-03-05 08:50   

Looks like a good idea to me :)

(46922)
markusfluer   
2018-03-06 13:21   

All Advanced option in one block is bad ui.
The Advanced options should be seperated in multiple views.
That way it may be a bit harder for old users to do things all at once, but new users won't be overwhelmed by the possible options.

I'm with you that subquestions and answeroptions should be integrated into the question edit view.
We are not changing this in the current 3.4, though. This will be done in develop, as soon as we've got the resources to do it properly.

(46924)
DenisChenu   
2018-03-06 14:26   

« All Advanced option in one block is bad ui.» Where did you see that ?

All advanced settings each inside a show/hide block
More clean way to say Adv settings : each category inside own block

(46925)
orvil   
2018-03-06 14:47   

Did not understand DenisChenus idea in the way that all Advanced Settings have to be melted in one single block - but the different blocks should be view / hideable as it is on the leftmost menu with "<", "Settings", "Structure".
This would have some advantages on smaller screens (e.g. laptops or tablets). See attached (downscaled) screenshots to compare an uhd view and a 1280x720 view. In 1280 things are already a little tight and some tablates have only 1024px width.

(46929)
markusfluer   
2018-03-06 15:53   

Denis, that's what I meant.
As a little hint i would do it comparable to the general survey settings, all settings options would get a seperate view grouped by the category.
Also I would go for a sideways tab, meaning, you would only see one setting-category at once.

(46930)
DenisChenu   
2018-03-06 15:57   

Yep, i made an error here :) maybe we need at same place without extra buttons but with ajax system
#Question Text
#Sub questions
#Answers

And at the other side

Global adv setting

Default value (or put it in global adv setting)

Logic adv settings

Export and stat adv setting

etc …

(46932)
markusfluer   
2018-03-06 16:29   

Something like this, yes.
As soon as there is time i will start redesigning it.

(46933)
orvil   
2018-03-06 22:13   

Did some sketches to visualize the previous ideas.

  • I drew the switch between "Summary", "Edit", "Answers" and "Settings" as buttons - maybe a tabbed content would be another good idea.
  • In "Answers" I added a repetition of the question text on top. This could be helpful for the "Settings" too.
  • In "Answers" too I integrated the "Default Answer" already (even if it does not fit to this kind of question), but as an idea to make the workflow smoother.
(46934)
orvil   
2018-03-06 23:16   

HI, I improved the QuestionText view a little, like Denis ment previous to integrate relevance into the question text section.
Main idea is to make a consitant workflow with as less clicks as possible.

From the users point of view the workflow is this:

  1. make a new question (or open an existing)
  2. what type of question? => set this
  3. what is the text to be displayed for this question (text, help)? => edit this
  4. what are the subquestions / answer options (if type has such) => edit this
  5. anything special else? => do this (i.e. settings)
  6. everything done? save it!

Find attached the improved QuestionText view according to these steps and a sketch (QuestionClickPath.png it's somewhat big in size) where I tried to illustrate the workflow.
Every down-movement means "complete this part"
Every up-movement means "got to the next step for details" or finally "save"

(46935)
markusfluer   
2018-03-07 09:11   

thank you for all that work.
This is really nice and we appreciate it.
As soon as this is an acute issue for us we will surely come back and take this into account.

(46937)
DenisChenu   
2018-03-07 09:58   
(Last edited: 2018-03-07 10:03)

My idea is more something like this :

Near same look than Adv settings for : text+code/answers/sub-questions (X and Y separate ?)/ maybe condition
BUT : with save in ajax system, and always shown : disable (grey/opacity) if not needed : for example short text question avec "Answer edit" and sub-question edit in grey.

I think it best if we have one button for edit where we can edit ALL question related part.

PS : i think Question summary must show Sub question + Answer since a lot of time (but never found time to add this feature ;) )

(46941)
orvil   
2018-03-07 12:11   

@DenisChenu - kind of slider approach :) that's a good idea too.
In this case it would be helpful if there is a chance to make the adv settings smaller as markusfluer suggested - for small screens.

(46942)
DenisChenu   
2018-03-07 12:16   

For little screen : i think adv settings must go at bottom, after all other part :)

(48197)
tammo   
2018-06-17 09:28   

I was told that for admin work the minimal screen width is 1280 px.

There is a real challenge to do admin work on a smaller screen, but I guess it should be doable. But if I was the one that was allowed to make the choices, I would say: focus on making the user flow better on 1280 and + screens, and look later for improvements on smaller screens.

(52836)
cdorin   
2019-07-11 15:09   

Hello @orvil, perhaps you have the time to try LS4 and let us know what you think of the new design :) . I personally consider that everything is much cleaner and readable than in the past.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15046 [Bug reports] Survey design minor have not tried 2019-07-15 15:38 2019-07-15 18:21
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-RC2  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github
I will donate to the project if issue is resolved: No
Browser: ff
Database & DB-Version: not relevant?
Server OS (if known): not relevant ?
Webserver software & version (if known): not relevant ?
PHP Version: not relevant ?
Summary: Delete group button : nothing happen
Description:

Click on delet group button, open dialog, clic Yes : nothing happen

Tags:
Steps To Reproduce:

See video

Additional Information:
Attached Files: simplescreenrecorder-2019-07-15_15.36.58.webm (375,699 bytes) 2019-07-15 15:38
https://bugs.limesurvey.org/file_download.php?file_id=11843&amp;type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15048 [Bug reports] Survey design minor have not tried 2019-07-15 17:20 2019-07-15 17:45
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-RC2  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github
I will donate to the project if issue is resolved: No
Browser: not relevant (FF)
Database & DB-Version: not relevant?
Server OS (if known): not relevant ?
Webserver software & version (if known): not relevant ?n
PHP Version: not relevant ?
Summary: Broken HTML in questionexplorer
Description:

ul with div inside in question explorer

Tags:
Steps To Reproduce:

Check HTML source

Additional Information:

No issue currently, but bad HTML can easily broke JS

Attached Files: Capture d’écran du 2019-07-15 17-18-28.png (18,158 bytes) 2019-07-15 17:20
https://bugs.limesurvey.org/file_download.php?file_id=11844&amp;type=bug
png
Notes
(52889)
DenisChenu   
2019-07-15 17:44   

https://github.com/LimeSurvey/LimeSurvey/pull/1305

(52890)
markusfluer   
2019-07-15 17:45   

This is rendered by vuejs, so don't worry.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14260 [Feature requests] Survey design feature have not tried 2018-11-16 08:49 2019-07-15 17:12
Reporter: Mazi Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version:  
Summary: Mark hidden questions/groups at the admin interface e.g. by using a certain color
Description:

Questions hidden by using the advanced question setting "Always hide this question" can cause some confusion because users may not notice why a question doesn't show. Especially when a team of people is designing large surveys, this causes trouble.
Same also applies to groups being hidden because all questions inside the group are hidden.

To solve this issue we are planning to at least mark the hidden questions properly (marking groups is more complex) by using grey color or opacity at the survey structure menu on the left.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Capture d’écran du 2019-05-22 12-20-42.png (9,854 bytes) 2019-05-22 12:21
https://bugs.limesurvey.org/file_download.php?file_id=11677&amp;type=bug
png

Capture d’écran du 2019-05-22 12-27-46.png (8,445 bytes) 2019-05-22 12:28
https://bugs.limesurvey.org/file_download.php?file_id=11678&amp;type=bug
png

Capture d’écran du 2019-05-22 15-05-12.png (18,965 bytes) 2019-05-22 15:13
https://bugs.limesurvey.org/file_download.php?file_id=11680&amp;type=bug
png

Capture d’écran du 2019-05-22 15-12-54.png (31,373 bytes) 2019-05-22 15:13
https://bugs.limesurvey.org/file_download.php?file_id=11681&amp;type=bug
png
Notes
(49677)
c_schmitz   
2018-11-16 09:05   
(Last edited: 2018-11-16 10:42)

Sounds great! Mabye instead of greying it out (which usually indicates that a question is disabled, which it isn't here) use a different color and/or a proper icon, like https://fontawesome.com/v4.7.0/icon/eye-slash

(49848)
bismark   
2018-11-30 10:27   

https://github.com/LimeSurvey/LimeSurvey/blob/master/assets/packages/adminpanel/src/components/subcomponents/_questionsgroups.vue#L325

This is a line we have to change.
But first we have to know, how to get the hidden-attribute of a question in vue.js?

(49849)
Mazi   
2018-11-30 10:34   

@markusfluer: Did you code the side menu? Can you provide a little help and let us know where to start to get the question attribute details for each question so we can check if it is set to be hidden and if this is the case, we need to pass that information into the side menu code so we can add a class like "question-hidden" to the element?

(49857)
bismark   
2018-12-01 14:49   

almost done, preparing a pull request

(49946)
Mazi   
2018-12-12 10:17   

@markusfluer, we will soon send a pull request as discussed at https://www.limesurvey.org/de/foren/development/117180-adminpanel-js-for-pull-request#177978. Could you please review later?

(49954)
jelo   
2018-12-13 12:47   

Did I got that correct? Node, npm etc. are becoming part of the LimeSurvey distribution.
Will bring security issue handling to the next level.

For marking hidden questions?
BTW: About hiding questions:
https://bugs.limesurvey.org/view.php?id=11665

(50028)
LouisGac   
2018-12-20 11:41   

again: remember that hidding via CSS or by removing the HTML makes a huge difference in the saved data. Hidden by CSS will be saved has NULL, hidden by removing the HTML will be saved as empty.
any change here will then completely change the habits of survey designer/data analyst.

(50032)
Mazi   
2018-12-20 12:28   

@LouisGac: We are not planning to change any details at survey runtime. We simply want to add a CSS class to hidden questions listed at the survey tree at the admin backend. The reason for this is that we can then easily mark those hidden questions e.g. by adding some opacity or using grey color.

(50057)
bismark   
2018-12-20 17:58   

the change affects the question explorer in backend, which is a vue.js application
therefore adminpanel.js needs to be compiled via gulp

(50074)
bismark   
2018-12-26 20:45   

https://github.com/LimeSurvey/LimeSurvey/pull/1198

(52037)
DenisChenu   
2019-05-22 12:21   

Hidden question in admin view MUST be seen : please don't use opacity or grey on grey …

And it's always better to have a clean text like we have for error.

Why not adding a clean text in a clean label.

Sample

(52038)
DenisChenu   
2019-05-22 12:28   

Usage of bg-warning on header (must use bg-danger for EM error)
and label-default for the text

(52039)
Mazi   
2019-05-22 12:31   

@DenisChenu, just for clarification: We are not planning any special design adjustments yet. The goal is to simply add the class and user could then adjust the design details at their own admin theme.

BTW, is the hint about hidden questions at the logic file already available at LS 4 or is this just an example?

(52041)
DenisChenu   
2019-05-22 12:45   

Yes: it's an hacked example.

Else : i really think we must

  1. Add EM error if we add hidden
  2. Never use only css class but text (or data-XXX)
  3. Use bootsrap class system
(52047)
DenisChenu   
2019-05-22 14:30   

I can make a sample screenshot when i see where younwant to add this : in left menu ? In question overview ? In question list ?

(52049)
Mazi   
2019-05-22 14:33   

Left menu (survey structure tree) it is.

(52050)
DenisChenu   
2019-05-22 15:13   

My opinion : why adding this single information i think iof we add something we have to add

  1. Error
  2. Have condition
  3. Hidden

See screenshot for a sample.

Adding screenshot with only label + screenshoit with some css : bg-danger + bg-warning on draggable with display:table-cell

(52051)
Mazi   
2019-05-22 15:26   

Well, for the given use-case we only wanted to mark hidden questions. I am open to discussing how to do that at the next dev meeting. I think we should keep the new class but can extend that. Why not adding small icons for "set to hidden" or "has EM errors" or "uses conditions"? Otherwise, it could be too much text.

Also, feel free to extend the feature to also include details about EM errors and conditions. For the later, would it be possible to not only show a note if the question itself uses conditions but also if follow up questions are conditionally connected to a given question? I assume it is only doable for conditions created by the condition editor but won't work for relevance equations?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14414 [Feature requests] Theme editor feature have not tried 2019-01-09 16:38 2019-07-15 16:20
Reporter: DenisChenu Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version:  
Summary: Theme need more url than image
Description:

Currently : no way to have

  • url to fonts for css
  • url to pdf file (RGPD for example)
  • url to a mpg video
    etc …
Tags:
Steps To Reproduce:
Additional Information:

Something like https://github.com/LimeSurvey/LimeSurvey/blob/7fecdabdde03853102c4b36ffbc50c97cc939c90/application/core/LS_Twig_Extension.php#L282
but templateRessourceUrl

Maybe i must test with assetPublish ?

Attached Files:
Notes
(52888)
DenisChenu   
2019-07-15 16:20   

https://github.com/LimeSurvey/LimeSurvey/commit/150c4a18adc7a837f8c6a20909b18d740aacbcde


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15047 [Feature requests] Plugins feature have not tried 2019-07-15 16:02 2019-07-15 16:05
Reporter: DenisChenu Platform:  
Assigned To: LouisGac OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Create an helper (in API or event) to allow adding twig function
Description:

We can currently create a plugin to add function
See : snippet : https://gitlab.com/snippets/1875429

It work, but it's not in API, then can be great to have a clean API function for this ?

Tags:
Steps To Reproduce:
Additional Information:

In init : it work, in afterPluginLoad : don't seems to work.
Mauybe in beforeControllerAction it can work ?

Attached Files:
Notes
(52887)
DenisChenu   
2019-07-15 16:03   
(Last edited: 2019-07-15 16:05)

@LouisGac : since you work on twig, think it best if you choose the way to do this :)

Oups, lack of a file in snippet … but here : really easy

&lt;?php

function helloWorld($string) {
    return 'Hello $string';
}

Maybe class need extend Twig_Extension by default too


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15033 [Bug reports] ComfortUpdate minor have not tried 2019-07-06 18:15 2019-07-15 15:56
Reporter: Mazi Platform:  
Assigned To: eddylackmann OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC1  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0-beta+190509
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL 5
Server OS (if known): Ubuntu 14 TLS
Webserver software & version (if known): Apache 2
PHP Version: 7.2
Summary: LS 4 RC 1 not available at ComfortUpdate for LS 4 beta
Description:

I was about to update my 4.0.0-beta+190509 system to the latest LS 4 RC 1 release but Comfort update tells me there is no newer version.

Tags:
Steps To Reproduce:

Try to update 4.0.0-beta+190509 using ComfortUpdate.

Additional Information:
Attached Files: ls4update.png (29,509 bytes) 2019-07-06 18:15
https://bugs.limesurvey.org/file_download.php?file_id=11827&amp;type=bug
png
Notes
(52778)
Mazi   
2019-07-06 18:17   

@cdorin, maybe assign this one to @markusfluer since it sounded like he was responsible for the LS 4 release? Not sure...

(52792)
cdorin   
2019-07-09 10:52   

@Mazi, was it solved? Everything fine now?

(52798)
Mazi   
2019-07-09 11:56   

@cdorin, not solved yet, I still get the same message about no updates being available.

(52813)
cdorin   
2019-07-09 15:04   

@LouisGac, could you take a look? It is also not working for me.

(52881)
eddylackmann   
2019-07-15 12:26   

can you please retry it ? The issue was in the CU database (wrong sha number).

(52883)
markusfluer   
2019-07-15 15:17   

Should be solved

(52886)
cdorin   
2019-07-15 15:56   

Hmm, I am on Beta. Everything is still up to date.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14989 [Bug reports] _ Unknown block have not tried 2019-06-18 09:18 2019-07-15 12:21
Reporter: LimesurveyGIAL Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: duplicate  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.5+190604
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: 10.2.10-MariaDB
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2.2
Summary: Problem can't upload file
Description:

We can't upload file for question file type (no matter the type and size).

Error message : Sorry, file type (extension : ) is not allowed!

Tags:
Steps To Reproduce:

Upload a file for question type file

Additional Information:
Attached Files: Capture.PNG (11,785 bytes) 2019-06-18 09:18
https://bugs.limesurvey.org/file_download.php?file_id=11767&amp;type=bug
png

screencapture-forms-brussels-be-index-php-2019-06-25-13_19_59-min.png (924,299 bytes) 2019-06-25 13:26
https://bugs.limesurvey.org/file_download.php?file_id=11783&amp;type=bug
phpinfo().html (93,725 bytes) 2019-06-27 19:27
https://bugs.limesurvey.org/file_download.php?file_id=11800&amp;type=bug
Notes
(52511)
cdorin   
2019-06-24 16:36   

The extension of your file is wrong. Not sure if I understand the name of the file. Anyway, there is no extension. Please change it accordingly.

(52523)
LimesurveyGIAL   
2019-06-25 11:07   

Hello cdorin, I made a lot of test with different file extension .jpg .png and the problem is already present. It's a bug. See ticket of a person with the same problem: https://bugs.limesurvey.org/view.php?id=15002.

(52524)
LimesurveyGIAL   
2019-06-25 11:07   

Hello cdorin, I made a lot of test with different file extension .jpg .png and the problem is already present. It's a bug. See ticket of a person with the same problem: https://bugs.limesurvey.org/view.php?id=15002.

(52526)
DenisChenu   
2019-06-25 11:13   

Please :

  1. Server OS
  2. Webserver software & version
  3. PHP version
  4. PHP info

Maybe something related to server issue.

(52527)
DenisChenu   
2019-06-25 11:13   

And activated debug mode too.

(52536)
DenisChenu   
2019-06-25 12:43   

PS : i think this can be ahppen if MIME is set but is invalid … or magic.mime is empty

Maybe in this case :

  1. debug>1 : throw an error
  2. Log it as error but return true (disable security check)

PS : disabling security check on a server where magic.mime is invalid still a big security issue …

(52540)
LimesurveyGIAL   
2019-06-25 13:26   

Hello DenisChenu,

Here the informations :

  1. Server OS : Windows Server 2012R2
  2. Webserver : IIS 8
  3. PHP version : 7.2.2
  4. PHP info : See PDF

Thank you

(52560)
mayrhofer01   
2019-06-26 11:12   

Here is our information

  1. Server OS : SUSE Linux Enterprise Server 12 SP3
  2. Webserver : Apache/2.4.23 (Linux/SUSE)
  3. PHP version : 7.0.7
  4. PHP info : cannot be disclosed
(52574)
DenisChenu   
2019-06-26 19:10   

For quick fix, comment this part : https://github.com/LimeSurvey/LimeSurvey/blob/ff061148dcc44d9e07000276c046e82bbed737af/application/controllers/UploaderController.php#L179-L189

I can understand for Windows Server 2012R2 & IIS 8, i can test. But really not with SUSE Linux Apache …

(52585)
rbaier   
2019-06-27 10:52   

Commenting L179-L189 seems to be not sufficient. We had to comment L169-L177 also (SUSE Linux Apache).
Another fix would be to replace "UploaderController.php" in LS317.5 by its antecessor from LS3.17.3.

(52587)
DenisChenu   
2019-06-27 11:30   

Commenting L169-L177 : you don't check any extension …

Then this disable extesnsion check …

I'm sure you have another issue than the windows issue …

(52588)
DenisChenu   
2019-06-27 11:31   

And since https://github.com/LimeSurvey/LimeSurvey/commit/d3eb007e64e9f17d69604440a7890f9f0b628b16#diff-3ed25382e366372eb8dcb56fba058992 is a security fix for some server or some user …

(52601)
DenisChenu   
2019-06-27 19:27   

@LimesurveyGIAL

Another question, because i just check with

  1. Windows Server 2016
  2. IIS
  3. PHP Version 7.2.12

And it work good …

When you choose a logo with fruity or vanilla : did it shown in public survey ?
Because it use same function …

Else : what is your include_path (sorry, but the file is bigger than can i look … with firefox , you can save the HTML file (update it to remove some information) and send the HTML here. Then i can search inside directly).
I search to know if i can find broken mime or not b…

See my phpinfo (i update real domain name by example)

(52602)
DenisChenu   
2019-06-27 19:32   

@LimesurveyGal : Seems you don't have fileinfo support ?

Can you check php.ini for php_fileinfo.dll ? And uncomment ? (i don't remind to uncomment on my system …)

Windows users must include the bundled php_fileinfo.dll DLL file in php.ini to enable this extension.

https://www.php.net/manual/en/fileinfo.installation.php

(52609)
DenisChenu   
2019-06-28 09:41   

Please : check with : https://github.com/LimeSurvey/LimeSurvey/pull/1301

(52612)
rbaier   
2019-06-28 10:36   

Thanks for pointing to "php7-fileinfo" !
So far, the module "php7-fileinfo" was not installed on our LimeSurvey server (SUSE Linux Apache).
It did not seem necessary before LS3.17.5.

After installation of "php7-fileinfo" file upload is now possible without any problems.

(52615)
DenisChenu   
2019-06-28 10:46   

This extension is enabled by default as of PHP 5.3.0.

:). I added it at manual https://manual.limesurvey.org/Installation_-_LimeSurvey_CE#Make_sure_you_can_use_LimeSurvey_on_your_website

Ned to be added in checker (like other common extension)

(52880)
DenisChenu   
2019-07-15 12:21   

https://github.com/LimeSurvey/LimeSurvey/commit/83e348a4fa816d3f95a5ce9ebf4f58114e76341e


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15006 [Bug reports] Survey design major have not tried 2019-06-26 17:55 2019-07-15 12:21
Reporter: marcgold Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: feedback Product Version: 3.17.x  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.6+190624
I will donate to the project if issue is resolved: No
Browser: All
Database & DB-Version: N/A
Server OS (if known): Linux Centos 7
Webserver software & version (if known): Nginx
PHP Version: 7.2
Summary: Array Numbers - Checkerbox Display Error
Description:

When setting an Array Numbers in Checkerbox format.
The column headings do not display in narrow format screen when the screen layout switches. Displays ok when wider.

This is based on the fruity template, but I have tried this in all templates including stock and it's the same issue.

Tested fully on Chrome Desktop and Mobile (Android & IOS) and Safari IOS.

Tags:
Steps To Reproduce:

Build an array numbers checker-box questions

Additional Information:
Attached Files: Screenshot 2019-06-26 at 16.40.34.png (44,485 bytes) 2019-06-26 17:55
https://bugs.limesurvey.org/file_download.php?file_id=11793&amp;type=bug
png

Screenshot 2019-06-26 at 16.40.17.png (31,544 bytes) 2019-06-26 17:55
https://bugs.limesurvey.org/file_download.php?file_id=11792&amp;type=bug
png

limesurvey_survey_2846.lss (87,326 bytes) 2019-06-29 16:04
https://bugs.limesurvey.org/file_download.php?file_id=11803&amp;type=bug
Vanilla.jpg (31,253 bytes) 2019-06-29 16:04
https://bugs.limesurvey.org/file_download.php?file_id=11804&amp;type=bug
jpg

Fruity.png (32,442 bytes) 2019-06-29 16:04
https://bugs.limesurvey.org/file_download.php?file_id=11805&amp;type=bug
png

Screenshot 2019-07-09 at 20.20.34.png (98,842 bytes) 2019-07-09 21:36
https://bugs.limesurvey.org/file_download.php?file_id=11832&amp;type=bug
png

Screenshot 2019-07-09 at 20.30.48.png (38,261 bytes) 2019-07-09 21:36
https://bugs.limesurvey.org/file_download.php?file_id=11833&amp;type=bug
png

Screenshot 2019-07-09 at 20.32.36.png (35,080 bytes) 2019-07-09 21:36
https://bugs.limesurvey.org/file_download.php?file_id=11834&amp;type=bug
png
Notes
(52572)
DenisChenu   
2019-06-26 19:03   

Version 3.17.6+190624 ?
Fixed here : https://github.com/LimeSurvey/LimeSurvey/commit/5e262a6901848a03430d814bba8e9d55f3a239f9#diff-fbd9719c3b6c1b87eefda2ed75d7c560

Can not reproduce with vanilla or bootswatch or fruity (or skelvanilla).

Can you check with included theme ?

(52643)
marcgold   
2019-06-29 16:04   

Hi Denis

I have confirmed that the my answer_td_checkboxes.twig file are the same as the version on github. But the problem still persists.
I have checked this in Stock fruity and vanilla and the problem is the same. I am attaching the LSS we are using and the screen images.

Hope this helps.

(52644)
DenisChenu   
2019-06-30 18:31   

Maybe reset assets ?

Can you check with array radio too ?
https://github.com/LimeSurvey/LimeSurvey/commit/4a99f4026309ed6fbba58587963dd76d5db09ba5

(52816)
marcgold   
2019-07-09 17:45   

Hi Denis,

Sorry for delay, I have been away. How do you reset assets?

(52817)
DenisChenu   
2019-07-09 17:49   

In global settings : you have a button

(52818)
marcgold   
2019-07-09 21:36   

Thanks Denis,
Cleared the Cache and spotted an update to v3.17.7+190627 so have applied this too.
Also, cleared cache, cookies and emptied the tmp/assets folder for good measure.

Sadly the problem still persists on a new survey created today. Array Numbers - CheckerBox Display On.

Interestingly: Array Radio (Array by Column) and Array Numbers without setting the CheckerBox Switch do work as they should - so its only when you switch on the checkerbox display.

Hope this helps.

(52822)
DenisChenu   
2019-07-11 07:36   

Really don't understand …
Can you check the files at : application/views/survey/questions/answer/arrays/multiflexi/rows/cells/answer_td_checkboxes.twig.

Maybe something related to twig cache ?
If you can : can you check the timestamp of this file ?

Can you send us a link (private mode if needed)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14272 [Bug reports] Expression Manager minor have not tried 2018-11-22 18:16 2019-07-15 11:50
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.5 github
I will donate to the project if issue is resolved: No
Browser: ff
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: Multiple text with comment and subquestion «comment» validation and logic file is broken
Description:

If you add comment as Subquestion code in multiple text this comment : EM have some issue

Tags:
Steps To Reproduce:

Import included survey :
Look at subquestion : see comment (the second one)

  1. Look at question survey logic file : disappear
  2. Launch survey, deactivate javascript :
    2.A. enter somthing in SQ01comment : OK, you can't validate
    2.B. remove SQ01comment, add something in commentcomment : validate (it's OK with javascript system that unckeck checkbox)
Additional Information:
Attached Files: Capture du 2018-11-22 18-06-45.png (76,087 bytes) 2018-11-22 18:16
https://bugs.limesurvey.org/file_download.php?file_id=10959&amp;type=bug
png

Capture du 2018-11-22 18-16-08.png (17,004 bytes) 2018-11-22 18:16
https://bugs.limesurvey.org/file_download.php?file_id=10960&amp;type=bug
png

limesurvey_survey_multipleTextComment.lss (16,748 bytes) 2018-11-22 18:16
https://bugs.limesurvey.org/file_download.php?file_id=10961&amp;type=bug
limesurvey_survey_multipleTextComment2.lss (16,762 bytes) 2018-11-22 18:21
https://bugs.limesurvey.org/file_download.php?file_id=10962&amp;type=bug
Notes
(49749)
DenisChenu   
2018-11-22 18:18   
(Last edited: 2018-11-22 18:21)

The good fix : fix Expression manager to test if current code is really a comment (it test only end of varname)
The quick fix : add it here : https://github.com/LimeSurvey/LimeSurvey/blob/b75afc09fb5acc631c1f90b1aefaf49b5b546763/application/models/Question.php#L188
Remind : disable ENDING with comment (same issue with SQ02comment) only for Multiple text with comment

(52879)
DenisChenu   
2019-07-15 11:50   

@cdorin : i think it fixed now : we disallow sub question code ending with comment : https://github.com/LimeSurvey/LimeSurvey/commit/a47c09d18bf47b1205b5586d451ee6d2002cef4b


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14909 [Bug reports] Other minor have not tried 2019-05-17 18:26 2019-07-15 11:41
Reporter: pmonstad Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.x.x beta
I will donate to the project if issue is resolved: No
Browser: all
Database & DB-Version: all
Server OS (if known): all
Webserver software & version (if known): all
PHP Version: all
Summary: more consistent language
Description:

Enclosed screenshot:

Suggest Red button changes from Stop this survey to Stop survey, and Share your survey to Share survey. There are too much use of "your" around, which is useless and makes the gui full of long text strings on buttons, menues etc.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Skjermbilde 2019-05-17 kl. 18.22.35.png (204,258 bytes) 2019-05-17 18:26
https://bugs.limesurvey.org/file_download.php?file_id=11668&amp;type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14908 [Bug reports] Data Entry (non public) minor have not tried 2019-05-17 12:20 2019-07-15 11:41
Reporter: thuenen_agraroekonomie Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.3 190429
I will donate to the project if issue is resolved: No
Browser: Firefox 66.05 (x64)
Database & DB-Version: MySQL mysqlnd 5.0.12-dev - 20150407
Server OS (if known): Linux ubuntu 18.04 LTS
Webserver software & version (if known): Apache
PHP Version: 7.2.18
Summary: The Button "exit and clear survey entrys" on the last page (endmessage)
Description:

If a patricipiant fill out the survey and submit the answers, he comes to the last page, the end message. In the right upper corner exist the button "exit and clear survey". If the user push the button, the message appears "answers cleared", restart the survey.
In reality the response is not cleared in the database. The response is only cleared in online-formular. If you restart the survey this is a new answer, with a new entry in the database.

Tags:
Steps To Reproduce:

The survey language is English. The survey is not public listed. There is no cookie set, to prevent double answers, The template is "Bootswatch" . The participiants need no key, only the url of the survey.

Additional Information:

I'm not sure, wether it is a bug or a feature, because in the case of the survey, the option "Set cookie and allow only one answer" is set to FALSE.
But if it is a feature, the wording leads to missinterpretation.

Attached Files:
Notes
(51985)
thuenen_agraroekonomie   
2019-05-17 12:26   

I think, the standard should be, that after "submit" the button "exit and clear survey" should not appear.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14876 [Feature requests] Ergonomy feature have not tried 2019-05-09 16:24 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Inherit value to [empty string] (when we can)
Description:

Currently, for token length : inherited value is -1. But we can not set token to '', then set it as '' for inherited.

Tags:
Steps To Reproduce:
Additional Information:

And it allow showing Inherited for placeholder.

Here it's for token, but i think we can do same to

  • All numeric value
  • All required value (except in parent … when can not be herited)

We need to check where we can need empty string value : if there are not a lot : we can add a checkbox (Admin name, Bounce email , (Admin email?), Send admin notification, Start date (?), Expiry date(?))

I'm OK to start on it if you're OK.

Attached Files: Capture d’écran du 2019-05-09 16-16-38.png (10,180 bytes) 2019-05-09 16:24
https://bugs.limesurvey.org/file_download.php?file_id=11639&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14837 [Bug reports] Other minor have not tried 2019-05-02 16:07 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.2 github
I will donate to the project if issue is resolved: No
Browser: FF 66
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Unable to fix invalid value in Boxes edit
Description:

When enter an invalid value in Boxes edit : Save is disable and not enable after fixing

Tags:
Steps To Reproduce:

Create a new Boxe, enter AAA in Position, click on Save

Additional Information:

It's not the only one , i think all this input must check validity of form before deactivate.

Attached Files: Capture d’écran du 2019-05-02 16-05-56.png (9,118 bytes) 2019-05-02 16:07
https://bugs.limesurvey.org/file_download.php?file_id=11592&amp;type=bug
png
Notes
(51742)
DenisChenu   
2019-05-02 16:52   

«Save and quit» have same issue.
HTML5 have great feature, pity that LimeSurvey does not know how to use them properly.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14795 [Development ] Tokens minor have not tried 2019-04-24 10:47 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0dev  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Extend Token Response etc … to automatically encryt/decrypt
Description:

Looking at https://bugs.limesurvey.org/view.php?id=14794
I think it's really better if we encrypt/decrypt automatically use model()->save/model()->find etc …

Tags:
Steps To Reproduce:

And idea can be

LSactiverecord->isEncrypted() {
return false;
}

Add in LSactiveRecord 2 function atahced to afterFind event and beforeSave event
This 2 function encryot/decrypt if needed (if $this->isEncrypted return true).

Additional Information:

Adding a parent function is better to check the "Model name" here : https://github.com/LimeSurvey/LimeSurvey/blob/2c957295dfb14c11ce4c33fd2ebe8f0354c7c5b9/application/models/LSActiveRecord.php#L316

Maybe we can too add a model->getEncryptedAttribute to put in eachy model the needed part : https://github.com/LimeSurvey/LimeSurvey/blob/2c957295dfb14c11ce4c33fd2ebe8f0354c7c5b9/application/models/LSActiveRecord.php#L342

To add automatically the functions needed :

    public function init()
    {
        $this->attachEventHandler(&quot;onBeforeSave&quot;, array($this, 'encryptData'));
        $this->attachEventHandler(&quot;onAfterSave&quot;, array($this, 'resetEncryptData'));
        $this->attachEventHandler(&quot;onAfterFind&quot;, array($this, 'decryotData'));
    }

Allow us to have clean function name and add it only if needed …

Attached Files:
Notes
(51561)
DenisChenu   
2019-04-24 10:49   
(Last edited: 2019-04-24 10:49)

onAfterSave need to reset data :

$oToken->save();
echo $oToken->token.' saved with success';

for example

Ifyou're OK : i can make a pull request before merging

(51562)
dominikvitt   
2019-04-24 11:24   

No, current design is very good, because it doesn't rely on events, but is called only when needed.
Design is much cleaner this way.

(51564)
DenisChenu   
2019-04-24 12:26   

I don't understand ?

Using an automatic system seems better in my opinion. See the previous issue for example.

For the on demand : if you use save : you broke the DB (have a 500 error …)

A,nd for event : it's the Yii event : they always happen.

I don't understand your «on demand» : it's needed : it must be by default …

(51566)
DenisChenu   
2019-04-24 12:37   

A way top BROKE db (with debug=2 : throw error 500)
Using remote control API to create a participant
https://github.com/LimeSurvey/LimeSurvey/blob/2c957295dfb14c11ce4c33fd2ebe8f0354c7c5b9/application/helpers/remotecontrol/remotecontrol_handle.php#L1775

2 solution:
Update ->save to encryptSave EVERYWHERE …

or ->save() use ->encryptSave() (by default, bnut can be disable)

Really mire clean if save use encryptSave … Same fpor findByPk or findByAttributes etc …

(51567)
ollehar   
2019-04-24 13:07   

Yes, ->save() will be replaced by ->encrypt()->save() everywhere. Easy change, no? Great that you report any place Dominik forgot!

(51568)
DenisChenu   
2019-04-24 13:16   

@ollehar : Then : why not extend ->save (or add a beforeSave function) to encrypt by default.

I really undestand wht NOT extend save function ?

(51572)
DenisChenu   
2019-04-24 14:39   

Already have 3 issue (and one potential after 14797 was fixed) : i really think it must be done by defaut (if survey is 'crypted' active for token) directly in the 2 models

I didn't check Response currently , only token …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14578 [Bug reports] _ Unknown block have not tried 2019-02-27 17:47 2019-07-15 11:41
Reporter: efellows Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.16.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.16.0+190225
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: MariaDB 10.3
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.3
Summary: Errors and warnings for PHP 7.0, 7.1 and 7.3
Description:

Attached are the errors and warnings when checking PHP-version-compatibility of LimeSurvey with PHPCompatibility (https://github.com/PHPCompatibility/PHPCompatibility).

Tags:

PHP 7, PHP 7.1, PHP 7.2, PHP 7.3

Steps To Reproduce:

third_party/bin/phpcs -v --standard=PHPCompatibility --extensions=php --ignore=/phpcompatibility/,/squizlabs/ --runtime-set testVersion 7.3 *

Additional Information:
Attached Files: php7-errors-warnings.txt (54,833 bytes) 2019-02-27 17:47
https://bugs.limesurvey.org/file_download.php?file_id=11310&amp;type=bug
Notes
(51890)
ollehar   
2019-05-10 17:09   

@dominikvitt Maybe you can have a look and see if any warnings or errors actually break the application?

(51891)
ollehar   
2019-05-10 17:09   

Using PHP 7.3.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14560 [Bug reports] Survey design major have not tried 2019-02-21 09:51 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Mandatory soft must be related to Question not Page
Description:

Currently : seems mandatory soft is related to page then :

  • Group with mandatory hard + mandatory soft can be submitted without mandatory hard validation (3rd group in lss)
  • Group with mandatory soft + validation : popup shown but can not submit.
Tags:
Steps To Reproduce:

Import include lss and test it (in develop)

Additional Information:

If mandatory soft is related to question :

  1. We can really fix this 2 issues
  2. We can show the system inside question answer for mandatory soft
  3. core theme can still shown a popup, button can validate all soft mandatory in the page
  4. another theme can show it differently

The fix must be set in expression_manager for starting
https://github.com/LimeSurvey/LimeSurvey/commit/a4ec47355e05ce198b32fa307e71a34cebb6b413#diff-796aba4d06254b9caea9d461e4ea80c9R6542

Not test a global var, but test (for exemple) if the SGQA is in an array of posted var.

Else
Another way to show a mansoft system : checkBoxForText test survey (real used system since more then 2 years).

Attached Files: Capture d’écran du 2019-02-21 09-43-24.png (16,239 bytes) 2019-02-21 09:51
https://bugs.limesurvey.org/file_download.php?file_id=11291&amp;type=bug
png

Capture d’écran du 2019-02-21 09-49-41.png (21,908 bytes) 2019-02-21 09:51
https://bugs.limesurvey.org/file_download.php?file_id=11292&amp;type=bug
png

survey_archive_manSoftTest.lsa (3,979 bytes) 2019-02-21 09:51
https://bugs.limesurvey.org/file_download.php?file_id=11293&amp;type=bug
simplescreenrecorder-2019-02-21_09.53.18.webm (1,132,332 bytes) 2019-02-21 09:54
https://bugs.limesurvey.org/file_download.php?file_id=11294&amp;type=bug
Notes
(50658)
DenisChenu   
2019-02-21 10:03   

I think

  1. Fix Expression manager to test (for exemple) :
    1. global mansoft (for whole survey)
    2. 1 array of mansoft for Question (then can have way to disable for question
    3. 1 array of mansoft for SGQ (for subquestion, multiple text, but array of radio too)
    4. 1array of mansoft for Group
  2. Move the function to test POSTED value in public static function ProcessCurrentResponses() https://github.com/LimeSurvey/LimeSurvey/blob/a4ec47355e05ce198b32fa307e71a34cebb6b413/application/helpers/expressions/em_manager_helper.php#L8855 (because it's checked ONLY when need to process post)
  3. Fill information in a twig variable : (i don't remind if we have moveResult in aSurveyInfo)
(50659)
DenisChenu   
2019-02-21 12:58   
(Last edited: 2019-02-21 13:00)

Idea of updating #1

  1. In EM/ ProcessCurrentResponses : set EM->manSoft[qid][] with all array of qid checked
  2. In EM/validateQuestion : set mandatiory validation OK if EM->manSoft[qid][$qid] is set
  3. Add in qanda_helper, if question have mansoft a checkbox hidden with name mansoft['qid'][] width value current qid. Hide it for javascript
  4. The current button check all mansoft['qid'][] checkbox

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14520 [Bug reports] Print View major have not tried 2019-02-12 12:11 2019-07-15 11:41
Reporter: Mazi Platform:  
Assigned To: cdorin OS:  
Priority: normal OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.15.6+190108
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL 5
Server OS (if known): Ubuntu 14 TLS
Webserver software & version (if known): Apache 2
PHP Version: 7.0.26
Summary: Lots of styles for "print answers" view are hardcoded within Twig files which makes adjusting the page design pretty difficult
Description:

Some example of hard coded design details at some "print answers" twig files (of which most can't be edited at the theme editor!):
https://github.com/LimeSurvey/LimeSurvey/blob/master/themes/survey/vanilla/views/subviews/printanswers/question_types/template_ranking.twig#L7
https://github.com/LimeSurvey/LimeSurvey/blob/master/themes/survey/vanilla/views/subviews/printanswers/question_types/template_boilerplate.twig#L6
https://github.com/LimeSurvey/LimeSurvey/blob/master/themes/survey/vanilla/views/subviews/printanswers/question_types/template_multiple-opt.twig#L14
https://github.com/LimeSurvey/LimeSurvey/blob/master/themes/survey/vanilla/views/subviews/printanswers/printanswers_question.twig#L5

There are many more affected at https://github.com/LimeSurvey/LimeSurvey/tree/master/themes/survey/vanilla/views/subviews/printanswers/question_types.

I suggest removing these hard coded design details and replacing them with proper SPAN or similar elements which get assigned some additional CSS classes so we (and all other users) can style those details at the custom.css file.

Tags:
Steps To Reproduce:

Take the attached survey, enter fake data for some questions and call the print answers screen at the end of the survey.

Additional Information:
Attached Files: print_answers.lss (230,028 bytes) 2019-02-12 12:11
https://bugs.limesurvey.org/file_download.php?file_id=11252&amp;type=bug
Notes
(50523)
DenisChenu   
2019-02-12 15:05   
  1. Maybe it's better to use boostrap class ?
  2. if we don't move to mpdf : Must remove usage of col-sm-X : since tcpdf is not compatible with float : https://bugs.limesurvey.org/view.php?id=14353

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14511 [Bug reports] Statistics text have not tried 2019-02-08 19:14 2019-07-15 11:41
Reporter: routard Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version: 3.15.x  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.15.8+190130
I will donate to the project if issue is resolved: No
Browser: Firefox
Database & DB-Version: mysqlnd 5.0.12-dev
Server OS (if known): Linux webm777.mp.ha.ovh.net 4.14.66-ovh-vps-grsec-zfs-classid #1 SMP Thu Aug 23 15:15:40 CEST 2018 x86_64
Webserver software & version (if known): Apache
PHP Version: 7.2.14
Summary: Equations or code in questions are visible on statistics
Description:

Hi!
When there is some code or equation in a question, it appears in the statistics. For example, I have the question :

Do you need theses books in september {date('Y')}?
(because I have the same survey each year, and I need to display the current year a lot of times in many questions).

When someone fill the survey online, the question is OK : Do you need theses books in september 2019?
But when I want to export the statistics, the question is: Do you need theses books in september {date('Y')}? Which is not friendly and not convenient for those who export the statistics. Can you solve this bug?
Thanks!

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: survey_archive_617599.lsa (4,516 bytes) 2019-02-11 19:58
https://bugs.limesurvey.org/file_download.php?file_id=11251&amp;type=bug
Notes
(50505)
dominikvitt   
2019-02-11 17:49   

This issue is fixed.
https://github.com/LimeSurvey/LimeSurvey/commit/7455462d3621f3f7a1b9e13a1fe6d3793f922b98

(50508)
DenisChenu   
2019-02-11 19:58   

Expression is more used to show information about current response.

Then if we replace Expression : we loose information : we can even have empty question text.

It's OK with fixed string like {date('Y')} or {SID} buit never with {Q01.shown} : become empty.

Else : @domikvitt : i just don't find it update something ? I test public stats and HTML/PDF/XLS stats

(50944)
routard   
2019-03-13 11:00   

I don't see any change either with new update!
I ok with ur remark DenisChenu, but would it be possible to convert expressions containing only pure php expression - like date() - and not convert expressions that contain at least a previous answer - like {QO1.shown} ?

(50946)
DenisChenu   
2019-03-13 12:15   

@routard : really really complex to check if an expression make a "fixed" string or not …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14436 [Bug reports] Survey design minor have not tried 2019-01-17 16:23 2019-07-15 11:41
Reporter: jelo Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.6+190108
I will donate to the project if issue is resolved: No
Browser: Firefox
Database & DB-Version: MySQL
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2.14
Summary: KCFinder breaks under PHP 7.2 via graphic library to create thumbs
Description:

When uploading a file via KCFinder under PHP 7.1 everything works as expected.
When switching to PHP 7.2. the uploading will still end in the attached error message.

"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>
Internal Server Error
The each() function is deprecated. This message will be suppressed on further calls
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem. Thank you.

The script /third_party/kcfinder/core/class/browser.php is not working correctly under PHP 7.2 in combination with certain graphic libraries. I guess it is GD. When I comment out the thumb creation part in browser.php the error message with stil be shown but KCFinder still be usable.
If you e.g. upload PDF documents the error is not triggered.

The error is limited to images and thumbs, when the browser.php scanning through the files.
Since KCFinder is able to use different imagesdrivers, it might be not reproducible with every php 7.2 setup
KCFinder is choosing the graphic library via 'imageDriversPriority' => "imagick gmagick gd".

Tags:
Steps To Reproduce:
Additional Information:

When you comment out the part to create thumbs, the error message will still come but you can work on.
/* if (is_array($size) && count($size)) {
$thumb_file = "$thumbDir/" . basename($file);
if (!is_file($thumb_file))
$this->makeThumb($file, false);
$smallThumb =
($size[0] <= $this->config['thumbWidth']) &&
($size[1] <= $this->config['thumbHeight']) &&
in_array($type, array("gif", "jpeg", "png"));
} else
$smallThumb = false;
/

Attached Files: 20191117kcfinderuploadthumb.PNG (39,238 bytes) 2019-01-17 16:23
https://bugs.limesurvey.org/file_download.php?file_id=11161&amp;type=bug
png
Notes
(50258)
DenisChenu   
2019-01-17 18:09   

KCFinder is choosing the graphic library via 'imageDriversPriority' => "imagick gmagick gd".

Wher is this link ? To test ?

(50259)
jelo   
2019-01-17 18:49   

https://github.com/LimeSurvey/LimeSurvey/blob/master/third_party/kcfinder/conf/config.php#L45

Not sure if it is really used in the modified LS KCFinder.
Just a sign for me that KCFinder might behave differently when only one graphic library is available via PHP.

(50260)
DenisChenu   
2019-01-17 18:55   

Maybe, but since i have imagick + gd : i can remove imagick from this line to force gs.

I set this line to 'imageDriversPriority' => "gd", and don't have issue …

This is my current gd settings

gd
GD Support  enabled
GD headers Version  2.2.5
GD library Version  2.2.5
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.9.1
GIF Read Support    enabled
GIF Create Support  enabled
JPEG Support    enabled
libJPEG Version     6b
PNG Support     enabled
libPNG Version  1.6.34
WBMP Support    enabled
XPM Support     enabled
libXpm Version  30411
XBM Support     enabled
WebP Support    enabled
Directive   Local Value Master Value
gd.jpeg_ignore_warning  1   1
(50261)
jelo   
2019-01-17 20:15   

But I don't see any impact in terms of disabling a library via removing the entry from that line.

If I remove GD extension directly from PHP , KCFinder will display:
Cannot find any of the supported PHP image extensions!
Which is correct, since no imagick gmagick is available and PHP isn't having GD.

When I remove GD just from 'imageDriversPriority' => "imagick gmagick" I get no warning and KCFinder tries to create the thumb in PHP 7.1 (with the error).

If I use PHP 7.1 with 'imageDriversPriority' => "imagick gmagick", it still creates the thumbnail via GD.

(50262)
DenisChenu   
2019-01-18 08:29   

I don't look at code, but if i have gd, and gd is 1st in priority : kcfinder take gd, no ?

(50263)
jelo   
2019-01-18 09:22   

I have no debugger on the PHP code running.

To test impact of 'imageDriversPriority'. I did the following.
I used a PHP 7.1 with GD as the only available available graphic library.
I removed GD from 'imageDriversPriority'.
If 'imageDriversPriority' would control the usage of the graphic library, KCFinder shouldn't create a thumb.
But KCFinder creates a thumb, even though GD is NOT in 'imageDriversPriority' at all.

(50436)
DenisChenu   
2019-02-07 12:54   
(Last edited: 2019-03-26 18:14)

I can not reproduce on PHP7.2.9 + IIS server + gd bundle (2.1.0 compatible)

(50437)
DenisChenu   
2019-02-07 12:55   

Maybe start by : https://github.com/sunhater/kcfinder/issues/169

(50438)
DenisChenu   
2019-02-07 13:05   
(Last edited: 2019-02-07 13:05)

Same server type : Windows IIS + PHP7.2.12 (same gd version) : it's OK. Maybe an issue in php version ?
OR : debug : 1/2

(51140)
Mazi   
2019-03-26 17:13   

@jelo, Will you get that error message from the screenshot all the time or only if debug mode is enabled?

(51141)
DenisChenu   
2019-03-26 18:15   
(Last edited: 2019-03-26 18:17)

@dominikvitt : This commit https://github.com/LimeSurvey/LimeSurvey/commit/79324b3fe1284f67c2849d6c407bc20e94f022b4#diff-6a6097871a7a28a752d81e9451763259 fix this issue , no ?

Maybe need a bad image in the images upload dir ?

(51144)
jelo   
2019-03-26 19:59   

@Mazi: Debugmode was off.

But I haven't tested the newer LS releases under PHP 7.2 and CentOS 7.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14430 [Bug reports] Theme editor minor have not tried 2019-01-15 21:30 2019-07-15 11:41
Reporter: tammo Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.16.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0dev  
Complete LimeSurvey version number (& build): 3.16.x
I will donate to the project if issue is resolved: No
Browser: Irrelevant
Database & DB-Version: MYSQL
Server OS (if known): Irrelevant
Webserver software & version (if known): Irrelevant
PHP Version: 7
Summary: Usage of obsolete HTML
Description:

The usage of "nobr" is considered to be obsolete.

first line of:
https://github.com/LimeSurvey/LimeSurvey/blob/master/themes/survey/vanilla/views/subviews/printanswers/printanswers_question.twig

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nobr

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(50225)
DenisChenu   
2019-01-16 15:27   

All of this view must be reviewed :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14359 [Feature requests] Import/Export feature have not tried 2018-12-18 10:36 2019-07-15 11:41
Reporter: rikatechdoku Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Please, make the used theme clearer when importing a survey and let the user choose a new theme as part of the importing process
Description:

1) Make the hint bigger, which theme the imported survey would be using now.

2) As part of the importing process, let the user choose a theme, which the survey should use. (This would be nice, at least when the "original survey theme" does not exist in the new context, but I think also otherwise. If the user is fine with the original theme, then it only needs one quick confirmation during import.)

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14357 [Feature requests] Import/Export feature have not tried 2018-12-18 10:15 2019-07-15 11:41
Reporter: rikatechdoku Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: import/export should include resource files (like the themes exported zip does)
Description:

see subject line

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(49984)
rikatechdoku   
2018-12-18 10:24   

I meant to include it in the lss and (or at least) in the lsa export/import

(49992)
DenisChenu   
2018-12-18 15:44   

Warning about this feature : since upload files can be really great …

(49993)
rikatechdoku   
2018-12-18 15:47   

do you mean in file size?

(49994)
DenisChenu   
2018-12-18 15:54   

Yes
since

  • Admin can upload 20 files
  • Upload question type can have more than 1000 files
(49995)
rikatechdoku   
2018-12-18 16:23   

I understand, however, it still is a bother when handling im/export to always have to think of the extra resources (and the extra steps to do it).

Thinking about it some more, maybe it would be even more - extremely - helpful, if import/export of all possible im- and exportable files would be all in one dialog (lss, lsa, resource-zip, participants-csv, responses-csv, file-uploads in responses, timings and anything else, if there is more). Then the user can define (e.g. with the use of check boxes) which data to im- or export. Thus, the export would then result in potentially multiple files and for the import one would potentially have to state the path to multiple files. I am getting exited thinking of such a feature. ;-D

(50423)
ritapas   
2019-02-06 10:39   

+1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14353 [Bug reports] Print View minor have not tried 2018-12-17 12:28 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.5 github
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Print answers as PDF make to wide part
Description:

When printing asnwers as PDF : we have really big white space …

Tags:
Steps To Reproduce:

Import included survey, print, export as pdf

Additional Information:

usage of float in tcPDF : didn't work
even display:inline seems not work

Then each element are shown in block …

To show it better : you can test with some included style : see template uploaded

About fixing it by own template : yes, can be done … but really : want core offer a really broken pdf ? And a lot of twig file to update (that are not accessible via GUI)

Attached Files: limesurvey_survey_pdfIssues.lss (19,912 bytes) 2018-12-17 12:28
https://bugs.limesurvey.org/file_download.php?file_id=11066&amp;type=bug
pdfIssues_vanilla.zip (112,878 bytes) 2018-12-17 12:28
https://bugs.limesurvey.org/file_download.php?file_id=11067&amp;type=bug
simple-print-answres-361286-5.pdf (86,891 bytes) 2018-12-17 12:28
https://bugs.limesurvey.org/file_download.php?file_id=11068&amp;type=bug
Notes
(50521)
DenisChenu   
2019-02-12 14:58   

Alternative : move to mpdf : https://gitlab.com/SondagesPro/coreAndTools/limeMpdf/blob/master/views/subviews/mpdf/style-bootstrap.twig

(50522)
DenisChenu   
2019-02-12 15:04   

My point of view:

  1. Maybe it's better to use boostrap class ?
  2. if we don't move to mpdf : Must remove usage of col-sm-X : since tcpdf is not compatible with float : https://bugs.limesurvey.org/view.php?id=14353
  3. Review all question to see if we have all information needed (see other for list with comment)
(50905)
Mazi   
2019-03-11 16:14   

From my point of view we should keep the current PDF library but need to adjust the design so things get styled properly. Tis should be fixed at version 3.x.

(50909)
DenisChenu   
2019-03-11 16:46   

Then : need to move to table/tr/td since tcpdf dodn't know float :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14336 [Bug reports] Survey design minor have not tried 2018-12-11 13:24 2019-07-15 11:41
Reporter: KompetenzZ Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): LimeSurvey Version 3.15.5
I will donate to the project if issue is resolved: No
Browser: Firefox
Database & DB-Version: ?
Server OS (if known):
Webserver software & version (if known): hosted limesurvey
PHP Version: ?
Summary: Tip for array question type
Description:

Most questions usually include a tip that says "Please choose one of the following options" or a hint text on how to fill out the question. The Array question type has not this tip. I wish me more consistency here. If there is no tip I cannot adapt the tip text with javascript.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Screenshot_2019-02-08_11-16-27.png (45,047 bytes) 2019-02-08 11:18
https://bugs.limesurvey.org/file_download.php?file_id=11230&amp;type=bug
png
Notes
(49918)
DenisChenu   
2018-12-11 15:49   

Easy way to add your tip on near any question :
Set Question validation equation : https://manual.limesurvey.org/Question_type_-_Array#Question_validation_equation_.28em_validation_q.29 to 1 == 1 (always true)
Set Question validation tip to your own string.

No need js :)

(49919)
KompetenzZ   
2018-12-11 16:36   

Thank you, and for other question types, which have a tip by default? How can I remove the default tip ".ls-question-message.ls-em-tip.em_default.ls-em-success" question specific? Because I want to adapt the tip text of several questions, whereby questions without adaption should show thier origin tip.

(49921)
DenisChenu   
2018-12-11 17:05   

I hide this default tip a lot in previous template

.ls-em-tip.em_default{display:none}

(49922)
KompetenzZ   
2018-12-11 17:13   

Shure, but then you have to write a new tip for every single question

(49923)
DenisChenu   
2018-12-11 17:21   

Then : adding a css class : Question css class : hide-default-tip
.hide-default-tip .ls-em-tip.em_default{display:none}

(49925)
KompetenzZ   
2018-12-11 17:28   

I wrote in custom.css:
.hide-default-tip .ls-em-tip.em_default{display:none}

and in questions options "CSS class(es)":
hide-default-tip

I think that was what you mean. Thank you very much. I'll post it in the forum when if you don't mind.

(49926)
DenisChenu   
2018-12-11 18:06   

If it work, yes, you can post on forum : LPRAB licence ;) (WTFPL in english)

(50455)
dominikvitt   
2019-02-08 11:18   

@ KompetenzZ:
Tip for Array question type works very well.
To see it rendered, you have to either turn on mandatory field or to set Minimum and Maximum answers.
See attached screenshot.
Please confirm if this works for you.

(50456)
DenisChenu   
2019-02-08 11:22   

@domikvitt : i think it's the "default" help.

In single choice we have : "Choose one of the answer" for default help.
None in array question type (something like "Choose one of the answer on each line")

Personnaly : i think "Choose one of the answer" muist appear only if question is mandatory : it's nolt the case today.
And adding "Enter some caracter" for mandatory question too.

But all of this are more better if "mandatory" are generated like othe attribute ( !is_empty(QCODE) )

(50457)
dominikvitt   
2019-02-08 11:25   

Yes, I can see now that it doesn't work for mandatory.
Would try to fix it.

(50458)
DenisChenu   
2019-02-08 11:27   

Hey : single choice always add "Choose one of the answer" , not array.

BUT : in my opinion : it's a old situation : adding it now can broke some template, css etc …

(50475)
KompetenzZ   
2019-02-09 00:16   

Thanks for checking this issue. I think Denis said the relevant points.

Kind regards.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14297 [Feature requests] Print View feature have not tried 2018-11-29 13:17 2019-07-15 11:41
Reporter: Mazi Platform:  
Assigned To: cdorin OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Missing setting to turn off showing answer/question codes at print answers overview
Description:

Lots of users are complaining about the print answers view not looking nice because of all the codes shown at the printout. It would be very helpful if we could have a theme option for switching codes on/off.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(49989)
DenisChenu   
2018-12-18 15:22   

+1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14265 [Bug reports] Statistics major have not tried 2018-11-20 12:08 2019-07-15 11:41
Reporter: jarlbug Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.13.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.14.8+180829
I will donate to the project if issue is resolved: No
Browser: Chrome/IE11
Database & DB-Version: MS SQL 2008 R2
Server OS (if known): Windows 10 and 7 + Server 2016
Webserver software & version (if known): IIS
PHP Version: 4.5
Summary: Caching id algorithm does not take into account chart label options on stats
Description:

If you run a stat to PDF with charts it generates PNG files for the charts using the options selected for Graph Labels.

If you rerun the stat for the survey but change the "Graph Labels" option for instance to add in the question text the image files used are the ones generated previously because the caching id algorithm does not take this change into account.

Tags:
Steps To Reproduce:
  1. Produce a PDF with charts using the default option.
  2. Go back and rerun the PDF with charts but this time select a different option for the charts.

The PDF will still use the old PNGs and thus the the charts will be wrong.

Additional Information:

You can clear the /tmp/*.png files and it will fix it.
Possibly affects other instances where cached files are used.
Setting debug to 2 fixes but because it disables caching.

Could lead to bad errors in output.

Attached Files:
Notes
(49707)
jarlbug   
2018-11-20 13:55   

https://www.limesurvey.org/forum/development/116993-bug-or-issue-with-my-install#177149

as reportted above.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14237 [Bug reports] Survey taking minor have not tried 2018-11-10 12:25 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.4 github
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Showpopup off : save still show popup
Description:

If you set showpopup to off : this still shown a popup after save.

Tags:
Steps To Reproduce:

Import included survey, (vanilla , showpopup : in page)
Launch a token, resume later

Additional Information:

The save javascript is done in core, this not been in core : it's must be template related
https://github.com/LimeSurvey/LimeSurvey/blob/57a35d5806391f2e83dc7f910b7eaa31e22e199d/application/helpers/SurveyRuntimeHelper.php#L1002

We have near same issue with global popup, but core tale care of template config : https://github.com/LimeSurvey/LimeSurvey/blob/57a35d5806391f2e83dc7f910b7eaa31e22e199d/application/helpers/SurveyRuntimeHelper.php#L293

Attached Files: Capture du 2018-11-10 14-49-29.png (32,205 bytes) 2018-11-10 14:49
https://bugs.limesurvey.org/file_download.php?file_id=10928&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14141 [Bug reports] Survey design minor have not tried 2018-10-11 09:47 2019-07-15 11:41
Reporter: cookiemonster Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.14.9+180917
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: libmysql - 5.5.54
Server OS (if known): Ubuntu
Webserver software & version (if known): Apache/2.4.7
PHP Version: 5.5.9
Summary: question type (dropdown) is not marked with mandatory border style
Description:

question type (dropdown) is not marked with mandatory border style

Tags:
Steps To Reproduce:

create a survey with that question type, set mandatory, submit without providing answer - see border "flickering" and then not showing at all

Additional Information:

see attachment

Attached Files: 452B4E38.PNG (110,560 bytes) 2018-10-11 09:47
https://bugs.limesurvey.org/file_download.php?file_id=10800&amp;type=bug
Notes
(49305)
cookiemonster   
2018-10-11 09:49   

forgot to mention...affects fruity and others (even unmodified)

(49307)
DenisChenu   
2018-10-11 10:51   

vanilla too ?

(49308)
cookiemonster   
2018-10-11 10:55   

in vanilla there's no border at all


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14046 [Bug reports] Other minor have not tried 2018-09-11 13:43 2019-07-15 11:41
Reporter: dirk01 Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.13.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Versie 3.14.5+180815
I will donate to the project if issue is resolved: No
Browser: any
Database & DB-Version: 10.0.36-MariaDB
Server OS (if known): 10.0.36-MariaDB
Webserver software & version (if known): cpanel
PHP Version: 5.6.37
Summary: Unable to translate datetime question
Description:

Using the datetime-question in HH:MM format.

'hour' and 'minute' are not translated to other language.

Searched everywhere in the installation and also in the .po file.

Tpartner confirmed it as being a bug.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: timepicker.png (4,530 bytes) 2018-09-11 13:43
https://bugs.limesurvey.org/file_download.php?file_id=10703&amp;type=bug
png

limesurvey_survey_744971.lss (19,149 bytes) 2018-09-11 13:43
https://bugs.limesurvey.org/file_download.php?file_id=10704&amp;type=bug
Notes
(49010)
DenisChenu   
2018-09-11 15:52   

https://github.com/LimeSurvey/LimeSurvey/blob/93e3a3717b1983dfd3c658381e69cd8590291a4b/application/views/survey/questions/answer/date/dropdown/rows/hour.twig#L11
Maybe a "move twig to temp …" not done …

https://bugs.limesurvey.org/view.php?id=13867


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14003 [Bug reports] _ Unknown minor have not tried 2018-08-24 10:53 2019-07-15 11:41
Reporter: Siem Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: confirmed Product Version: 3.13.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.14.5+180815
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: MySQL 5.5.60-0+deb7u1
Server OS (if known): Debian 0.9.39.5-1+wheezy1 (DB: 201802130)
Webserver software & version (if known): Apache/2.2.22 (Debian)
PHP Version: PHP 5.6
Summary: progressbar includes hidden questions
Description:

When there are hidden calculation questions (questions that have "Always hide this question" turned on) the progress bar also counts these when indicating the progress.

Solution: the X-variable used in "There are X questions in this survey" is counting the questions right. Why not use the same count in the 'total questions variable' of the progress-bar?

Tags:
Steps To Reproduce:

create a survey that has a progress-bar with 10 questions.

the first 5 questions are normal questions, the last 5 questions are for instance equations with "Always hide this question" turned on.

At question #5, the last visible question for the participant, the progress-bar will indicate 40% instead of 80%, since it includes the hidden questions in its count.

Additional Information:
Attached Files: limesurvey_survey_progressbar_test.lss (25,424 bytes) 2019-06-08 13:22
https://bugs.limesurvey.org/file_download.php?file_id=11730&amp;type=bug
limesurvey_progBarWorkaround.lss (35,170 bytes) 2019-06-08 22:40
https://bugs.limesurvey.org/file_download.php?file_id=11731&amp;type=bug
Notes
(49092)
jelo   
2018-09-19 15:55   

The numbering with hidden questions seems to wrong too.
https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/116449-with-hidden-question,-numbering-is-wrong

The impact and way of hiding questions might need a broader look. Currently many workarounds need to hide the question via CSS or Javascript, which will cause the same "visual" glitches to the respondent.

The hide question option might should be improved to recognize these techniques too.
Compare https://bugs.limesurvey.org/view.php?id=11665

(50143)
DenisChenu   
2019-01-10 09:38   

Someone have a lss to start fixing issue ?

(52332)
teracomp   
2019-06-07 19:56   

Wondering if this has a projected resolution. With one of my surveys, I have a group of 30 items plus a group of 9 hidden equations. The progress bar shows 76% (30/39) when the last item is answered and users are confused when the survey concludes. Looks like this has been an issue for a while (see "duplicate" 11665).

(52333)
DenisChenu   
2019-06-08 09:29   

@teracomp : i write «Someone have a lss to start fixing issue ?»
Personnaly, except major issue : no lss , no fix (or not need for me)…

I know i can do a lss easily, but it take time :)

(52334)
Siem   
2019-06-08 11:29   

@teracomp

I have a workaround for this problem, I put this code in the custom.jss of the theme of the survey, you change the number 226 to the number of questions in your survey:

$(document).on('ready pjax:scriptcomplete',function(){
var QUESTIONS = 226;
var questionNumber = $(".question-number").text() - 1;
var progressValue = (Math.round((questionNumber/QUESTIONS)*1000)/10);
if (progressValue < 0){
progressValue = 0;
}
$('.progress-bar').css({
'transition': 'width 0s ease 0s',
'width': progressValue+'%'
}).attr('aria-valuenow', progressValue).text(progressValue+'%');
});

(52336)
teracomp   
2019-06-08 13:22   

Here is a LSS survey to work with. There are 3 groups: background (1 question), items (10 questions-randomized), and calculations (5-do not show expressions).
When the survey starts, it indicates there are 11 questions (background + items). After answering the background question and clicking next, you'll see the survey is 6% complete (1 / 16). By the time I get to the last item, the progress bar will show 62%. When I click [NEXT] on the last item, the survey is suddenly complete (from 62% to the end). From the user's perspective, they didn't answer most of the questions.

I will try the workaround from Siem, of course, but this is provided per @DenisChenu request.

(52337)
teracomp   
2019-06-08 22:40   

Borrowing @Siem's idea, here's my solution to solve a number of issues. (See attached LSS file).

  1. Instead of adding the script to my theme, I include this in the source code for the group. This allows me to use this for each survey where necessary.
  2. One of the nagging issues is the user never gets to "Submit" the survey. I added a group named "All Done" and provided a text question to prompt the user to simply click submit. At this point, the progress bar will show 100% and the user can click submit with confidence.
  3. I added a second batch of questions (group: "Items2") with the same randomization code ("all") to show that multiple groups can be randomized with random questions being served. This meets the needs for several of my longer survey instruments that have multiple groups and more questions.

Assuming #thisstep is the right variable to use, this method seems to solve my current issues. I'm obviously open to suggestions, especially if my assumption is faulty!

Recommendation: If this logic is valid, it seems like a rather simple solution is to expose a "Total Questions for Progress Bar" property on the Settings:Presentation panel. Whatever value is entered there would be the basis for the progress bar.

<script>
$(document).on('ready pjax:scriptcomplete',function(){
var TotalPBarQuestions = 21; // total questions to count for progress-bar
var qFactor = round( ( 100 / TotalPBarQuestions ), 1); // divide progress-bar into equal segments
var current = parseInt( $('#thisstep').val() ) - 1; // use #thisstep hidden value to determine question #
var progressValue = round( current * qFactor, 0); // round value for display

// control bounds
if ( progressValue &lt;= 0 ){
    progressValue = 0;
} else if ( progressValue > 100 ) {
    progressValue=100;
}

// set progress-bar
$('.progress-bar').css({'transition': 'width 0s ease 0s', 'width': progressValue+'%' }).attr('aria-valuenow', progressValue).text(progressValue+'%');

});
</script>


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13979 [Feature requests] Survey design feature have not tried 2018-08-17 00:41 2019-07-15 11:41
Reporter: jelo Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Allow to hide instruction "Check all that apply"
Description:

A more granular control over what and how additional instructions are displayed when using e.g. logic min max answers would be nice.

If the logic has a minimum value, the hint/tip "Check all that apply" is shown.
Would be nice to hide that line, since another text-line is displayed "Please select at least one answer".

Tags:
Steps To Reproduce:
Additional Information:

https://www.limesurvey.org/forum/design-issues/116189-check-all-that-apply-not-hidden-via-hide_tip#172538

Attached Files: 20180816checkallthatapply.PNG (12,243 bytes) 2018-08-17 00:41
https://bugs.limesurvey.org/file_download.php?file_id=10649&amp;type=bug
png
Notes
(48809)
LouisGac   
2018-08-17 10:47   

should be easy to implement.
btw: Dominik implements new attributes to question, so it's right in our current work flow

(48883)
DenisChenu   
2018-08-28 09:12   

Each tips have different class name in 2.73 and before, it's not the case here ?
A workaround can always be apply (in fact : i always hide via css default uneeded fixed tip in 2.6lts and before)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13647 [Bug reports] Survey design major have not tried 2018-05-03 19:49 2019-07-15 11:41
Reporter: holch Platform:  
Assigned To: cdorin OS:  
Priority: immediate OS Version:  
Status: assigned Product Version: 3.7.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.7.1+180424
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL
Server OS (if known): Linux (Cpanel)
Webserver software & version (if known): Apache
PHP Version: 7
Summary: Different approaches of creating subquestions and answer options with different Array type questions
Description:

When creating an array question you have different screens for creating sub questions and answer options. there is also no relevance equation for answer options.

If you create an Array number question, both sub questions and answer options are created in the same screen (x and y axis) and there is a relevance equation field for both axis.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Screenshot_11.png (38,296 bytes) 2018-05-03 19:49
https://bugs.limesurvey.org/file_download.php?file_id=10273&amp;type=bug
png

Screenshot_12.png (3,917 bytes) 2018-05-03 19:49
https://bugs.limesurvey.org/file_download.php?file_id=10274&amp;type=bug
png

Screenshot_13.png (35,049 bytes) 2018-05-03 19:49
https://bugs.limesurvey.org/file_download.php?file_id=10275&amp;type=bug
png

Screenshot_14.png (31,587 bytes) 2018-05-03 19:49
https://bugs.limesurvey.org/file_download.php?file_id=10276&amp;type=bug
png
Notes
(47618)
LouisGac   
2018-05-16 12:23   

dominik: for when we'll convert to twig the subquestion editing

(48894)
LouisGac   
2018-08-28 12:06   

this has been "fixed" by removing the field right?

(48935)
dominikvitt   
2018-09-03 14:59   

Relevance field was removed only for "Array by column" question type, not for others.

(49106)
jelo   
2018-09-20 18:08   

The intention was to remove it on a few others questions types as well.

But more important would be to have a plan to get answer relevance everywhere.
Will LS 4 be able to provide this feature.

This thing is hunting us through the years. I wonder how many open bugreports are just that topic.
https://bugs.limesurvey.org/view.php?id=9941

(49161)
DenisChenu   
2018-09-28 10:40   

«Array number question, both sub questions and answer » false

In array number : all are subquestion … currently, more : each subquestion (column in DB) have 2 params : subQ X and SubQ Y
Answer is value save in DB, it's totally different …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
11688 [Feature requests] Survey design feature have not tried 2016-09-20 16:08 2019-07-15 11:41
Reporter: jelo Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: develop  
Summary: List building - static lists - dynamic lists
Description:

Instead of applying array filters, the checked items of a question could be copied into a list.
Static lists would be defined during the survey design.
Dynamic lists would be created during a interview.
Beside of just containing e.g the chosen items of a question, you could copy, select, mix, sort these lists and copy the results into a new dynamic list.
These lists can be applied to questions.

Tags:
Steps To Reproduce:
Additional Information:

To get an impression of such scripting with dynamic lists take a look at this manual excerpt.

https://www.sawtoothsoftware.com/help/lighthouse-studio/manual/listfunctions.html

Attached Files:
Notes
(40864)
DenisChenu   
2016-09-20 19:27   
(Last edited: 2016-09-20 19:28)

For such system we can actually use a short text and update it to a dropdown when it's shown (beforeRenderQuestion).

See https://www.limesurvey.org/index.php?option=com_sobipro&amp;pid=76&amp;sid=98:arraytextadapt&amp;Itemid=729 for exemple (using label sets)

(43104)
jelo   
2017-02-28 17:12   

Workarounds
https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/92552-randomly-select-from-a-conditional-list

(47503)
Joffm   
2018-04-24 08:31   

I support this feature request very much.

(47633)
LouisGac   
2018-05-16 12:59   

dominik: please check if you can create a question theme from the workaround.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14983 [Bug reports] Other minor have not tried 2019-06-16 16:27 2019-07-15 11:41
Reporter: f_funke Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0-beta github 190614
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mySQL LimeSurvey DB 416
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2.7
Summary: Global Survey Settings: No options for Google Analytics
Description:

It would be good to add settings for Google Analytic in the global survey settings "Notifications & data".

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14982 [Bug reports] Other minor have not tried 2019-06-16 16:23 2019-07-15 11:41
Reporter: f_funke Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0-beta github 190614
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mySQL LimeSurvey DB 416
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2.7
Summary: Global Survey Settings: Missing settings for data policy
Description:

It would be good if data policy could be set in the global survey options, including the texts that are displayed.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14976 [Feature requests] Statistics feature have not tried 2019-06-14 17:51 2019-07-15 11:41
Reporter: f_funke Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Timings for SPSS export
Description:

At present, timings are not exported for SPSS. The SPSS data file ("survey_<surveyID>_SPSS_data_file.dat") does neither contain the total time nor group timings nor question timings. SPSS data file should contain all timings and the and SPSS syntax file should contain all variable names and variable labels.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: survey_archive_181135.lsa (4,204 bytes) 2019-06-21 18:07
https://bugs.limesurvey.org/file_download.php?file_id=11776&amp;type=bug
survey_181135_SPSS_data_file.dat (394 bytes) 2019-06-21 18:07
https://bugs.limesurvey.org/file_download.php?file_id=11777&amp;type=bug
results-survey181135.xlsx (4,908 bytes) 2019-06-21 18:07
https://bugs.limesurvey.org/file_download.php?file_id=11778&amp;type=bug
results-survey181135.csv (691 bytes) 2019-06-21 18:07
https://bugs.limesurvey.org/file_download.php?file_id=11779&amp;type=bug
Notes
(52485)
dominikvitt   
2019-06-20 14:12   

@f_funke:
Please create simple example file(s) showing actual implementation, so it would be clear what export files should look like.

(52490)
f_funke   
2019-06-21 18:07   

I created a simple survey with just one open question (see attachment).

If you export the responses as CSV or Excel the dataset contains the following variables:
01: Response ID
02: Date submitted
03: Last page
04: Start language
05: Seed
06: Date started
07: Date last action
08: IP address
09: Referrer URL
10: A first example question. Please answer this question:
11: Total time
12: Group time: My first question group
13: Question time: Q00

The SPSS data file only contains the variables 01 to 10, so total time, group time, and question time are missing.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14972 [Bug reports] _ Unknown minor have not tried 2019-06-14 08:33 2019-07-15 11:41
Reporter: gfi_spiess Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.5
I will donate to the project if issue is resolved: No
Browser: Mozilla Firefox
Database & DB-Version: MS SQL 2012 SP4
Server OS (if known): Red Hat Enterprise Linux Server Release 7.4
Webserver software & version (if known): Apache/2.4.6
PHP Version: PHP 5.4.16
Summary: Ampersand will be translated into "&amp"
Description:

If survey participants add firstname, lastname or more attributes like company names with an ampersand (&), this will be translated for example into “&amp”.
This problem does not existfor Super-Admin, just by regular users.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: datenausgabe.jpg (13,321 bytes) 2019-06-14 08:33
https://bugs.limesurvey.org/file_download.php?file_id=11744&amp;type=bug
jpg

Dateneingabe.jpg (23,250 bytes) 2019-06-14 08:33
https://bugs.limesurvey.org/file_download.php?file_id=11745&amp;type=bug
jpg
Notes
(52411)
Mazi   
2019-06-14 09:01   

Are you sure about the PHP version being used? According to https://manual.limesurvey.org/Installation_-_LimeSurvey_CE#Make_sure_you_can_use_LimeSurvey_on_your_website Limesurvey 3.x requires PHP 5.5 or later, you mentioned PHP v5.4.

(52412)
Mazi   
2019-06-14 09:03   

@DenisChenu, could this be related to the XSS filter?

(52413)
DenisChenu   
2019-06-14 09:13   

@Mazi : i don't know … try to deactivate XSS and check …

(52497)
Mazi   
2019-06-24 13:16   

@cdorin, FYI, this is an issue reported by one of our customers.

(52498)
cdorin   
2019-06-24 13:18   

WIll also test it on multiple instances and assign it accordingly. Thanks for the tag

(52501)
cdorin   
2019-06-24 14:15   

It is related to the XSS filter. If disabled, everything is fine. If enabled, the "&amp" is displayed

(52598)
DenisChenu   
2019-06-27 18:02   

& is invalid in HTML …

(52599)
DenisChenu   
2019-06-27 18:03   

Question : maybe we can deactivate XSS protection on attribute value ? Someone find a reason why it's added ?

Attribute can be shown in Survey, but likle all user entered value if i don't make error ?

Must find it was added, maybe there are a security reason …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14777 [Bug reports] Survey taking minor always 2019-04-16 14:04 2019-07-15 11:41
Reporter: ckle Platform:  
Assigned To: cdorin OS:  
Priority: low OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.1+190408
I will donate to the project if issue is resolved: No
Browser: 66.0.3
Database & DB-Version: Microsoft SQL Server 2017 14.0.3006.16
Server OS (if known): Windows NT 10.0 build 14393 (Windows Server 2016)
Webserver software & version (if known): Microsoft IIS 10.0
PHP Version: 7.0.21
Summary: Vanishing values on "Numerical input"
Description:

Sometimes the input value on "Numerical input" vanishes if you press and hold a number a little bit longer.

Tags:

expression manager, question, questions

Steps To Reproduce:
  1. Create a new survey
    1. Optional: "Create example question group and question"
    2. Template: vanilla or fruity
  2. Add two questions (or check "Create example question group and question" and "Add new question")
    1. Type of first question is not relevant
    2. Type of second question: "Numerical input"
  3. Preview survey
    1. Navigate via tab to the second question
    2. Press and hold for example "1" a little bit longer
    3. Sometimes the input value vanishes
Additional Information:
Attached Files: bug_vanishing_values_num_input.lss (17,786 bytes) 2019-04-16 18:40
https://bugs.limesurvey.org/file_download.php?file_id=11519&amp;type=bug
Notes
(51491)
cdorin   
2019-04-16 18:39   

I was able to reproduce it on the PRO instance.

You need to press one key for a couple of seconds to replicate it.

Multiple Numerical Input question type is also affected by this.

I don't consider it to be a major bug issue, but it should be solved in the near future.

@ckle, thanks for reporting it!

(51495)
DenisChenu   
2019-04-16 18:50   

Confirm too … maybe related to theme : can happen with vanilla, don't find the way to reproduce with skelvanilla


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14703 [Bug reports] _ Unknown trivial have not tried 2019-03-28 22:24 2019-07-15 11:41
Reporter: bismark Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): master
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: 10.1.26-MariaDB
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.1.8
Summary: Survey getState
Description:

when a survey is active and still between startdate and expire date I would expect the state of the survey is "running"

By the way when working with date comparison consider to "composer require nesbot/carbon"

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(51189)
DenisChenu   
2019-03-29 08:28   

It's a feature request ? Something to know if survey are in active and open scope ?

(51190)
bismark   
2019-03-29 10:17   

in fact I use Survey::model()->active()->open()->findAll(), before I stumbled across Survey::getState()
however, the "running"-state doesnt consider start- expire dates, although I assumed the survey is "running" between start and expire dates

(51191)
DenisChenu   
2019-03-29 10:27   

Oups … didn't see Survey::getState() function…

But it's seems it consider start/epires date : it's broken ?
https://github.com/LimeSurvey/LimeSurvey/blob/392b869292012b19b3606e711924cc2fc00b01c6/application/models/Survey.php#L1090

(52505)
DenisChenu   
2019-06-24 15:04   

I take it, fix is quick :)

(52506)
DenisChenu   
2019-06-24 15:11   

API update …

Current

  1. between startdate and expire date > return willExpire
  2. After startdate, no expire date > return … null : this is the issue

If moving from willExpire to running : this can broke plugin.

(52507)
DenisChenu   
2019-06-24 15:19   

Maybe decision to do : https://github.com/LimeSurvey/LimeSurvey/pull/1299

But i don't think we need a «after Start Date but no expires» state.
We must leave willExpire even if it can be running …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14648 [Bug reports] Assessments minor have not tried 2019-03-14 08:27 2019-07-15 11:41
Reporter: mpac_limes Platform:  
Assigned To: cdorin OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.9 (190214)
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mysql 5.6.35
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.0.33
Summary: EM doesn't work in assesments result
Description:

When a survey has assessment activated, EM doesn't make any replacements in the results page

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: test_limesurvey_survey_597817.lss (15,948 bytes) 2019-03-14 08:35
https://bugs.limesurvey.org/file_download.php?file_id=11364&amp;type=bug
Notes
(50969)
mpac_limes   
2019-03-14 08:28   

Explained in this thread:

https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/117917-em-in-endpage


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13509 [Bug reports] Survey design minor have not tried 2018-03-21 15:12 2019-07-15 11:41
Reporter: tpartner Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: feedback Product Version: 3.5.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 3.5.x  
Complete LimeSurvey version number (& build): 3.5.4
I will donate to the project if issue is resolved: No
Browser: N/A
Database & DB-Version: mysqlnd 5.0.12-dev
Server OS (if known): Windows 10
Webserver software & version (if known): Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9
PHP Version: 7.1.9
Summary: Sub-question relevance does not work in array-by-column questions.
Description:

Although the input fields for relevance are available in the edit sub-question view of the array-by-column type question, they have no effect.

See the attached survey. When an item is selected in Q0, the corresponding sub-question in the following arrays should be hidden . This works for the normal array but not for the array-by-column

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: limesurvey_survey_256562.lss (24,433 bytes) 2018-03-21 15:12
https://bugs.limesurvey.org/file_download.php?file_id=10133&amp;type=bug
Notes
(47187)
orvil   
2018-03-22 12:58   

Does not work for array (numbers) too. See issue 13441.
Can both be solved in a similar way?

(47191)
jelo   
2018-03-22 16:45   

The "bug" (perhaps displaying the fields is the bug?) is older.
https://bugs.limesurvey.org/view.php?id=12277

BTW: I was surprised to see a "Question validation equation". I remember trying to do a best/worst question via array by column and wasn't able to place unique(self). There was no validation equation. Now it seems to work.

(47196)
jelo   
2018-03-22 23:08   

Array (Texts) X-Scale relevance fields are without functionality. If you put 0 into a relevance field, the sub-question is still shown. Tested in 3.5.4 (demo.limesurvey.org). Haven't open a bug ticket yet.

(47726)
LouisGac   
2018-05-23 10:45   

could someone confirm me that it was working fine in 2.x ?

(52495)
cdorin   
2019-06-24 11:05   

@dominikvitt . See also this one


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
12378 [Bug reports] Plugins minor have not tried 2017-05-10 14:26 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: low OS Version:  
Status: assigned Product Version: 2.64.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 20170510
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: AuditLog plugin break console usage for other plugin
Description:

AuditLog is broken with console action

Tags:
Steps To Reproduce:

Activate AuditLog
Install and activate sendMailCron https://framagit.org/SondagePro-LimeSurvey-plugin/sendMailCron
Try to use sendMailCron

[2017-05-05T07:25:39-07:00] [TRACE] Send : test@example.com (2) for 388348
exception 'CException' with message 'Object configuration must be an array containing a "class" element.' in /var/www/limesurvey/framework/YiiBase.php:193
Stack trace:
#0 /var/www/limesurvey/framework/base/CModule.php(393): YiiBase::createComponent(Array)
#1 /var/www/limesurvey/framework/base/CModule.php(103): CModule->getComponent('session')
#2 /var/www/limesurvey/application/core/LSWebUser.php(14): CModule->get('session')
#3 /var/www/limesurvey/framework/YiiBase.php(217): LSWebUser->
construct()
#4 /var/www/limesurvey/framework/base/CModule.php(393): YiiBase::createComponent(Array)
#5 /var/www/limesurvey/framework/base/CModule.php(103): CModule->getComponent('user')
#6 /var/www/limesurvey/application/libraries/PluginManager/LimesurveyApi.php(275): CModule->__get('user')
#7 /var/www/limesurvey/plugins/AuditLog/AuditLog.php(346): ls\pluginmanager\LimesurveyApi->getCurrentUser()
#8 [internal function]: AuditLog->beforeTokenSave()

Additional Information:

Must fix AuditLog AND the API

Attached Files:
Notes
(52712)
DenisChenu   
2019-07-03 17:50   

@dominikvitt : see the solution of @bismark : https://bugs.limesurvey.org/view.php?id=14704#c51207

(still happy to test and merge it …)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
9652 [Bug reports] Expression Manager minor have not tried 2015-05-30 18:26 2019-07-15 11:41
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: low OS Version:  
Status: assigned Product Version: 2.05+  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 150530
I will donate to the project if issue is resolved: No
Browser: firefox
Database & DB-Version: mysql 5
Server OS (if known): debian/Linux
Webserver software & version (if known): apache
PHP Version: PHP 5.4
Summary: Question started hidden by condition + default value + validation equation : validation can be shown error even if OK
Description:

If you use Regexp condition in Question validation equation: with a short text question. With a default value respected the condition : the regexp start false, jsut tab in input and seems OK.

Tags:
Steps To Reproduce:

Import survey included , test it , select YES.

The 2 question are exactly the same expect with code and condition

Additional Information:
Attached Files: limesurvey_survey_regexpBrokenByCondition.lss (15,118 bytes) 2015-05-30 18:26
https://bugs.limesurvey.org/file_download.php?file_id=6755&amp;type=bug
Notes
(32271)
DenisChenu   
2015-05-31 13:27   
(Last edited: 2015-05-31 13:29)

Using .NAOK : never show error when appear, only when tab (if default is an error.

Using !is_empty(this.NAOK) : same error

(52704)
cdorin   
2019-07-03 17:19   

It exists in LS 3. Assigned.

(52710)
DenisChenu   
2019-07-03 17:49   

Arg very old issue here ;)

(52711)
cdorin   
2019-07-03 17:50   

Brings memories, isn't it ? :)

(52715)
DenisChenu   
2019-07-03 17:56   

Survey still work on 3.X : it's the real great information ;)

(52716)
DenisChenu   
2019-07-03 17:57   

PS : i think in 3.X it's more easy to fix : a javascript trigger event maybe ?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15009 [Bug reports] Survey design minor have not tried 2019-07-01 17:10 2019-07-15 11:40
Reporter: DenisChenu Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.9 github
I will donate to the project if issue is resolved: No
Browser: FF
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Not number show as number
Description:

If you enter value like 0001.1000 and show it to user : it show 1.1
And with , as radix : show at 1,1 … it's worst

Tags:
Steps To Reproduce:

Import included survey, check
This disable all usage of code like 01000 for postal code for example.

Additional Information:

with 2.73 or 2.6lts : <code>0001.1000</code> become <code>0001,1000</code> bad too, but better.

Attached Files: limesurvey_survey_NotANumberShowAsNumber.lss (19,778 bytes) 2019-07-01 17:10
https://bugs.limesurvey.org/file_download.php?file_id=11806&amp;type=bug
Capture d’écran du 2019-07-03 16-00-22.png (4,646 bytes) 2019-07-03 16:03
https://bugs.limesurvey.org/file_download.php?file_id=11813&amp;type=bug
png

Capture d’écran du 2019-07-03 16-02-26.png (5,243 bytes) 2019-07-03 16:03
https://bugs.limesurvey.org/file_download.php?file_id=11814&amp;type=bug
png

Capture d’écran du 2019-07-03 16-05-01.png (5,188 bytes) 2019-07-03 16:05
https://bugs.limesurvey.org/file_download.php?file_id=11815&amp;type=bug
png

Capture d’écran du 2019-07-04 12-57-53.png (7,671 bytes) 2019-07-04 12:59
https://bugs.limesurvey.org/file_download.php?file_id=11823&amp;type=bug
png
Notes
(52696)
DenisChenu   
2019-07-03 16:03   

Now, with last GIT :

  1. it move 0 from end to start
  2. And still remove the 0 from end if there no 0 at start.

Can you take the 0 part ? The point 1 must be fixed before next release i think.

I think we can do the . to , only for 4.0 …

(52699)
DenisChenu   
2019-07-03 16:05   

PS : need a test for this ;)

(52722)
dominikvitt   
2019-07-04 11:39   

I corrected that issue from the latest GIT:
https://github.com/LimeSurvey/LimeSurvey/commit/e4912fdbb480de2e1272afc3b47ca364d623c474

(52723)
dominikvitt   
2019-07-04 11:42   

Also, this is not a bug but expected behaviour.
When you set Decimal mark in survey options to Comma, it transform dot to comma.
If you set option as Dot, there is no transformation.

(52727)
DenisChenu   
2019-07-04 12:59   

Yes : but here : the question type is text, not number : then why it's updated ?
Decimal mark is done for number, not text.

Thanks for the 0 at end with 0 at start.
I open another issue about 10.100 > 10.1 for short text question type


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13871 [Bug reports] Other major have not tried 2018-07-12 14:11 2019-07-15 11:40
Reporter: markusfluer Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.13.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 3.11.x  
Complete LimeSurvey version number (& build): 3.13.2
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: mysqlnd 5.0.12-dev
Server OS (if known): Linux ec2 (amazon aws)
Webserver software & version (if known): nginx 1.10.3
PHP Version: 7.1.12-1+ubuntu16.04.1
Summary: Database based sessions don't work correctly
Description:

When the session is set on database based sessions, the session does not work all the time.
Further investigating is necessary.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15015 [Bug reports] Ergonomy minor have not tried 2019-07-02 17:26 2019-07-15 11:16
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta2  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github 41e670290f
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: [Minor] Question summary didn't show Text error
Description:

In 3.X and previously : Question summary show Logic error on Text, help and some attributes
In 2.X only on text
This is really a great option

Tags:
Steps To Reproduce:

Import included survey with a lot of {EmError}
Onlyb shown at survey logic file (not tested)

Additional Information:

Minor because don't broke, but must be fixed before RC in my opinion

Attached Files: limesurvey_survey_EmError.lss (18,131 bytes) 2019-07-02 17:26
https://bugs.limesurvey.org/file_download.php?file_id=11809&amp;type=bug
Notes
(52877)
markusfluer   
2019-07-15 11:16   

You're right. I am currently working on this.
First step is to reapply it to the question and question group summary screen.

Second step is to also check attributes


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
7390 [Feature requests] Survey design feature always 2010-02-26 02:31 2019-07-15 09:23
Reporter: holch Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: acknowledged Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Offline Surveys
Description:

I was thinking about this quite a while already. It is not always possible to do a interview online (CAWI) or via telephone (CATI). When programming is necessary CAPI comes into the game.

However, most CAPI-Tools are old and boring and additionally you have to have still another program.

However, wouldn't it be greate to be able to use Limesurvey for all those purposes. However, even with UMTS/3G it is not always possible or reliable enough to do it with a online survey tool.

Tags:
Steps To Reproduce:
Additional Information:

A possible solution: Limesurvey CAPI feature
In times of Google Gears and HTML5 I was wondering if it would be possible to use the survey offline?

Tine20.org for example is using Gears to make the application usable offline. Or Gmail, etc.

I am not sure if this is possible with a very complex and flexible tool like Limesurvey, but maybe it is?

Attached Files:
Notes
(24332)
Mazi   
2012-11-30 15:23   

Have a look for an alternative solution on how to use Limesurvey offline: http://www.marketresearchtechnology.com/content/how-optimize-limesurvey-surveys-smartphones-and-tablets-part-4

(52874)
Mazi   
2019-07-15 09:23   

There now is an Android app called "OfflineSurveys" for taking Limesurvey surveys offline and automatically syncing the collected responses with the main Limesurvey system once Internet is available.
For more information have a look at https://www.offlinesurveys.com.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14445 [Feature requests] Expression Manager feature have not tried 2019-01-21 10:34 2019-07-15 09:04
Reporter: Mazi Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Add placeholder for seed
Description:

Sometimes you also need the seed value to be available as a placeholder e.g. within the end URL or the email templates so it would be great to add {SEED} as an available placeholder.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(51378)
DenisChenu   
2019-04-05 12:00   

Think a plugin can use LimeExpressionManager::updateReplacementFields('seed'=>$seed) for this.
Need to have the good time to get it. Maybe a new event.

This one can not be used : https://github.com/LimeSurvey/LimeSurvey/pull/1256 since it's done opnly when survey is started (but no database update (? unsure)

(51984)
DenisChenu   
2019-05-17 11:18   

PS : i think all database data can be accesssible via Expression Manager.

(51988)
ollehar   
2019-05-20 14:56   

What's the use-case?

(51989)
Mazi   
2019-05-20 15:08   

@ollehar, in our case we wanted to pass the user's seed value into a GET parameter when calling an external reporting script. Just to make sure users can call the report with another ID by simply changing from e.g. 11 (their ID) to 10 (the previous user). So we wanted to check ID and seed value.

(51990)
DenisChenu   
2019-05-20 15:33   

For

PS : i think all database data can be accesssible via Expression Manager.

Because plugin can hack DB columns and add anything ;) (no idea, but can be potentially great)

(52136)
DenisChenu   
2019-05-28 18:34   

One place holder really needed : SUBMITDATE : then can check if survey is submitted or not (with token <-> response table or in some plugins).

(52137)
Mazi   
2019-05-28 21:16   

+1 for submitdate placeholder

(52138)
DenisChenu   
2019-05-28 23:47   

STARTDATE and DATESTAMP can be interesting too : for example : condition on lastpage
date("Y-m-d H:i:s") > STARTDATE + 10 minutes with tip "You don't read enough on this survey"

Maybe with SURVEY:XXX for all non related to question survey DB column :)

(52140)
DenisChenu   
2019-05-29 10:44   

@Mazi : if it work with core plugin ( in core/plugins or .plugin unsure) : are you OK ?

Think of

  1. Activate plugin
  2. Check list with (global)
    1. Add all DB column Y/N (not related to question (ie: not starting with sid)
    2. If no if checked : Add SEED Y/N
    3. Add STARTDATE Y/N
    4. Add DATESTAMP (if exist)
  3. Check list by survey where all existing data column can be checked/unchecked/leave default (i really like the 3 options here : Y/N/«inherit»
  4. Maybe add a SurveyGroups settings (for plugin inheritance)

@ollehar : it's a next feature, right, even if adding SEED or STARTDATE or … is really easy : we can't get it in master, right ?
If we add it by plugins (deactuvated by default) it don't broke existing survey with Question code as SEED or STARTDATE or …

(52141)
Mazi   
2019-05-29 10:59   

@DenisChenu, while I like the idea of separating code by creating plugins, I consider supporting additional EM placeholders a core feature so it makes more sense adding this to the upcoming LS 4 version.
I think there is no need to add an additional list/feature for enabling certain placeholders. We can just support them out of the box as we do with {SID} or {SAVEDID}.

(52142)
DenisChenu   
2019-05-29 11:04   

If you support it out of the box : you broke some of my surveys where i add a STARTDATE question : then NO it can not be forced ! (and potential usage of SEED question code)
(and if you support it out of the box : i don't take it even for 4.0)

If it's i core : it must be in ExpressionManager reserved word

(52143)
Mazi   
2019-05-29 11:09   

@DenisChenu, I didn't know that the discussed placeholders are not a reserved EM word yet. Of course, it has to be added there first. Since e.g. underscores are not allowed at questions code, why don't we used such placeholders like {START_DATE}, {SEED_VALUE} and the like?
That should work fine and all we need is documenting everything properly.

(52147)
DenisChenu   
2019-05-29 11:28   
(Last edited: 2019-05-29 11:29)

START_DATA : question START, subquestion DATE …

But the important things : if it's in core : i don't take it even for 4.0 (but maybe make my own plugin before it come in ls core)

2nd important things : STARTDATE : easy (for dev), START_DATE (or anything else) need a function for correspondance

(52148)
Mazi   
2019-05-29 12:23   

" if it's in core : i don't take it even for 4.0 (but maybe make my own plugin"
Why?

(52149)
DenisChenu   
2019-05-29 13:30   
(Last edited: 2019-05-29 14:04)

Because i'm not OK to adding it in core if a plugin solution is available [*], and because adding it in core can broke some survey.

* : because in my situation : have a plugin is the only way to have stable solution when i need stable solution. No bug not resolved during month and month …

(52335)
DenisChenu   
2019-06-08 11:38   

@Mazi :

in our case we wanted to pass the user's seed value into a GET parameter when calling an external reporting script. Just to make sure users can call the report with another ID by simply changing from e.g. 11 (their ID) to 10 (the previous user). So we wanted to check ID and seed value.

I want to play (no client on this one) : https://gitlab.com/SondagesPro/QuestionSettingsType/generateUniqId

A plugin for LimeSurvey to generate an unique id for usage in survey.

Then you can have your solution :)

(52338)
Mazi   
2019-06-10 16:32   

Hi Denis, our workaround due to the missing placeholder is indeed to populate an equation question using rand() and then using that value as an additional parameter.
But since "seed" does something very similar, just supporting the placeholder will do the trick.

(52340)
DenisChenu   
2019-06-10 17:39   

Warning : with SAVEDID, when deactivate, reactivate : id of response are updated :)

(52869)
DenisChenu   
2019-07-14 16:39   

@Mazi : https://github.com/LimeSurvey/LimeSurvey/pull/1256/commits/ddd4a65fb13951d1033064fa91e024fc7e500586
Sample plugin for start

(52873)
Mazi   
2019-07-15 09:04   

Thanks, Denis!


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14188 [Bug reports] Survey design major have not tried 2018-10-26 20:51 2019-07-15 05:32
Reporter: terryaulenbach Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.15.1+181017
I will donate to the project if issue is resolved: No
Browser: Firefox 62.03 (64-bit), Chrome 70.0.3538.77 (Official Build) (64-bit)
Database & DB-Version: PostgreSQL 9.6.5 (win32)
Server OS (if known): Windows Server 2012 R2 Standard Edition
Webserver software & version (if known): Apache 2.4.33 (Win64)
PHP Version: 7.2.7 (x64)
Summary: 500 Error copying question
Description:

When I try to copy an existing question with subquestions (multiple short text, array) I get the attached error. When I go back, I can see that the question was created, but only the last (weirdly not the first) subquestion has been copied, but not the rest. When I try it with just one subquestion I get the same error and the one subquestion is copied, as with a question having multiple subquestions.

Tags:
Steps To Reproduce:
  1. select a question
  2. click on the Copy button
  3. enter a Code
  4. click on Save and close
  5. experience frustration
  6. click the back button
  7. select the new question
  8. click on Edit subquestions
  9. experience failure
Additional Information:
Attached Files: Copy Question 500 Internal Server Error.png (29,170 bytes) 2018-10-26 20:51
https://bugs.limesurvey.org/file_download.php?file_id=10866&amp;type=bug
png
Notes
(52871)
goofygoober777   
2019-07-15 05:31   

I took have experienced this same error.
I am using postgresql and nginx.

"500: Internal Server Error
SQLSTATE[42602]: Invalid name: 7 ERROR: invalid name syntax"

(52872)
goofygoober777   
2019-07-15 05:32   

too*...


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14403 [Feature requests] Import/Export feature have not tried 2019-01-07 15:55 2019-07-13 18:54
Reporter: bismark Platform:  
Assigned To: LouisGac OS:  
Priority: none OS Version:  
Status: feedback Product Version:  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Survey Export sorting by question_order
Description:

I had to edit a survey export file (.lss) manually for velocity reasons and found out that the questions are sorted by qid instead of question_order.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: qnr_order.png (44,494 bytes) 2019-03-24 11:16
https://bugs.limesurvey.org/file_download.php?file_id=11404&amp;type=bug
png
Notes
(50337)
bismark   
2019-01-29 16:32   

...test

(51110)
pkolodz   
2019-03-24 11:16   

It seems similar behavior is with https://manual.limesurvey.org/Tab_Separated_Value_survey_structure export. So questions are exported in a different order than then in questionnaire. On below picture programmed order is: K01..K02, K03, K16, K17...., while in the file is K01, K11, K17..... And there is no any order column available.

(52122)
DenisChenu   
2019-05-27 19:39   

I think it's an issue in TSV, but not in LSS.

TSV is made for editing …

(52124)
pkolodz   
2019-05-27 20:11   

Yes, this applies to TSV, but few versions ago it worked well. So taking TSV I could generate list of questions and its responses just using order in that table. Now it is difficult. Is there any chance to fix it?

(52125)
DenisChenu   
2019-05-28 11:08   

Currently TSV order is broken ? This is really a big issue …

See related discussion about the 2 new columns too : https://bugs.limesurvey.org/view.php?id=14944

(52126)
DenisChenu   
2019-05-28 11:10   

@pkolodz : can you report a specific issue about TSV order with

  1. A sample lss question with not more than 5 questions
  2. The TSV file
  3. The lss done with TSV import

please :)

(52868)
DenisChenu   
2019-07-13 18:54   

@pkolodz : can you provide a sample survey ?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14944 [Development ] Import/Export minor have not tried 2019-05-27 19:46 2019-07-13 18:33
Reporter: DenisChenu Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Adding id and related_id in TSV export make it complicated to edit
Description:

TSV is made for Export : update manually, import.
Have id and related_id make it complex to editing
Remove this 2 columns : still working

What is the usage of this 2 columns ?

Tags:
Steps To Reproduce:
Additional Information:

In 2.X : import/export as roughly tested and working with multilingual, survey.

User just have to put subquestion after question : it's clear enough

@dominikvitt : i think you add this id , related_id : for user it make it complex to use TSV. Did you remind the reason ? Then related mantis ?
Currenlty : using TSV for quick edit of survey seems broken (for example for translation).

I use it for :

  1. Translation
  2. Make 4 subgroups with same questions in a group

Removing this 2 columns : TSV can be imported.
With this 2 columns : i must set random number …

Attached Files:
Notes
(52123)
DenisChenu   
2019-05-27 19:47   

I can find and fix : but speediest if i know usage of this 2 columns :)

(52128)
dominikvitt   
2019-05-28 13:41   

id and related id columns are required for export and import of quotas.
Quotas are too complex to reconstruct without those columns.
See here:
https://github.com/LimeSurvey/LimeSurvey/blob/206c3aa12673d54f204d363082f1c86536fb52fd/application/helpers/export_helper.php#L2596

All other objects aren't required to have those columns set, it would work without them.

(52129)
DenisChenu   
2019-05-28 14:04   
(Last edited: 2019-05-28 14:05)

OK, for quota only.

Because quota table use qid and not question/answer code in export (and import).

Terribly boring since TSV is a really good tool but broken here …

(52130)
dominikvitt   
2019-05-28 14:06   

Three tables need to be connected, so it's not so easy.

(52131)
DenisChenu   
2019-05-28 14:14   

I check it when i found times :)

(52543)
DenisChenu   
2019-06-25 14:56   

@dominikvitt : what do you think if we don't add this 2 columns if there are no quota ?

(52863)
DenisChenu   
2019-07-12 14:48   

@dominikvitt id and related_id are not used for Question and answers ? Right ?

Then i think we can use another column for quota is and related id.

For Group we use G1,G2 etc … Why not QTA1, QTA2 etc …

I have an issue currently with quota , i check if it was a plugin before report …

(52864)
dominikvitt   
2019-07-12 14:52   

@DenisChenu:
Those columns are used only for Quotas.
Number of columns in TSV export should always be the same or it would be very confusing.

(52866)
DenisChenu   
2019-07-12 15:50   

I see you remove the number in export for Group : we add it for import group with multiple language : there are an old issue somewhere …

For id and related id, clearly

  1. Don't put it if not used , needed : just set it to "" for qid and gis (and assessmeents).
  2. Since ii's not a major columns : add it after other column (maybe just after relevance ) : this one is easy.
(52867)
DenisChenu   
2019-07-12 15:51   

If it's used only for quota : why not name it quota_id and related_quota_id ?

Unsure on this point : if we need it another id elsewhere …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15042 [Bug reports] Translation minor have not tried 2019-07-12 11:58 2019-07-12 15:33
Reporter: pmonstad Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-RC1  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-RC2  
Complete LimeSurvey version number (& build): 050719 rc1
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: all
Server OS (if known): all
Webserver software & version (if known): all
PHP Version: all
Summary: here we go again - missing strings in translation system
Description:

A never ending story. I installed the latest rc1 LS4 and there are a lot of untranslated strings in the GUI. Those strings are not found in GlotPress.

It is very time-consuming to do translations, but what feels even more waste of time is to report every single text string missing from GlotPress.

I'm not a programmer but I have understood there has to be a tag in the code around each text string. In most cases the developer has just forgot this. If this is correct, please do something about it!

I'm a volunteer and I spend a lot of time doing translation work. To start all over again and report what should not be necessary is a pain and make me sometimes asking myself why I bother. I can personally switch to English and let the Norwegian translation files silently die... I can do without.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(52865)
cdorin   
2019-07-12 15:32   

Hello @pmonstad,

First, I would like to thank you for your contributions - they are on my desk. Will focus on them once we're getting closer to the 4.0.0 release.

Regarding the translation issues, yes, they can be frustrating and we totally agree with you (I also personally take care of Romanian ^^).

Perhaps you can put everything in a spreadsheet and send it to me via email (the page that does not contain the tag is sufficient). In that way, you will have to spend less amount of work/time so that you do not create multiple bug reports every time.

Thank you for your pro-active behaviour!

P.s. you can find my email address here: https://manual.limesurvey.org/User:Cdorin .


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14984 [Bug reports] Other minor have not tried 2019-06-16 16:34 2019-07-12 11:39
Reporter: f_funke Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0-beta github 190614
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mySQL LimeSurvey DB 416
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2.7
Summary: Admin backend: Color of selected options is confusing
Description:

The color of switches in the admin backend is really confusing. Grey means active, which might be clear when there are at least three options, but whenever there are only two options (e.g., on/off) it looks as if the other option was activated. It would be good to use lime-green as in the homepage settings.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Colors_for_switches_190616.png (32,279 bytes) 2019-06-16 16:34
https://bugs.limesurvey.org/file_download.php?file_id=11756&amp;type=bug
png

Capture d’écran du 2019-06-17 09-44-40.png (27,423 bytes) 2019-06-17 09:49
https://bugs.limesurvey.org/file_download.php?file_id=11759&amp;type=bug
png

Capture d’écran du 2019-06-17 09-44-51.png (23,946 bytes) 2019-06-17 09:49
https://bugs.limesurvey.org/file_download.php?file_id=11760&amp;type=bug
png

Capture d’écran du 2019-06-17 09-48-37.png (7,846 bytes) 2019-06-17 09:49
https://bugs.limesurvey.org/file_download.php?file_id=11761&amp;type=bug
png
Notes
(52423)
DenisChenu   
2019-06-17 08:00   

About color : there are big issue with usage of text-success and text-info with a lot of admin or Fruity template …

(52424)
f_funke   
2019-06-17 08:34   

Yes, you're right. If I recall right, for example some warnings are in red, some in green. Do you already have a list of points that could be changed?

(52425)
DenisChenu   
2019-06-17 08:48   

No sorry :)

I must check , come back here when it‘s done

(52426)
DenisChenu   
2019-06-17 09:49   

Same issue in 3.X :

  1. text-primary and text-info and text-success are near same
  2. difficult to tell if bg-primary is success or not
  3. btn-primary and btn-info and btn-success are near same
  4. Success row show bigger (issue in statitictics.css)

Some other issue

See https://gitlab.com/Sondages.Pro/checkAdminBootstrapColor for view sample

(52427)
DenisChenu   
2019-06-17 09:50   

Why success of Bay of many is blue ?

(52860)
markusfluer   
2019-07-12 11:08   

In home page settings, those are switches. In the global settings those are buttongroups.
I would back your proposal to use a dark shade of the main color as a background for the selected option.
This has to be talked about in the team, though.

The LimeSurvey color scheme is based on a monocolored scheme, meaning success and primary are the same colours, and Info being a gradient of that color.
This was so since LS2.5. It is also repeated in the fruity themes based on the backend colors.
We won't change this in LS4.

(52861)
DenisChenu   
2019-07-12 11:23   
(Last edited: 2019-07-12 11:25)

meaning success and primary are the same colours

But why remove a colour of Bootsrap ? Succes and primary didn't have same meaning …

Ok, but still : no difference between success/primary or danger/primary make it very complex to use …

See for sample
bootswatch Journal : primary red, danger orange
bootswatch Cosmo : primary blue, info purple
bootswatch United : primary orange, danger darker red

And still :

  1. table Success row show bigger (issue in statitictics.css)
  2. Why success of Bay of many is blue ?
(52862)
markusfluer   
2019-07-12 11:39   

Because :
The LimeSurvey color scheme is based on a monocolored scheme, meaning success and primary are the same colours, and Info being a gradient of that color.
Also this is the scope of a new ticket.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14730 [Bug reports] Survey design minor have not tried 2019-04-03 16:13 2019-07-12 10:29
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: not relevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: not relevant
Summary: help-block not alert for attribute help
Description:

See screenshot : help-block is better for help

Tags:
Steps To Reproduce:

See scrennshot

Additional Information:

And why don't use https://getbootstrap.com/docs/3.3/javascript/#collapse like 3.X ?
Better for a11y

Attached Files: Capture d’écran du 2019-04-03 16-10-12.png (16,200 bytes) 2019-04-03 16:13
https://bugs.limesurvey.org/file_download.php?file_id=11472&amp;type=bug
png
Notes
(52850)
markusfluer   
2019-07-11 17:55   

I have now used the well design for the help text. It should be a visible eye anchor.
I've also applied the a11y fixes and applied aria attributes to the questionmark icon.

Pure bootstrap won't work inside a vuejs component.

(52851)
DenisChenu   
2019-07-11 17:59   

Pure bootstrap won't work inside a vuejs component.

Oh … shit it's a big helper …

(52852)
DenisChenu   
2019-07-11 18:04   
(Last edited: 2019-07-11 18:04)

@markusfluer : can‘t test …

[11-Jul-2019 16:01:19 UTC] PHP Fatal error:  require(): Failed opening required '/mnt/data/shnoulle/nginx/www/develop/third_party/composer/../symfony/polyfill-ctype/bootstrap.php' (include_path='.:/usr/share/pear:/usr/share/php') in /mnt/data/shnoulle/nginx/www/develop/third_party/composer/autoload_real.php on line 66
[11-Jul-2019 16:01:19 UTC] PHP Stack trace:
[11-Jul-2019 16:01:19 UTC] PHP   1. {main}() /mnt/data/shnoulle/nginx/www/develop/index.php:0
[11-Jul-2019 16:01:19 UTC] PHP   2. require_once() /mnt/data/shnoulle/nginx/www/develop/index.php:178
[11-Jul-2019 16:01:19 UTC] PHP   3. ComposerAutoloaderInitddb1a145e450f862353420acc5153e40::getLoader() /mnt/data/shnoulle/nginx/www/develop/third_party/autoload.php:7
[11-Jul-2019 16:01:19 UTC] PHP   4. composerRequireddb1a145e450f862353420acc5153e40() /mnt/data/shnoulle/nginx/www/develop/third_party/composer/autoload_real.php:56

Just do a git pull / git reset hard origin/develop

(52853)
markusfluer   
2019-07-11 18:08   

That has nochting to do with my code.
It has to do with php testing.
@ollehar: testing again?

(52854)
DenisChenu   
2019-07-11 18:09   

Maybe related

HEAD est maintenant à 96a4b17425 Dev: Updating composer files to --no-dev

(52857)
ollehar   
2019-07-12 10:27   

Testing again what?

(52858)
ollehar   
2019-07-12 10:29   

Oh yes, I messed up composer yesterday.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14731 [Bug reports] Survey design minor have not tried 2019-04-03 16:18 2019-07-11 17:33
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Question design preview don't use Survey template
Description:

If you set to boostswatch theme : question preview still show Fruity theme

Tags:
Steps To Reproduce:

Set boostswatch for theme, edit a question

Additional Information:

In fact : lust get current template + current theme options too.

Attached Files:
Notes
(52828)
cdorin   
2019-07-11 12:06   

Will assign it to Markus so that the idea does not get lost.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15041 [Bug reports] Survey design minor have not tried 2019-07-10 11:03 2019-07-11 17:33
Reporter: dominikvitt Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-RC1  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version: 4.0.0-RC2  
Complete LimeSurvey version number (& build): 4.0.0-RC1
I will donate to the project if issue is resolved: No
Browser: Chromium, Firefox
Database & DB-Version: MySQL 5.7.24-0ubuntu0.18.04.1
Server OS (if known): Linux Mint 19.1 Tessa 64-bit
Webserver software & version (if known): Nginx
PHP Version: 7.3.5-1+ubuntu18.04.1+deb.sury.org+1
Summary: Unable to open Settings tab on admin menu after saving question
Description:

Just before clicking on "Save" button, left admin menu is working as expected. After clicking on the button, Settings tab can't be selected.

Tags:
Steps To Reproduce:

Open question, enable Question editor mode, click on the "Save" button.

Additional Information:

There is a JS error, see attached image.

Attached Files: Screenshot_2019-07-10_10-56-58.png (54,912 bytes) 2019-07-10 11:03
https://bugs.limesurvey.org/file_download.php?file_id=11835&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14870 [Bug reports] Survey design major have not tried 2019-05-09 13:08 2019-07-11 17:21
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known): irrelevant
Webserver software & version (if known): irrelevant
PHP Version: irrelevant
Summary: Survey panel integration not displayed
Description:

Panel integration panel not displayed.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Selection_145.png (18,784 bytes) 2019-05-09 13:08
https://bugs.limesurvey.org/file_download.php?file_id=11631&amp;type=bug
png
Notes
(52805)
cdorin   
2019-07-09 13:59   

Still in RC1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15020 [User patches] Survey design crash have not tried 2019-07-03 10:23 2019-07-11 16:39
Reporter: sylmarcucci Platform:  
Assigned To: eddylackmann OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.3+190429
Summary: Error while creating a survey group.
Description:

Hello,

After upgrading from 2.62 to 3.17 and trying new functionality "survey groups".
When creating new survey group and clicking on save button for this new group we get the following stack trace:

CException

La propriété « SurveysGroups.owner_uid » est indéfinie.

/nas/vol/limesurvey_qualif_1/www/qualif/framework/db/ar/CActiveRecord.php(162)

150 This method is overridden so that AR attributes can be accessed like properties.
151
@param string $name property name
152 @param mixed $value property value
153
@throws CException
154 */
155 public function __set($name,$value)
156 {
157 if($this->setAttribute($name,$value)===false)
158 {
159 if(isset($this->getMetaData()->relations[$name]))
160 $this->_related[$name]=$value;
161 else
162 parent::set($name,$value);
163 }
164 }
165
166 /*
167
Checks if a property value is null.
168 This method overrides the parent implementation by checking
169
if the named attribute is null or not.
170 @param string $name the property name or the event name
171
@return boolean whether the property value is null
172 */
173 public function
isset($name)
174 {

Stack Trace
#0
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/db/ar/CActiveRecord.php(162): CComponent->__set("owner_uid", "1")
#1

/nas/vol/limesurvey_qualif_1/www/qualif/application/controllers/admin/SurveysGroupsController.php(48): CActiveRecord->__set("owner_uid", "1")

43 // Uncomment the following line if AJAX validation is needed
44 // $this->performAjaxValidation($model);
45
46 if (Yii::app()->getRequest()->getPost('SurveysGroups')) {
47 $model->attributes = Yii::app()->getRequest()->getPost('SurveysGroups');
48 $model->created_by = $model->owner_uid = Yii::app()->user->id;
49 # $model->created_by = $model->owner_id = Yii::app()->user->id;
50 if ($model->save()) {
51 $this->getController()->redirect($this->getController()->createUrl('admin/survey/sa/listsurveys').'#surveygroups');
52 }
53 }

#2
unknown(0): SurveysGroupsController->create()
#3
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveysGroupsController, array())
#4

/nas/vol/limesurvey_qualif_1/www/qualif/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveysGroupsController, ReflectionMethod, array("sa" => "create"))

78 $oMethod = new ReflectionMethod($this, $sDefault);
79 }
80
81 // We're all good to go, let's execute it
82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
83 return parent::runWithParamsInternal($this, $oMethod, $params);
84 }
85
86 /*
87
Some functions have different parameters, which are just an alias of the
88 * usual parameters we're getting in the url. This function just populates

#5
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "create"))
#6
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/web/CController.php(286): CController->runAction(SurveysGroupsController)
#7
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/web/CController.php(265): CController->runActionWithFilters(SurveysGroupsController, array())
#8

/nas/vol/limesurvey_qualif_1/www/qualif/application/controllers/AdminController.php(158): CController->run("surveysgroups")

153 $this->redirect(array('/admin/authentication/sa/login'));
154 }
155 }
156 }
157
158 return parent::run($action);
159 }
160
161 /*
162
Routes all the actions to their respective places
163 *

#9
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/web/CWebApplication.php(282): AdminController->run("surveysgroups")
#10
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/surveysgroups/sa/create")
#11
+
/nas/vol/limesurvey_qualif_1/www/qualif/framework/base/CApplication.php(185): CWebApplication->processRequest()
#12
+
/nas/vol/limesurvey_qualif_1/www/qualif/index.php(194): CApplication->run()
2019-07-03 10:16:02 Apache/2.4.10 (Debian) Yii Framework/1.1.21

After investigating it seems that the problem is due to the following line of code in application/controllers/admin/SurveysGroupsController.php:

$model->created_by = $model->owner_uid = Yii::app()->user->id;

According to the table scheme the field owner_uid was renamed owner_id.
If we replace the code by :
$model->created_by = $model->owner_id = Yii::app()->user->id;

the survey group is successfully created.

Tags:
Steps To Reproduce:

Login in /admin
Go to surveys and surveys groups tab. Select create a new surveys group, fill required fields and submit the form by clicking the save button.

Additional Information:

Debian version 8.11 amd64
PHP 5.6.40
MariaDB server 10.0.38

Attached Files:
Notes
(52844)
LouisGac   
2019-07-11 15:53   

Eddy:

1st: try to reproduce with a 3.17 from git
2nd: if you can't reproduce, try by updating from 2.62 to latest stable.

(52849)
eddylackmann   
2019-07-11 16:39   

Can you please give me the buildnumber ? There are different builds of the version 3.17..


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14868 [Bug reports] Conditions major have not tried 2019-05-09 11:08 2019-07-11 16:15
Reporter: Akuket Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: feedback Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.1+190408
I will donate to the project if issue is resolved: No
Browser: firefox/chrome
Database & DB-Version: mysql server 5.7.26
Server OS (if known): Ubuntu 16.04.6
Webserver software & version (if known): Apache/2.4.18
PHP Version: 7.0.33
Summary: Bad apply of conditions on TOKEN:ATTRIBUTE
Description:

Hello

When we want to apply conditions on the extra fields of a participant, the behavior of limesurvey is to apply the logical operator "OR" first (which is a good thing). But after that, it is only the "AND" which is used instead of the "OR". Which can not work since it is always the same attribute that is used. Some images may be more meaningful.

Regards

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: bug1.PNG (5,124 bytes) 2019-05-09 11:08
https://bugs.limesurvey.org/file_download.php?file_id=11626&amp;type=bug
png

bug2.PNG (17,181 bytes) 2019-05-09 11:08
https://bugs.limesurvey.org/file_download.php?file_id=11627&amp;type=bug
png

limesurvey_survey_13228.lss (23,594 bytes) 2019-05-16 16:37
https://bugs.limesurvey.org/file_download.php?file_id=11666&amp;type=bug
Notes
(51915)
gantier   
2019-05-13 11:43   

Hello,
I have the same problem. Is there a workaround we could use ?
Regards.

(51937)
DenisChenu   
2019-05-15 00:45   
  1. Please send a sample and light lss file showing this issue
  2. You can always copy/paste good formula in the relevance equation https://manual.limesurvey.org/Expression_Manager#Relevance_.28Controlling_Navigation.2FBranching.29
(51969)
Akuket   
2019-05-16 16:37   

Hello
Here is the .lss
Thanks

(52847)
cdorin   
2019-07-11 16:15   

Hello @Akuket, FeuilleTpsFrais1 conditions are displayed correctly with "or". Or do you refer to another issue?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13834 [Bug reports] Survey design minor have not tried 2018-07-03 11:08 2019-07-11 16:11
Reporter: bnichols Platform:  
Assigned To: eddylackmann OS:  
Priority: none OS Version:  
Status: feedback Product Version: 3.12.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.12.1+180616
I will donate to the project if issue is resolved: No
Browser: All
Database & DB-Version: mysqlnd 5.0.11-dev - 20120503
Server OS (if known): Windows NT WEB1 10.0 build 14393 (Windows Server 2016) i586
Webserver software & version (if known): Microsoft-IIS/10.0
PHP Version: 5.6.31
Summary: Permalink Issue with Deleting Questions/Question Groups
Description:

I have LimeSurvey setup on IIS, running with a MySQL database. Works really well, although I have found an issue with some of the links after deleting questions/surveys.

surveys.mydomain.com/index.php?r=admin/s...ons/surveyid/1?gid=7
The above URL was forbidden after deleting a single question.

Note the double ampersand being used (?r=admin and ?gid=7).

Changing the URL
surveys.mydomain.com/index.php?r=admin/s...ons&surveyid=1&gid=7
does work however.

Tags:
Steps To Reproduce:

1) Create a survey
2) Create a question group
3) Create a question
4) Delete that question
5) Error page thrown due to multiple parameters declared in URL (?r=admin and ?gid=7)

Additional Information:
Attached Files:
Notes
(52837)
cdorin   
2019-07-11 15:09   

@bnichols , still having the error?

(52846)
eddylackmann   
2019-07-11 16:10   

i can't reproduce the error.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14386 [Bug reports] Other minor have not tried 2018-12-31 17:15 2019-07-11 16:03
Reporter: danguyfredux Platform:  
Assigned To: eddylackmann OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.5+181115
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mysql v14.14 distrib 5.5.62-38.14
Server OS (if known): Linux
Webserver software & version (if known):
PHP Version: 5.6.25
Summary: Pagination legend incorrect for Survey Groups
Description:

On the Survey Groups page, the pagination legend ("Displaying x-y of z result(s).") is broken. It only takes into account the current page so, for example, if you have 12 survey groups the first page will be "Displaying 1-10 of 10 result(s)." and the second page will show "Displaying 1-2 of 2 result(s)."

Tags:
Steps To Reproduce:

Create more than ten survey groups.

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14573 [Bug reports] Theme editor minor have not tried 2019-02-25 17:55 2019-07-11 16:01
Reporter: ritapas Platform:  
Assigned To: eddylackmann OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.15.5+181115
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: MariaDB 5.5.60
Server OS (if known):
Webserver software & version (if known):
PHP Version: rh-php71-1-1
Summary: Export theme yelds an extensionless file if theme name has a space in it
Description:

in Firefox when I press the Export button in the Theme editor AND the theme name has a space in it, I get an extensionless file of type application/forrce-download.
This doesnt' happen in Chrome.

Tags:
Steps To Reproduce:

create a new theme "TEST TEST" by extending an existing one.
Open in Firefox and export it.

Additional Information:

Ls version is 3.15.5, FF is 52.7.1 and Chrome is 72.0.3626.81.

Attached Files:
Notes
(50687)
DenisChenu   
2019-02-26 09:12   

TEST TEST : export as TEST


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13812 [Bug reports] Statistics minor have not tried 2018-06-26 10:44 2019-07-11 16:00
Reporter: visionit Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.12.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.12.0+180615
I will donate to the project if issue is resolved: No
Browser: Firefox 62.0
Database & DB-Version: MySQL
Server OS (if known): Debian
Webserver software & version (if known): Apache 2.4
PHP Version: PHP 7.2
Summary: Statistics Export does not show Graphs / Images
Description:

Hi there,

I'm using LimeSurvey 3.12.0 together with Apache 2.4 and PHP 7.2.

For some reason, graphs no longer show up in my statistic exports, both in HTML and PDF.
When I click on the 'Export images' button, I just get an empty ZIP file.
There are no errors in the JavaScript-Browser-Console.

I have ensured the PHP extensions gd and iconv are installed and enabled.

I know that the exact same survey produces viewable graphs in the output at least half a year ago.

Regards
Jack

Tags:

export, graph, html, image, PDF

Steps To Reproduce:
  1. Finish a survey
  2. Select 'Responses' -> 'Responses & Statistics'
  3. Select 'Statistics'
  4. Check 'View summary of all available fields' and 'Show graphs'
  5. Select either HTML or PDF as output format
  6. Click 'View Statistics'
    => Statistics output comes up without graphs
Additional Information:
Attached Files:
Notes
(52833)
cdorin   
2019-07-11 14:58   

Hello @visionit, could you please confirm if this is still an issue? (please update first to 3.17.7)

(52845)
visionit   
2019-07-11 16:00   

Hi @cdorin , I haven't seen the Release 3.17.7 on Github yet, so I tried using 3.17.6+190624. The issue still exists, the statistics output comes up without graphs.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14863 [Bug reports] Theme editor major have not tried 2019-05-08 14:33 2019-07-11 15:59
Reporter: cdorin Platform:  
Assigned To: eddylackmann OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Extending core theme using the same core theme name
Description:

It is possible to extend the core theme and use the same core theme name. Once done, I get multiple duplicates (see screenshot).

I can set up different settings for each core theme.

However, there is only one core theme displayed in the survey theme dropdown list (inside the survey).

Tags:
Steps To Reproduce:

Extend any core theme and use the same theme name.

Additional Information:

If you try to extend one of the core themes once more, you will not be allowed, getting the error message that should also be shown in the first case: "Directory with the name vanilla already exists; choose another name"

Attached Files: Selection_141.png (87,926 bytes) 2019-05-08 14:33
https://bugs.limesurvey.org/file_download.php?file_id=11617&amp;type=bug
png
Notes
(51834)
cdorin   
2019-05-08 14:50   

Apparently, simply resetting the theme makes the duplicated themes not to be displayed any longer.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13632 [Bug reports] Import/Export crash have not tried 2018-04-24 15:07 2019-07-11 15:24
Reporter: ollehar Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.7.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): master
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: psql (PostgreSQL) 10.3 (Ubuntu 10.3-1.pgdg14.04+1)
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: 7.1
Summary: Can't import survey in postgres
Description:

Trying to import a survey I get:

CDbCommand failed to execute the SQL statement: SQLSTATE[42P10]: Invalid column reference: 7 ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 1: ...d='259743' and parent_qid=0 GROUP BY qid ORDER BY question_o...
^. The SQL statement executed was: SELECT DISTINCT qid FROM "lime_questions" "t" WHERE sid=:sid and parent_qid=0 GROUP BY qid ORDER BY question_order

Tags:
Steps To Reproduce:
  1. Install master with postgres
  2. Import survey
  3. Crash
Additional Information:

Would be nice if anyone else could confirm this problem.

Attached Files: limesurvey_survey_259743.lss (410,323 bytes) 2018-04-24 15:07
https://bugs.limesurvey.org/file_download.php?file_id=10256&amp;type=bug
Notes
(47511)
DenisChenu   
2018-04-24 15:20   

Imported with success, last GIT
PHP : 5.6.35-1~dotdeb+7.1
pgsql 9.1.24lts2

(47541)
ollehar   
2018-04-26 11:45   

Yeah, it only fails on latest postgres. Thanks for testing, Denis.

(47614)
LouisGac   
2018-05-16 12:14   

maybe we should just raise the minimal psql version?

(47615)
ollehar   
2018-05-16 12:15   
(Last edited: 2018-05-16 12:15)

@LouisGac, it's the other way around - it fails on the latest postgres version.

(47623)
LouisGac   
2018-05-16 12:43   

maybe we should just down the maximal psgsql version?

(47674)
DenisChenu   
2018-05-18 10:06   

@olle : you don't fix it ?
@LouisGac : i prefer to remove msql support than pg ;)

(47679)
ollehar   
2018-05-18 10:18   

I don't have time to fix it.

(47683)
DenisChenu   
2018-05-18 13:21   

But i think you already fixed ? I remind to see a fix ??? I'm mad or not ?

(47686)
ollehar   
2018-05-18 15:15   

Did not touch this.

(52834)
cdorin   
2019-07-11 15:04   

@ollehar & @DenisChenu are there any updates on this one?

(52841)
ollehar   
2019-07-11 15:24   

Nothing from me. Maybe assign it to someone responsible for LimeSurvey? ;)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14422 [Bug reports] Other crash have not tried 2019-01-11 15:06 2019-07-11 15:22
Reporter: startom Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: feedback Product Version: 3.15.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.6+190108
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mysql Ver 14.14 Distrib 5.5.57, for Linux (x86_64) using readline 5.1
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.1.9
Summary: KCFinder doesn't work
Description:

When I'm trying to upload image to a question via KCFinder, it shows /third_party/kcfinder/browse.php with a blank screen.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 2019kcfinderupload_each.png (25,175 bytes) 2019-01-16 14:58
https://bugs.limesurvey.org/file_download.php?file_id=11153&amp;type=bug
png

Capture d’écran du 2019-01-16 15-20-13.png (29,314 bytes) 2019-01-16 15:22
https://bugs.limesurvey.org/file_download.php?file_id=11154&amp;type=bug
png
Notes
(50219)
jelo   
2019-01-16 14:55   

When exact is the issue.
To me it looks like KCFinder is broken at all for this version.

I can reproduce a issue, cause the KCFinder code is showing the error message
"The each() function is deprecated. This message will be suppressed on further calls"

PHP each() is used somewhere. The message is not suppressed and trying again to upload is not working.

(50221)
jelo   
2019-01-16 14:58   
(Last edited: 2019-01-16 14:59)

Errormessage on PHP 7.2 when uploading file via KCFinder (which is slightly different that the description of the ticketstarter, but the error message might be surpressed on that system.

(50224)
DenisChenu   
2019-01-16 15:22   

@jelo : PHP Version 7.2.13, debug mode activated
LS GIT version

(50227)
DenisChenu   
2019-01-16 15:35   
[shnoulle@poledra kcfinder]$ grep -r --include=*.php each .
./lang/ru.php:  * author: Dark Preacher
./js_localize.php:foreach ($lang as $english => $native) {
./core/bootstrap.php:  *      @desc This file is included first, before each other
./core/bootstrap.php:                foreach ($data as $key => $val)
./core/bootstrap.php:                foreach ($data as $val)
./core/class/uploader.php:            foreach ($sessVar as $key => $val)
./core/class/uploader.php:            foreach ($this->types[$this->type] as $key => $val)
./core/class/uploader.php:        foreach ($this->langInputNames as $key)
./core/class/uploader.php:            foreach ($file['name'] as $i => $name) {
./core/class/uploader.php:            foreach ($data as $key => $val)
./core/class/browser.php:                foreach ($files as $file)
./core/class/browser.php:            foreach ($this->file['name'] as $i => $name) {
./core/class/browser.php:        foreach($_POST['files'] as $file) {
./core/class/browser.php:        foreach($_POST['files'] as $file) {
./core/class/browser.php:        foreach($_POST['files'] as $file) {
./core/class/browser.php:        foreach ($_POST['files'] as $file) {
./core/class/browser.php:            foreach ($zipFiles as $cfile)
./core/class/browser.php:        foreach ($_POST['files'] as $file) {
./core/class/browser.php:            foreach ($zipFiles as $cfile)
./core/class/browser.php:        foreach ($files as $file) {
./core/class/browser.php:            foreach ($dirs as $i => $cdir) {
./core/class/browser.php:            foreach ($dirs as $cdir) {
./core/class/browser.php:            foreach ($dirs as $key => $cdir)
./core/class/minifier.php:        foreach (array_merge($mtFiles, $files) as $file) {
./core/class/minifier.php:        foreach ($files as $file) {
./lib/helper_path.php:        foreach (explode(&quot;/&quot;, $path) as $dir)
./lib/helper_path.php:        foreach (explode(&quot;/&quot;, $path) as $dir)
./lib/class_zipFolder.php:        foreach ($dir as $file)
./lib/class_image.php:        foreach ($drivers as $driver) {
./lib/class_image.php:            list($key, $width) = each($image);
./lib/class_image.php:            list($key, $height) = each($image);
./lib/helper_dir.php:        foreach ($files as $file) {
./lib/helper_dir.php:        foreach ($defaultOptions as $key => $val)
./lib/helper_httpCache.php:        if ($headers !== null) foreach ($headers as $header) header($header);
./lib/helper_httpCache.php:                    foreach ($sendHeaders as $header)
(50228)
jelo   
2019-01-16 15:50   
(Last edited: 2019-01-16 16:55)

I get the message when uploading the actual file. The files gets uploaded.
I not sure, why we should compare your GIT with the 3.15.6+190108 which is the last release.

PHP is triggering a KCFinder error/info under PHP 7.2.13.
If I change to PHP 7.1 the message is gone (which is correct, it's just a deprecation warning, no real error).

The KCFinder section is a blackbox.

(50230)
DenisChenu   
2019-01-16 16:53   
(Last edited: 2019-01-16 16:57)

What is «actual file» ?

I think it's somewhere when an issue happen when try to upload : an error happen, the system start but broke during «view» it's why you see tye "-W3C …

Remind : i'm on PHP7.2.13 too …

Else , the each is here : https://github.com/LimeSurvey/LimeSurvey/blob/7c67c5bdf55450d4603e52d733afd63d0a5f52d6/third_party/kcfinder/lib/class_image.php#L113

(50243)
jelo   
2019-01-16 17:51   
(Last edited: 2019-01-16 17:57)

Ok, tested a bit. PDF upload is fine. Graphics are the issue. So I think you got the issue. So the difference is which graphic library is used?

The priority is using gd as the lastest. 'imageDriversPriority' => "imagick gmagick gd",

Sideeffect when having a corrupted image uploaded into the image folder is that KCFinder no longer can show the image folder. KCFinder needs to be replaced. No development since 2014.

(50244)
jelo   
2019-01-16 17:51   

Who gets the ticket assigned? Or should I open a new ticket.

(50247)
jelo   
2019-01-16 19:57   

The is already a bugreport from Dec 2017 about each().
https://bugs.limesurvey.org/view.php?id=12992

(50248)
DenisChenu   
2019-01-17 08:33   

The bug 12992 is really a dumb report … one example : we don't use htmlfilter of phpmailer.
For controllers : maybe (surely) they are fixed.

And this bug start with a PHP7.1 issue , and i can't reproduce on 7.2
«Sideeffect when having a corrupted image uploaded into the image folder is that KCFinder no longer can show the image folder. » OK, then maybe the issue with each happen only for corrupted image. Can you send the zip of your image directory to see if i can reproduce (the fix) for 7.1 too ?
«KCFinder needs to be replaced. No development since 2014.» yes, and you propose ? Do you have a link for replacement ? It's not kcfinder to replace it's ckeditor
https://manual.limesurvey.org/Update_ckeditor
https://manual.limesurvey.org/TinyMCE

(50249)
jelo   
2019-01-17 10:32   

I wouldn't call it a dumb report. The main issue is raised. If you expect from a reporter to check if a routine is used in the code, then fine.
I should have opened a new ticket. Will learn from that.

(50251)
DenisChenu   
2019-01-17 10:38   

i spoke for https://bugs.limesurvey.org/view.php?id=12992 : this is not a limesurvey bug report .

(52840)
cdorin   
2019-07-11 15:22   

Can someone confirm whether this is still an issue?

I see 12992 was solved by dominik.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
11890 [Bug reports] Ergonomy minor have not tried 2016-11-09 10:06 2019-07-11 15:17
Reporter: Ben_V Platform:  
Assigned To: cdorin OS:  
Priority: low OS Version:  
Status: feedback Product Version: 2.54  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0dev  
Complete LimeSurvey version number (& build): 2.54 ()
I will donate to the project if issue is resolved: No
Browser: FF
Database & DB-Version: 99
Server OS (if known): 99
Webserver software & version (if known): 99
PHP Version: 99
Summary: Question preview button label & location variations
Description:

Menubar: question preview button label & location variations depending on the screen (please see attached screenshots

Tags:
Steps To Reproduce:

/admin/questions/sa/view/surveyid/123/gid/45/qid/6

/admin/questions/sa/editquestion/surveyid/123/gid/45/qid/6

Additional Information:
Attached Files: preview.gif (20,830 bytes) 2016-11-09 10:07
https://bugs.limesurvey.org/file_download.php?file_id=8663&amp;type=bug
gif

preview2.gif (8,386 bytes) 2016-11-09 10:11
https://bugs.limesurvey.org/file_download.php?file_id=8664&amp;type=bug
gif
Notes
(41808)
Ben_V   
2016-11-09 10:11   

IMHO it will be great to move all previews buttons from the menubar to an upper (fix) level on the page.
Like this we will get more room in the menubar for larger buttons (= links) as shown in the attached screensot (2)

(41811)
DenisChenu   
2016-11-09 10:32   
(Last edited: 2016-11-09 10:34)

An idea :
A Preview button with a caret :

Preview (caret)

Click on Preview show preview of actual part (group in group edit/ question in question edit etc ....)

click on caret show other preview (+ the defautl)

Then finally we have (for a Question)

  • Preview => Preview question
    • Preview Survey
    • Preview Group
    • Preview Question

And for multilingue :

  • Preview => Preview question with default lang
    • Preview Survey (default lang)
      • Preview Survey (lang 1)
      • Preview Survey (lang 2)
    • ....

Or maybe a double caret here ...... if BS is able to do it
caret 1 : for "other part (Survey/Group)
caret 2 : other language (of Question Or Group or Survey)

(41812)
Ben_V   
2016-11-09 10:59   

Caret solution seems difficult for multilingue surveys...

In the most popular CMS those preview buttons/switchers have a "reserved" place, like shopping card or login/logout ; Could be great to check & reuse some standard.

(41813)
DenisChenu   
2016-11-09 11:26   

Yes OK, BUT :
shopping card : one button
login/logout : on button

We need (in question)

  • Preview question in all language : X buttons
  • Preview groupe (in all language ?)
  • Preview survey (in all language ?)
    => 3 buutons at minima.
(41814)
Ben_V   
2016-11-09 11:39   

maybe bootstrap nested button group?
=> http://bit.ly/2fRVG7p

1 language survey:
PREVIEW: | survey | group | question |

Multilingue surveys
PREVIEW: | survey ↓ | group ↓ | question ↓ |

(41815)
DenisChenu   
2016-11-09 11:50   

3 buttons : take a big place .

I prefer 1 button : default action personnaly (we loose the 'default action in 2.50, we have it in 2.06). But it's my point of view :)

(41820)
Ben_V   
2016-11-09 17:11   

I agree 3 buttons take some place but it will be ok if:

  • bootstrap button group
  • and/or located somewhere outside the menubar

1) for the moment at question level we have:
| preview survey | - | preview group of questions | - | preview question |
so the following is (a bit) shorter :
PREVIEW: | survey | group | question |

at survey & group levels we only need:
PREVIEW: | survey |
PREVIEW: | survey | group |

2) For multilingue surveys... the same with default action for defaut lang + caret for added languages so:
PREVIEW: | survey ↓ |
PREVIEW: | survey ↓ | group ↓ |
PREVIEW: | survey ↓ | group ↓ | question ↓ |

(52835)
cdorin   
2019-07-11 15:06   

Hmm, quite old ticket. I remember LS3 being slightly cleaner in that regard

(52838)
DenisChenu   
2019-07-11 15:14   

@cdorin : you still have 3 different buttons for preview :)

(52839)
cdorin   
2019-07-11 15:17   

@markusfluer, thought on this?

I guess the problem is related to the multilingual surveys. Could end up having quite a long dropdown list.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14888 [Bug reports] Survey design block have not tried 2019-05-10 16:20 2019-07-11 14:54
Reporter: kutigeza Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: feedback Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Verzió 4.0.0-beta+190509
I will donate to the project if issue is resolved: No
Browser: all (chrome, firefox, safari)
Database & DB-Version: 411
Server OS (if known): Centos
Webserver software & version (if known):
PHP Version: 7.3
Summary: Array questions not at all working
Description:

Adding array questions in the new editor simply not working.

Show answers different order, cannot delete item from answer option, cannot rearrange subquestions

1-10 array does not shows 1-10 labels

Tags:
Steps To Reproduce:

add an array question ans you will see

Additional Information:
Attached Files:
Notes
(52729)
markusfluer   
2019-07-04 13:59   

Can you add more details and a screenshot ?

(52832)
cdorin   
2019-07-11 14:54   

@kutigeza, have you tried the RC1 release?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14924 [Bug reports] Survey design minor have not tried 2019-05-21 18:24 2019-07-11 12:07
Reporter: dominikvitt Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): 4.0.0-beta
I will donate to the project if issue is resolved: No
Browser: Chromium, Firefox
Database & DB-Version: MySQL 5.7.24-0ubuntu0.18.04.1
Server OS (if known): Linux Mint 19.2 Tara 64-bit
Webserver software & version (if known): Nginx
PHP Version: 7.3.5-1+ubuntu18.04.1+deb.sury.org+1
Summary: Button "Create question" on "Create new question group" page doesn't work
Description:

Button "Create question" doesn't do anything.

Tags:
Steps To Reproduce:

Click on "Create question group", try to add question

Additional Information:
Attached Files: Screenshot_2019-05-21_18-19-25.png (32,980 bytes) 2019-05-21 18:24
https://bugs.limesurvey.org/file_download.php?file_id=11674&amp;type=bug
png
Notes
(52793)
cdorin   
2019-07-09 11:11   

Works fine in my case (RC1)

(52829)
cdorin   
2019-07-11 12:07   

Everything fine in RC1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15037 [Bug reports] Survey design minor have not tried 2019-07-08 14:37 2019-07-11 11:44
Reporter: Mazi Platform:  
Assigned To: p_teichmann OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.7+190627
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL 5
Server OS (if known): Ubuntu 14 TLS
Webserver software & version (if known): Apache 2
PHP Version: 7.2
Summary: Data protection statement texts not save if text for checkbox is too long
Description:

If you enter a lengthy text for "data policy checkbox label" no texts at the data policy page gets saved.

Tags:
Steps To Reproduce:

Open the data policy setting of any survey and enter a long text like this:
This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text.

No text will be stored

Additional Information:

Solution: Limit the HTML field length to the number of characters allowed at DB level.

Attached Files:
Notes
(52789)
Mazi   
2019-07-08 14:38   

@cdorin, should be a simple fix, maybe a nice one for one of the new developers.

(52791)
DenisChenu   
2019-07-09 10:19   

In my opinion : need 2 solution

  1. Return clean error when survey->save return false
  2. Update HTML with maxlenght

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14965 [Bug reports] Survey participants (Tokens) minor have not tried 2019-06-05 20:22 2019-07-11 10:29
Reporter: blocka Platform:  
Assigned To: ollehar OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.4 Build 190529
I will donate to the project if issue is resolved: No
Browser: All
Database & DB-Version: 359
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2
Summary: Group randomization issue
Description:

I have a survey that has a set of question groups in the same randomization group.

Token persistence is enabled, and when a participant clicks on their email invitation and starts the survey, no problems of course.

But, if the participant doesn't complete the survey, and then returns at a later time, the survey loads with a blank question group.

As per the forum post:
https://www.limesurvey.org/forum/design-issues/116150-group-randomization-issue?start=0

Group randomization (at the group level) has always worked with no tokens for me. Its just when you mix in response persistence, a new session and a partially answered survey where they stopped in the middle of the randomized groups. It re-randomized the groups putting an unanswered mandatory question before the last question answered, then tried to send you back to the last question answered which resulted in the a group loading with error classes and hidden questions, unable to proceed forwards.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: limesurvey_survey_959263.lss (23,595 bytes) 2019-06-06 10:50
https://bugs.limesurvey.org/file_download.php?file_id=11726&amp;type=bug
groupRandBug.JPG (71,295 bytes) 2019-07-11 00:39
https://bugs.limesurvey.org/file_download.php?file_id=11836&amp;type=bug
jpg

groupRandBugQuestionClasses.JPG (76,662 bytes) 2019-07-11 00:39
https://bugs.limesurvey.org/file_download.php?file_id=11837&amp;type=bug
jpg
Notes
(52313)
DenisChenu   
2019-06-06 09:07   

@ollehar : related to SEED ?

(52314)
ollehar   
2019-06-06 10:14   

Will have a look today.

(52316)
ollehar   
2019-06-06 11:04   

I need clearer instructions on how to reproduce. This is what I did:

  1. Import the attached survey
  2. Activate it
  3. Create token table with participant
  4. Run survey with token (from the admin interface)
  5. Write answers, close tab in middle of randomized group
  6. Run survey again (tried both with and without newtest=Y in URL)

Can't see any different in group randomization. Also tried with clicking "Resume later".

(52317)
ollehar   
2019-06-06 11:04   

Using 3.17.5+190604.

(52821)
Bigred01   
2019-07-11 00:39   

I was just able to replicate on the first attempt on the https://demo.limesurvey.org site which looks to be running Version 3.17.3. This issue has existed for as long as I can remember and no one seems to know about it so I think we can safely assume it still exists in 3.17.5.

https://demo.limesurvey.org/index.php?r=admin/tokens/sa/browse/surveyid/959263

  1. Token based response persistence must be on.
  2. Enter test survey without newtest=Y in url in a private window. Populate survey until halfway through randomized groups.
  3. Re-enter the survey with the same token in a new private window.

See attached screenshot for what you will see when experiencing the bug.

If you don't see it on the first time, just immediately close the window and re-enter in a new private window. Sooner or later you will see it.

Now chances are, no one will be entering the survey like above. But its no different than starting a survey on your phone then completing on your desktop later. Its just the easiest way to replicate.

(52823)
DenisChenu   
2019-07-11 07:46   

@Bigred01 : you can use demo for checking, but it reset all night.
We have a 404: Not Found not foun n,ow for this survey.

Can you send the related lss please ?

(52824)
Bigred01   
2019-07-11 07:54   

I used the one posted above by ollehar. I believe it’s the original one I posted to the forums 10 months ago.

(52825)
DenisChenu   
2019-07-11 08:04   

OK :) Great :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15040 [Bug reports] ComfortUpdate minor have not tried 2019-07-09 12:01 2019-07-10 10:54
Reporter: Mazi Platform:  
Assigned To: LouisGac OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC1  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0-beta+190509
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: MySQL 5
Server OS (if known): Ubuntu 14 TLS
Webserver software & version (if known): Apache 2
PHP Version: 7.3.5
Summary: Adding ComfortUpdate key at LS 4 leads to blank screen
Description:

When adding a ComfortUpdate key at https://ls4.mydomain.com/index.php/admin/update/sa/managekey and clicking the save butotn all I get is an empty white screen without any error or the like. URL is:
https://ls4.mydomain.com/index.php/admin/update/sa/manage_submitkey

Tags:
Steps To Reproduce:

Add Comfortupdate key at LS 4

Additional Information:
Attached Files:
Notes
(52815)
Mazi   
2019-07-09 17:09   

@cdorin, since I have limited rights since a few weeks I can't close this one myself. Please close, it is fixed at LS 4 RC1.

(52819)
cdorin   
2019-07-10 10:54   

Thanks for the update, Mazi.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14979 [Bug reports] MenuSystem minor have not tried 2019-06-16 15:40 2019-07-09 15:37
Reporter: f_funke Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC1  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0-beta github 190614
I will donate to the project if issue is resolved: No
Browser: Firefox 67.0.2
Database & DB-Version: mySQL LimeSurvey DB 416
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2.7
Summary: "Global Survey Settings", "Create Survey", and survey settings: Inconsistent headings and missing icons
Description:

It would make life more easy if all headings in the global survey settings, when creating a new survey, and in the survey settings would be harmonzied regarding names and and order.
Additionally, shorter labels would save space.
Furthermore, it would be nice if the icons in the survey settings could be used for global survey options, too.

Suggested new headings for global survey settings:

  • "General settings" -> "General"
  • "Presentation & navigation settings" -> "Presentation" (or change all to "Presentation & navigation")
  • "Survey participant settings" -> "Participants"
  • "Notification and data management settings" -> "Notifications & data"
  • "Publication & access control settings" -> "Publication & access"

Suggested new heading for creating a new survey:

  • "Text elements" -> change to position 2
  • "General settings" -> "General", change to position 1
  • "Data policy settings" -> "Data policy"
  • "Presentation & navigation" -> "Presentation" (or change all to "Presentation & navigation")
  • "Publication & access control" -> change to position 7 (end)
  • "Notification & data management" -> "Notification & data"
  • "Participant settings" -> "Participants", move to position 5

In the survey settings the following headings should be changed:

  • "General settings" -> "General"
  • "Data policy setting" -> "Data policy"
  • "Participant settings" -> "Participants"
  • "Presentation" could be changes to "Presentation & navigation"
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Harmonzation_Headings_1606161a.png (69,953 bytes) 2019-06-16 16:06
https://bugs.limesurvey.org/file_download.php?file_id=11753&amp;type=bug
png

Harmonzation_Headings_160616b.png (71,155 bytes) 2019-06-16 16:06
https://bugs.limesurvey.org/file_download.php?file_id=11754&amp;type=bug
png
Notes
(52419)
DenisChenu   
2019-06-16 16:02   

Then some other opinion :)

Create Navigation category, if not Presentation mean Presentation 1 navigation (but separe the 2 part with a legend+fieldset or h3)

  1. Move theme to Presentation (or before Theme option part, on another form)
  2. Move Format to Navigation
  3. Show welcome screen: to Navigation
  4. Allow backward navigation: to Navigation
  5. Show question index / allow jumping: to Navigation
  6. Navigation delay (seconds): to Navigation (unsure) ?
  7. Participants may print answers: to ???? (but not in Presentation)
  8. Automatically load end URL when survey complete: to Navigation (unsure) ?

Because i always search index on all Link before find it ;)

(52420)
f_funke   
2019-06-16 16:04   

Man, you're too fast ... I just wanted to edit it.

(52421)
f_funke   
2019-06-16 16:07   

Now I'm done ;-)
Sorry for the inconvenience.

(52814)
DenisChenu   
2019-07-09 15:37   

@f_funke : your not for a separation between separation and navigation ?

And moving "Theme" to Presentation (currently in General)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14850 [Bug reports] Survey design major have not tried 2019-05-07 12:11 2019-07-09 14:36
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Always hide this question attribute not working
Description:

"Always hide this question attribute" not working

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(52803)
cdorin   
2019-07-09 13:46   
(Last edited: 2019-07-09 13:47)

Hmm, I will have to go through all the question attributes and see what works and what does not.

In RC1 it seems to be working. Could you test Denis again? Is it a specific question type?

(52812)
DenisChenu   
2019-07-09 14:36   

@cdorin : what is the atribute to hide and in what question type ?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14915 [Bug reports] Survey taking major have not tried 2019-05-20 18:15 2019-07-09 14:14
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: 7.1
Summary: Answer is gone when going back one question
Description:

Title.

Tags:
Steps To Reproduce:
  1. Import survey tests/data/surveys/limesurvey_survey_583999.lss
  2. Preview
  3. Click one check box
  4. Click next
  5. Click previous
  6. Answer is gone
Additional Information:

Corresponds to test ls\tests\MultipleChoiceNextPreviousTest::testNextPrevious

Attached Files: limesurvey_survey_583999.lss (15,375 bytes) 2019-05-20 18:15
https://bugs.limesurvey.org/file_download.php?file_id=11669&amp;type=bug
Notes
(52810)
cdorin   
2019-07-09 14:14   

Still there. Reproduced it in RC1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14927 [Bug reports] Survey design major have not tried 2019-05-22 13:29 2019-07-09 14:12
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): develop
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: When changing to question type dual scale, question options are not loaded
Description:

Title

Tags:
Steps To Reproduce:
  1. Debug = 0
  2. Create new survey with default question group and survey
  3. Edit question
  4. Change question type to array dual scale
  5. Options never load (see pic)
Additional Information:
Attached Files: Selection_710.png (82,057 bytes) 2019-05-22 13:29
https://bugs.limesurvey.org/file_download.php?file_id=11679&amp;type=bug
png
Notes
(52809)
cdorin   
2019-07-09 14:12   

Working fine in LS4 RC1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14419 [Bug reports] Plugins minor have not tried 2019-01-11 10:32 2019-07-09 14:09
Reporter: f_funke Platform:  
Assigned To: ollehar OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0dev  
Complete LimeSurvey version number (& build): 4.0.0dev 20190110
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mySQL
Server OS (if known): local XAMPP
Webserver software & version (if known):
PHP Version: 7.2.7
Summary: error when trying to configure/access plugin "Authdb"
Description:

Clicking on "Authdb" in the 4.0.0dev plugin manager to configure/access it results in an error:
"500: Internal Server Error
Missing configuration file for plugin Authdb"

Tags:
Steps To Reproduce:

On
~/admin/pluginmanager/sa/index
just click on "Authdb".

Additional Information:
Attached Files:
Notes
(50175)
ollehar   
2019-01-11 10:51   

Cannot reproduce. Can you check if you have application/core/plugins/Authdb/config.xml file?

(50176)
f_funke   
2019-01-11 11:41   

Yes, config.xml is available.
Other core plugins (e.g., ExportR) can be installed, activated, configured, deactivated, and uninstalled.
When trying to deactivate Authdb error "Core plugin can not be disabled." is displayed.

(52808)
cdorin   
2019-07-09 14:09   

Tested it in RC1. Everything is fine.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15029 [Bug reports] Import/Export major have not tried 2019-07-05 11:30 2019-07-09 14:08
Reporter: TnuSurvey20151018 Platform:  
Assigned To: cdorin OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.7+190627
I will donate to the project if issue is resolved: No
Browser: Vivaldi, Safari, Edge
Database & DB-Version: mysqlnd 5.0.12-dev - 20150407
Server OS (if known): Linux webbi05 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16) x86_64
Webserver software & version (if known): Apache/2.4.25 (Debian)
PHP Version: 7.0.33-0+deb9u3
Summary: Export of answers not working
Description:

Export Button not working. Nothing happens if button is clicked.

Tags:
Steps To Reproduce:

Open a running survey which contains answers.
-> click answers and in the opening dropdown select 'Answers & Statistics'
-> click 'Export' and in the opening dropdown select 'Export answers'
-> click 'Export' on the top left.

The export should start but id does not.

Additional Information:
Attached Files:
Notes
(52768)
cdorin   
2019-07-05 15:33   

Can't reproduce it.

Are the column you wish to be exported selected?

Could you also upload the .lsa file of your survey (or a sample of it)?

(52772)
TnuSurvey20151018   
2019-07-05 16:58   

All colums (32 of 32) are selected.

I can not publish data because I am not allowed to share (sorry, we store confidential user data)

However, I found a workaround. There is a hidden button at the end of the export form. If I remove the hidden class from that button, the button becomes visible and I can then click it -> Export working.

The Export button at the top is not working because some files are missing. Loading the export page is throwing the following errors in the console:
GET https://domain.ch/tmp/assets/bc7dfdde/ckeditor.js net::ERR_ABORTED 404 (Not Found)
lsadminpanel.min.js:1 The systen is currently in production mode.
466945:75 GET https://domain.ch/tmp/assets/bc7dfdde/config.js net::ERR_ABORTED 404 (Not Found)
466945:74 GET https://domain.ch/tmp/assets/bc7dfdde/ckeditor.js net::ERR_ABORTED 404 (Not Found)
466945:75 GET https://domain.ch/tmp/assets/bc7dfdde/config.js 404 (Not Found)
ckeditoradditions.js:1 Uncaught ReferenceError: CKEDITOR is not defined
at ckeditoradditions.js:1

The assets folder bc7dfdde does exist (chmod 777) but the files needed are not there.

A click on the export button is throwing the following error:
adminbasics.min.js:1 Uncaught ReferenceError: CKEDITOR is not defined
at HTMLButtonElement.run (adminbasics.min.js:1)
at HTMLDocument.dispatch (jquery-3.1.1.min.js:3)
at HTMLDocument.q.handle (jquery-3.1.1.min.js:3)

I think the error is not related to export (sorry) the files missing on all admin pages.

Is there a way to force the system to recreate the assets?

(52807)
TnuSurvey20151018   
2019-07-09 14:08   

We could find the cause of this issue and fix it. What we did:

  • Set the max_execution_time to 300 (default was 30)
  • After that we cleaned the tmp folder
  • Navigate to the admin page. This will take some time (about 45s) till the login apeared and all the assets were rebuilt.

@Limesurvey: Please optimize your setup scripts to finish within default configuration. It would also help if limesurvey would detect missing assets and heal itself from issues like this.

Good Luck!


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14813 [Bug reports] User/User groups crash have not tried 2019-04-24 18:12 2019-07-09 14:03
Reporter: ollehar Platform:  
Assigned To: LouisGac OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Exception when adding user group
Description:

See file.

Tags:
Steps To Reproduce:
  1. Go to users/user groups
  2. Click add user group
  3. Exception
Additional Information:
Attached Files: CException.html (22,313 bytes) 2019-04-24 18:12
https://bugs.limesurvey.org/file_download.php?file_id=11558&amp;type=bug
Notes
(52806)
cdorin   
2019-07-09 14:03   

Everything seems fine in LS4 RC1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14847 [Bug reports] Survey design major have not tried 2019-05-07 11:06 2019-07-09 14:02
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-RC1  
    Target Version:  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Other question attribute not working
Description:

If I enable the "other" attribute (of any question), no other option is being displayed in the preview mode.

Tags:
Steps To Reproduce:

Create a gender question and enable other

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14808 [Bug reports] Survey design major have not tried 2019-04-24 17:40 2019-07-09 13:58
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: low OS Version:  
Status: feedback Product Version: 4.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Side-menu is not always correct
Description:

Stays on "General settings" but shows "Overview"

Tags:
Steps To Reproduce:

Click around, it happens after a couple of clicks.

Additional Information:
Attached Files: Selection_667.png (128,111 bytes) 2019-04-24 17:40
https://bugs.limesurvey.org/file_download.php?file_id=11553&amp;type=bug
Notes
(52666)
markusfluer   
2019-07-02 15:06   

I could not reproduce that

(52671)
ollehar   
2019-07-02 15:31   
  1. Click on "General settings"
  2. Click on breadcrumb to go to survey overview
  3. Menu highlight stays the same

Not sure if this is what I did before. :d

(Pretty low priority.)

(52804)
cdorin   
2019-07-09 13:58   

Everything seems fine in RC1. Can you check again, Olle?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14360 [Feature requests] Survey design feature have not tried 2018-12-18 15:27 2019-07-09 13:42
Reporter: Mazi Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Add new global setting to define start value for answer codes
Description:

Some years ago answer codes at Limesurvey started at "1". That has changed to "A1" which makes it really hard to analyze data when exporting answer codes. The codes are not numeric anymore.
While at earlier versions it was just 3 clicks to export to excel and get the AVG value for a certain column, you now have to adjust answer codes first and turn "A1" into "1".

As discussed at the DEV meeting a new global setting "Answer code start value" would be very useful. Then the user can define the start value and the system could adjust follow up codes accordingly.
Possible start values and follow up codes:
0 (used for special statistics as I was told): 1 , 2 , 3, ...
1 (the old default value): 2 , 3 , 4 ...
A1 (the current one): A2 , A3 , A4 , ....
"yes" (string): Could use "yes1", "yes2", ... ?

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(49991)
DenisChenu   
2018-12-18 15:28   
(Last edited: 2018-12-18 15:28)

Can be only in config.php file or must be in GUI ?

What about sub question code ?

(49997)
Mazi   
2018-12-18 17:42   

I think this should be a GUI setting. A very simple text input field with max length = X characters being available at the Global Settings.

(49999)
DenisChenu   
2018-12-18 17:45   

max lenght of answer var is 5, then if user pout ABCD : he can set (automatically) only 36 answers ;)

(50000)
DenisChenu   
2018-12-18 17:46   

About export : https://gitlab.com/SondagesPro/ExportAndStats/exportTripleS/blob/master/exportTripleS.php#L54

It can be a export option too : export order OR export assessment value OR export code etc …

(50002)
Mazi   
2018-12-18 17:51   

This is mostly about survey design because it also affects survey which make use of answer codes at conditions. Take for example a rating questin with 5 optiins from very good to very bad and you only want to show a comment question "Why did you rate XYZ so bad" if there was a rating of 4 or 5. The relevance equation would be
questioncode.NAOK gt 3

(51248)
Mazi   
2019-04-01 15:33   

@dominikvitt, how are the chances of implementing this at LS 4? This is something very helpful to lots of users.

(51282)
Mazi   
2019-04-02 15:47   

@c_schmitz, according to @markusfluer and others this is an often requested improvement and can even be considered a regression since we once had the numeric answer codes by default at LS 2.0x or 2.5x (don't remember the exact details).

Can you please decide whether to add this to LS 4?

(51792)
ollehar   
2019-05-07 14:49   
(Last edited: 2019-05-07 14:49)

This will be resolved by new feature "answer option template" in LS4. Please close when implemented.

(51793)
ollehar   
2019-05-07 15:02   

Possibly solvable by instead exporting assessment values for answer options, BUT might make survey creation more tedious.

(52801)
Mazi   
2019-07-09 13:37   

@markusfluer, since https://bugs.limesurvey.org/view.php?id=15033 block checking it myself: Was this ("This will be resolved by new feature "answer option template" in LS4.") already implemented?

(52802)
markusfluer   
2019-07-09 13:42   

It's not part of the RC, but it is on the List for the final release


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15016 [Bug reports] MenuSystem crash have not tried 2019-07-02 19:03 2019-07-09 11:15
Reporter: GuernseyResearch Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 4.0.0-beta+190509
I will donate to the project if issue is resolved: No
Browser: Current Firefox
Database & DB-Version: MySQL
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.0
Summary: List surveys from the menu or the main page causes error
Description:

Select the "List Survey from the overall main page or from the dropdown at the top causes the error concerning "List survey widget" as shown in the attached.

NEW current, empty LS3 updated via Comfortupdate to current beta,
Default admin template

Tags:
Steps To Reproduce:

make selection

Additional Information:
Attached Files: list surveys.jpg (48,716 bytes) 2019-07-02 19:03
https://bugs.limesurvey.org/file_download.php?file_id=11811&amp;type=bug
jpg
Notes
(52795)
cdorin   
2019-07-09 11:15   

Everything seems fine in RC1. Could not reproduce it.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15018 [Bug reports] MenuSystem crash have not tried 2019-07-02 19:22 2019-07-09 11:13
Reporter: GuernseyResearch Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 4.0.0-beta+190509
I will donate to the project if issue is resolved: No
Browser: Current Firefox
Database & DB-Version: MySQL
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.0
Summary: Reset home page settings causes crash
Description:

Settings - Home page settings - reset

Generates error "Class 'Boxes' not found per attached.

Tags:
Steps To Reproduce:

Settings - Home page settings - reset

Additional Information:
Attached Files:
Notes
(52794)
cdorin   
2019-07-09 11:13   

Reproduced it in RC1


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15039 [Bug reports] Authentication minor have not tried 2019-07-09 08:51 2019-07-09 10:16
Reporter: KimBracknell Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.4+190529
I will donate to the project if issue is resolved: No
Browser: Chrome / Firefox / Edge
Database & DB-Version: SQL Server Express 2016
Server OS (if known): Windows Server 2016
Webserver software & version (if known): IIS
PHP Version: 7.1.22
Summary: 500 Internal Server Error
Description:

After I successfully login I am shown error: This page isn’t working www.oic.wa.gov.au is currently unable to handle this request.
HTTP ERROR 500. If I use the <Back> button on the browser I am taken to the Dashboard / Admin Interface - all is good.

Tags:
Steps To Reproduce:

Using Chrome Browser:
Go to login at: .../Admin/Admin.php
Enter Login
Enter password
Click on Login
Address shown in browser remains:
https://.../limesurvey2/index.php?r=admin/authentication/sa/login
500 error message is shown
Hit browser 'Back' button
Admin interface is displayed.

Using FireFox: a blank page is shown.

Using Edge: Displays:
-HTTP 500 error
-That’s odd... the website can’t display this page
-The site may be under maintenance or could have a programming error.

Additional Information:

Just wondering what is normally shown immediately after Login screen or am I taken directly to Admin Interface?

Attached Files:
Notes
(52790)
DenisChenu   
2019-07-09 10:16   

https://www.oic.wa.gov.au/limesurvey2/ show all files, not redirected to index.php

See : https://docs.microsoft.com/en-us/iis/configuration/system.webserver/defaultdocument/

Review your IIS config and check again.

If you still have a 500 error : activated debug mode, and maybe fix your publicurl


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15038 [Bug reports] Survey participants (Tokens) minor have not tried 2019-07-08 15:40 2019-07-08 15:40
Reporter: mnunez Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.3+190429
I will donate to the project if issue is resolved: No
Browser: Firefox Quantum 67.0.4 (64-bit) ; Google Chrome Versión 75.0.3770.100 (Build oficial) (64 bits) ; Microsoft Edge 41.16299.1004.0
Database & DB-Version: PostgreSQL v11
Server OS (if known): CentOS Linux release 7.6.1810
Webserver software & version (if known): Apache/2.4.6 (CentOS)
PHP Version: PHP 7.3.6
Summary: Campos no visibles en el diálogo de edición de las propiedades de un participante en una encuesta
Description:

El diálogo de edición de las propiedades de un participante de una encuesta se muestra vacío.
Esto pasa cuando se ha pulsado varias veces el botón "Mostrar participantes" de la barra superior de botones.

Tags:
Steps To Reproduce:

Acceder a la tabla de participantes de una encuesta.
Pulsar el botón para editar el participante.
Pulsar el botón de cerrar del diálogo.
Pulsar el botón "Mostrar participantes" de la barra superior.
Pulsar el botón de editar el participante ==> el diálogo se muestra vacío (sólo cabecera y pie), los campos del participante permanecen ocultos.

Additional Information:

Fichero: tokens.js
Línea: 410
$("#modal-content").attr("style", previousCss ? previousCss : "");

Parece que falla la gestión de los atributos de visibilidad de los campos.
La variable previousCss viene incorrectamente inicializada.

NOTAS:
1) No falla en el Internet Explorer v11.
2) En un servidor LimeSurvey Versión 3.16.0+190225, bajo las mismas circunstancias el fallo es diferente: los campos no se ocultan pero se produce un parpadeo molesto durante la carga del diálogo.

Attached Files: Bug_report_01.png (18,033 bytes) 2019-07-08 15:40
https://bugs.limesurvey.org/file_download.php?file_id=11831&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
7593 [Feature requests] Conditions feature always 2012-09-24 11:00 2019-07-08 11:22
Reporter: vitaly_repin Platform:  
Assigned To: c_schmitz OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Increase the allowed length of the answer code
Description:

limesurvey limits answer code lengths to 5 characters and question code lengths to 20. Sometimes this limitation limits the use cases.

E.g., we want to be able to use human-readable answer codes and 5 characters is a very nasty limitation.

Other users reports the problems with importing the 3-party surveys:

http://ideas.limesurvey.org/ideatorrent/idea/291/

Tags:
Steps To Reproduce:
Additional Information:

A possible solution: Increase the allowed length of the answer code
Increase the max length to 128.

Table: lm_answers. Column: code. Current type: VARCHAR(5). Suggested type: VARCHAR(128).

Attached Files:
Notes
(43936)
Ben_V   
2017-06-19 09:46   

You may find a new entry in the forum directly releated with this 5y old feature request:

https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/111832-i-need-to-increase-the-answer-code-length/155977

An increase of answer code length up to 12 alphanumeric chars will considerably provide a gain in interoperability and be welcome by new or recurrent users working in scientific fields and looking for a survey or data entry tool.
For example this will be enough to accept worldwild used SNOMED-CT and standardized Health Care Provider Taxonomy codes (no dot or hyphen chars) .

The new LS.3 beta release may be a good moment to introduce this update.

(43977)
DenisChenu   
2017-06-26 12:26   

Remind : if we put a big number : the we lower the number of allowed columns :/

(43978)
Ben_V   
2017-06-26 12:35   

Where? Why?

(43979)
DenisChenu   
2017-06-26 12:45   

https://manual.limesurvey.org/General_FAQ#...regarding_survey_size

(43980)
Ben_V   
2017-06-26 13:41   

ok... but for very extreme cases (imho).
I think the best would be a choice during the install standard/personalized (as many other softwares do) offering the possibility to adapt this setting and some other ones.... and more likely for LS4 !

(49468)
Mazi   
2018-10-29 15:35   

I vote for adding the feature of longer question and answer code fields at Limesurvey 4.0.
At Limesurvey 3.x the field size for question and subquestion codes is 20 and for answers it is still just 5. That's not much, it would be great if we could improve this.

(49469)
Mazi   
2018-10-29 15:38   

@c_schmitz, what is your opinion n this? What are the pros and cons?

(49472)
DenisChenu   
2018-10-29 17:03   

If we still use mysql/ISAM : this allow less single choice question …

(50077)
bismark   
2018-12-28 18:20   

answers.code is still varchar(5)

(50079)
Mazi   
2018-12-28 21:14   

I am assigning this to Carsten so he can decide if this improvement is doable with a reasonable effort because it would be very helpful to lots of users.

(52385)
Mazi   
2019-06-13 11:32   

@c_schmitz, any chance to improve/extend the answer code length at LS 4?

(52387)
c_schmitz   
2019-06-13 11:39   

It is not planned for LS4 - probably LS5.

(52388)
bismark   
2019-06-13 11:47   

@c_schmitz, the question is why it is not simply possible to ALTER TABLE `answers` CHANGE `code` `code` VARCHAR(25) NOT NULL

(52389)
DenisChenu   
2019-06-13 11:57   

If we still use mysql/ISAM : this allow less single choice question …

You really want to allow less question ? Really ?
Original issue ask for 128 , but why not 512 or 1024 ? No limit‘s …

The only solution is QuestionObject with "column type"

(52390)
Mazi   
2019-06-13 12:25   

@DeniChenu: Good point. So why not having a global setting for this + maybe a local survey setting "Answer code length"? Then the user is free to adjust this as needed and we only need to apply the proper setting at survey activation.

Besides the DB limits/size, are there any further potential side-effects you can think of?

(52392)
DenisChenu   
2019-06-13 13:31   

A question : what is the purpose ?

When you need this code ?

Because if it's

  • Survey ( {QUESTION_CODE}) : it can be already done
  • Export : it can be already done
  • ? …

Else if it's in config.php : what happen for answer table when it's updated … need to update too …

(52393)
Mazi   
2019-06-13 13:36   

Regarding the use case: At complex surveys if you want to use more speaking codes an answer code like "male" works fine but already "female" won't work. Some companies have predefined codebooks for their surveys and these often use longer answer codes.

(52394)
DenisChenu   
2019-06-13 13:38   

OK, but WHEN this is needed ?
As export : easy : create a plugin table with qid/code/newcode and use it when export.

(52395)
DenisChenu   
2019-06-13 13:39   

PS : i have such issue with code like BE_VSL : i do a recode (becaus it's only one comulon) : it's not really an issue

(52397)
Mazi   
2019-06-13 13:53   

Those codes are required at data export mostly.

(52398)
DenisChenu   
2019-06-13 14:15   

Then at data export : my opinion is

  1. Create a plugin table qid,code,exportcode
  2. When exporting : get this code from plugin table

:)

You can do it too in question adv setting with a textera like this

M:Male
F:Female

Else : a 4.0 solution

  1. Set answer code to 25 in answer table
  2. Same for labels
  3. Add an advanced setting 'code column width' : read only when active, default to 5
  4. Min/max from 1 to 25

Create column when activate

What can broke

  1. Import oid survey table
  2. Import VV
  3. Import LSA

This need time … and currently 4.0 have a lot of another issue

(52400)
Mazi   
2019-06-13 15:06   

I like the 4.0 solution.

@c_schmitz, any chance to add that at LS 4 if we take care of the coding?

(52401)
c_schmitz   
2019-06-13 15:08   

No chance for this in 4.x - sorry.

(52530)
Mazi   
2019-06-25 12:13   

@DenisChenu, would a plugin be able to:

a) Extend the minimum character length for the code field when adding answer options? Maybe this could alternatively be done by some JS within a custom admin theme?

b) Alter the existing DB table: ALTER TABLE answers CHANGE code code VARCHAR(25) NOT NULL?

c) Adjust the code for survey activation so the related fields also provide 25 VARCHARS (simply do ALTER TABLE after activation?)?

(52538)
DenisChenu   
2019-06-25 12:56   

By plugin ?????

It can be risky, not before have an event in https://github.com/LimeSurvey/LimeSurvey/blob/77a079d9083ae735dcc3c479194104c4317e84a7/application/helpers/common_helper.php#L1411

This surely add more complexity and issue …

@c_schmitz : why not in 4.0 ? This can be easily added in createFieldMap as a new question adavanced setting without big issue … we wait for have a working develop since month now (when other developer can really test new feature) , but you still disable new feature ???

(52556)
Mazi   
2019-06-25 21:29   

@DenisChenu, does the createfieldmap() function rely on certain code lengths? Can there be any side-effect with longer answer codes?

@c_schmitz: One of our main customers urgently needs such a feature for route and location details within their transit surveys. No one will be hurt if we add a setting to increase this at LS 4.x and set the default to the know 5 characters, but several users (and Limesurvey as well) will benefit from more flexibility.
We would also provide the required code so you wouldn't need to spend any developer hours on this but just review and comment.

(52566)
DenisChenu   
2019-06-26 15:16   

Because activateSurvey use createFieldMap : https://github.com/LimeSurvey/LimeSurvey/blob/ff061148dcc44d9e07000276c046e82bbed737af/application/helpers/admin/activate_helper.php#L290

(52665)
ollehar   
2019-07-02 15:02   

VARCHAR(128) will probably (?) reduce the amount of maximum columns. See https://stackoverflow.com/questions/2023481/mysql-large-varchar-vs-text/2023513#2023513 and comments.

(52747)
ollehar   
2019-07-05 11:22   
(Last edited: 2019-07-05 11:23)

My proposed solution: Make ALL answer columns configurable in config.php. Right now they are all hard-coded here: https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/admin/activate_helper.php#L295

(52751)
DenisChenu   
2019-07-05 11:43   

@ollehar : need update answer table.

Seems to be easiest solution, but : 100 VARCHAR(1) + 1 VARCHAR(25) take less place than 101 VARCHAR(5)

By question : you can have some VARCHAR(1), some VARCHAR(10), etc …

(52752)
ollehar   
2019-07-05 11:45   

need update answer table

What do you mean?

(52753)
DenisChenu   
2019-07-05 12:00   

What do you mean?

If you set single choice column to 20 characters : answer column code mus contains same code.
Here the FR is to allow more than 5 characters to answer code …

(52754)
ollehar   
2019-07-05 12:08   
(Last edited: 2019-07-05 12:09)

Oh, sorry, I misunderstood. But why then not simply run

ALTER TABLE lime_answers MODIFY COLUMN code ...

after installation, if you need longer values?

(52755)
Mazi   
2019-07-05 12:12   

...because you also need to adjust the GUI to allow >5 characters. You can adjust the source code but if you want to be able to update your Limesurvey system later that is no good approach. So using the configuration setting Denis had mentioned before seems like the best approach to me.

(52757)
ollehar   
2019-07-05 12:19   

Do we have a PR for this?

(52759)
Mazi   
2019-07-05 12:59   

@PR: Nope, since we are still discussing if this can be added to LS 4.
If Carsten agrees to it, we could start working on it.

(52761)
ollehar   
2019-07-05 13:22   

Other alternative: Let the UI limitations reflect the database length of the column. Then the ALTER TABLE command will work.

(52762)
DenisChenu   
2019-07-05 14:28   

UI limitations reflect the database length

You mean answer DB length ? Because survey is not always activated :)

(52764)
ollehar   
2019-07-05 15:03   

You mean answer DB length ? Because survey is not always activated :)

Yes, I mean column code from lime_answers.

(52766)
DenisChenu   
2019-07-05 15:09   

Yes, a quick fix can be replace 5 by size of code in lime_answers (get config by database)
But then we always reduce the maximum column numbers :).

It work but not for all survey‘s

(52770)
ollehar   
2019-07-05 16:54   

No, we don't change the size of code in the database - that's up the each owner to hack/patch. We just lets the UI reads that size instead of hard-coding it to 5.

Maybe we should have a "patch system", which lets you change core code even after an update...

(52773)
DenisChenu   
2019-07-05 16:59   
(Last edited: 2019-07-05 17:00)

Yes, i understand this :

App()->setConfig('answercodelenght',$databaselength); 
And replace all 5 by App()->getConfig('answercodelenght');

And then : plugin can update confif by a lesser length \o/ for a survey (some hack , but possible)

(52776)
ollehar   
2019-07-06 09:55   

Yes, exactly. Hacky but better than nothing, I guess.

(52779)
DenisChenu   
2019-07-08 08:47   

Why not, a quick solution before allowing a better one .

And since this quick solution us a fixed string : when update to a better one : we can more easily find wher it must be update with a simple grep :)

(52780)
ollehar   
2019-07-08 10:10   

@Mazi a pull request to consider? Regarding removing the hard-coded UI limit.

(52781)
Mazi   
2019-07-08 10:13   

@ollehar, please talk about this with @c_schmitz. If he agrees to that approach, we can look into the code details.

(52787)
ollehar   
2019-07-08 11:22   

He does not. This issue can be put on hold for now.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15021 [Feature requests] Other feature have not tried 2019-07-03 14:46 2019-07-08 11:00
Reporter: ollehar Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Use VIEW to cirumvent the database column limit
Description:

One answer table can be split into multiple smaller tables and then merged in a VIEW.

Example:

CREATE TABLE one (
    id INT AUTO_INCREMENT PRIMARY KEY,
    col1 varchar(5000),
    col2 varchar(5000),
    col3 varchar(5000),
    col4 varchar(5000),
    col5 varchar(5000),
    col6 varchar(5000),
    col7 varchar(5000),
    col8 varchar(5000),
    col9 varchar(5000),
    col10 varchar(5000),
    col11 varchar(5000),
    col12 varchar(5000),
    col13 varchar(5000)
) ENGINE MyISAM;

CREATE TABLE two (
    pid INT AUTO_INCREMENT PRIMARY KEY,
    lol1 varchar(5000),
    lol2 varchar(5000),
    lol3 varchar(5000),
    lol4 varchar(5000),
    lol5 varchar(5000),
    lol6 varchar(5000),
    lol7 varchar(5000),
    lol8 varchar(5000),
    lol9 varchar(5000),
    lol10 varchar(5000),
    lol11 varchar(5000),
    lol12 varchar(5000),
    lol13 varchar(5000)
) ENGINE MyISAM;

And then

CREATE VIEW view1 AS SELECT * FROM one, two;

A limitation:

MariaDB [c1www]> INSERT INTO view1(col1, lol1) VALUES ('foo', 'bar');
ERROR 1393 (HY000): Can not modify more than one base table through a join view 'c1www.view1'

Postgres might be stricter still:

The defining query of the view must have exactly one entry in the FROM clause, which can be a table or another updatable view.

Source: http://www.postgresqltutorial.com/postgresql-updatable-views/

This script shows that a VIEW has no limit on number of columns

&lt;?php

$mysqli = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;c1www&quot;);
if (mysqli_connect_errno($mysqli)) {
    echo &quot;Failed to connect to MySQL: &quot; . mysqli_connect_error();
}

$res = mysqli_query($mysqli, &quot;DROP TABLE four&quot;);
if (!$res) {
    echo &quot;Failed to run query: (&quot; . $mysqli->errno . &quot;) &quot; . $mysqli->error . PHP_EOL;
}

$res = mysqli_query($mysqli, &quot;DROP TABLE five&quot;);
if (!$res) {
    echo &quot;Failed to run query: (&quot; . $mysqli->errno . &quot;) &quot; . $mysqli->error . PHP_EOL;
}

$res = mysqli_query($mysqli, &quot;DROP VIEW view2&quot;);
if (!$res) {
    echo &quot;Failed to run query: (&quot; . $mysqli->errno . &quot;) &quot; . $mysqli->error . PHP_EOL;
}

$columns = [];
for ($i = 0; $i &lt; 1000; $i++) {
    $columns[] = &quot; somelongcolumnnamethatisnottoolongthough$i INT(1) &quot;;
}
$columns = implode(',', $columns);
$query = &quot;CREATE TABLE four (
    id INT AUTO_INCREMENT PRIMARY KEY,
    $columns
) ENGINE MyISAM&quot;;
$res = mysqli_query($mysqli, $query);
if (!$res) {
    echo &quot;Failed to run query: (&quot; . $mysqli->errno . &quot;) &quot; . $mysqli->error . PHP_EOL;
}

$columns = [];
for ($i = 0; $i &lt; 1000; $i++) {
    $columns[] = &quot; fomelongcolumnnamethatisnottoolongthough$i INT(1) &quot;;
}
$columns = implode(',', $columns);
$query = &quot;CREATE TABLE five (
    pid INT AUTO_INCREMENT PRIMARY KEY,
    $columns
) ENGINE MyISAM&quot;;
$res = mysqli_query($mysqli, $query);
if (!$res) {
    echo &quot;Failed to run query: (&quot; . $mysqli->errno . &quot;) &quot; . $mysqli->error . PHP_EOL;
}

$query = &quot;CREATE VIEW view2 AS SELECT * FROM four, five&quot;;
$res = mysqli_query($mysqli, $query);
if (!$res) {
    echo &quot;Failed to run query: (&quot; . $mysqli->errno . &quot;) &quot; . $mysqli->error . PHP_EOL;
}

BUT: Should be key/value store instead
BUT: key/value store is not efficient for a stats module (depending on how the queries look) - performance test it?

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: survey_archive_brokenEMCode.lsa (4,008 bytes) 2019-07-08 10:41
https://bugs.limesurvey.org/file_download.php?file_id=11828&amp;type=bug
Notes
(52691)
ollehar   
2019-07-03 14:48   

@DenisChenu Thoughts?

(52693)
DenisChenu   
2019-07-03 15:46   

Arg … you mean development => database column by Question «object»

I think more of something in config.xml

Here i don't understand …

(52694)
ollehar   
2019-07-03 15:51   

Nothing like that. Instead of creating a table lime_answers_12345 we will create subtables lime_answers_12345_a and lime_answers_12345_b and then combine them into a view called lime_answers_12345. This will circumvent the column limitation (number of bytes in column definitions).

(52695)
DenisChenu   
2019-07-03 15:56   
(Last edited: 2019-07-03 15:57)

Ah OK …

Personally : don't really like it … : because i don't see how to make it automatically inside Response model

But don't have real better idea …

Maybe : survey_XXX_group_YYY table for response ?
Then when update answer on Q ZZZ : we update survey_{Q->sid}_group_{Q->gid} (and this can be done in Response::model ) ?

This not fix group with a lot of column …

(52697)
ollehar   
2019-07-03 16:04   

The Response model will be untouched. The only thing that changes is activate survey logic - instead of creating a table, it will create multiple tables and one view (if the columns are too many).

(52698)
ollehar   
2019-07-03 16:05   

All models will remain untouched. The response insert in EM will have to change, probably, to make sure a row in each table is inserted.

(52700)
DenisChenu   
2019-07-03 16:09   

Since EM use Response::model(sid)->save() in 4 : we can use model.

I am surprised that the models of Yii can use the views without adaptation?

My question is more : thi must be the most automatically possible and the most «soon» than possible. Since Yii DB access must be done by model : in my option it's better to use directly model update (and no another helper etc …).

(52702)
ollehar   
2019-07-03 16:32   

Ah crap, that will break. See this code above:

MariaDB [c1www]> INSERT INTO view1(col1, lol1) VALUES ('foo', 'bar');
ERROR 1393 (HY000): Can not modify more than one base table through a join view 'c1www.view1'

Can't insert into two tables at the same time via a view. D:

(52709)
DenisChenu   
2019-07-03 17:42   

Then : if break : need an update on Response::model too …

Then need to know at what database THIS column refer …
Using group : column are the gid ;)

(52719)
ollehar   
2019-07-03 20:42   

Yeah, the save() and update() methods need to be specially implemented.

If we split by group it's easier to know which table to use. But it implies multiple queries for each save (possibly). Maybe not such a big difference, and only a performance hit if the number of columns is higher than allowed in one table.

(52732)
ollehar   
2019-07-04 16:35   

Another thing that can be done at the same time is changing the column name from sgqa to just qa (assuming survey id and group id are in the table name). This will save even more space.

(52733)
DenisChenu   
2019-07-04 16:40   
(Last edited: 2019-07-04 16:42)

Yes, we can «easily» update column name
And if we remove the Group id : <strike>we (maybe) can allow reorder question inside survey after actvivation.</strike> Not if we use different table for each group …

But : if we update column name : maybe best is to use EM code for column name

  1. No optimization : 20caracter_20caracter_20caracter max
  2. Disable updating title after activation for question (for subquestion it's already done)

BUT : this make table very more clear ;)

(52734)
DenisChenu   
2019-07-04 16:42   

If we split by group it's easier to know which table to use. But it implies multiple queries for each save (possibly). Maybe not such a big difference, and only a performance hit if the number of columns is higher than allowed in one table.

I don't know if current 4.0 EM-Save update all values or only updated values ?

(52735)
ollehar   
2019-07-04 17:07   

If the column names are <questionid> or <questionid>_<answerid>, it will make sure there won't be any naming conflicts when creating the view. TODO: Check order question type answer columns.

I don't know if current 4.0 EM-Save update all values or only updated values ?

That's up to Yii? If we do Response::save(). In any case, it need to be split into multiple saves. Maybe a new model called ResponseGroupTable.

(52737)
DenisChenu   
2019-07-04 17:18   
(Last edited: 2019-07-04 17:23)

<questionid>[_<subYquestionid>][_<subXquestionid>] ?

Currently <questionid>[<subYquestioncode>][_<subXquestioncode>] …

But alt solution
<questioncode>[_<subYquestioncode>][_<subXquestioncode>]

Make it easy to understand DB without LimeSurvey. I think there are a feature request by @Mazi about such column name.

(52739)
ollehar   
2019-07-04 17:30   

Updated desc above. It's possible to create a VIEW with 2'000 columns with large names (would not fit into one table; all columns have INT(1)).

(52740)
ollehar   
2019-07-04 17:31   

<questionid>[<subYquestionid>][<subXquestionid>] ?

Right, subquestions... It's possible to have longer names like that, but it would limit nr of questions in one group (still OK, and maybe ID become very long too?).

(52741)
DenisChenu   
2019-07-04 18:07   

My last dev setup (less than one year : 13570 for last qid ;) )

(52742)
DenisChenu   
2019-07-04 18:32   
(Last edited: 2019-07-04 18:33)

Another solution : one table by question \o/ \o\ /o/ \o\ /o/ \o/ /o\

(52743)
ollehar   
2019-07-04 21:34   

My last dev setup (less than one year : 13570 for last qid ;) )

13k questions in one survey?

(52745)
Mazi   
2019-07-05 08:32   

Interesting approach. When using the VIEW we could even switch to more readable column names, see https://www.limesurvey.org/de/foren/development/105894-qcode-database-view#140098

Question is if it makes sense spending time on this when you are planning for more object orientated question modelling at LS 5 using inheritance and the like. Because that would be the step at which we should start splitting the old lime_survey_123456 tables into something like (just an example)
lime_survey_123456_numeric
lime_survey_123456_text
lime_survey_123456_date
...

And ideally we would be able to use question codes as column headings at the new design!

(52748)
ollehar   
2019-07-05 11:30   

It would be possible to create multiple views. One can even create a plugin that creates views that makes external reporting easier. :)

(52749)
ollehar   
2019-07-05 11:31   

@Mazi Are QCODES unique?

(52750)
DenisChenu   
2019-07-05 11:40   
(Last edited: 2019-07-05 11:40)

@ollehar : for survey created after 2.05 yes.
But more EM code are unique.

(52756)
Mazi   
2019-07-05 12:13   

Yes, those codes should always be unique.

(52758)
DenisChenu   
2019-07-05 12:36   

@Mazi : it can be multiple with survey before 2.06 or 2.05 …
See https://github.com/LimeSurvey/LimeSurvey/blob/387fe4d16f87675dd860cd46e1b74e856eef778d/application/models/Question.php#L156

(52760)
Mazi   
2019-07-05 13:18   

Correct. When importing such surveys, codes get adjusted. So question is: What happens to duplicate or invalid (using e.g. underscores) codes if you do a DB update?

(52763)
DenisChenu   
2019-07-05 14:28   

Not with LSA if i remind : https://github.com/LimeSurvey/LimeSurvey/blob/387fe4d16f87675dd860cd46e1b74e856eef778d/application/models/Question.php#L168

(52765)
ollehar   
2019-07-05 15:04   

What happens to duplicate or invalid (using e.g. underscores) codes if you do a DB update?

Why would a db update change the content of the data?

(52777)
Mazi   
2019-07-06 17:19   

@ollehar, if you are updating a very old 2.00 version which uses duplicate question codes there can be issues if these codes don't get adjusted and you are using the codes as columns names. There could be two columns with name "age" for example. So such details would have to be checked and have to be adjusted.

(52782)
ollehar   
2019-07-08 10:31   

@Mazi, is there a bug report about any such issue? Or just personal experience? ;)

(52783)
DenisChenu   
2019-07-08 10:41   

@ollehar : current system us sidXgidXqid : then the issue can't happen

Since we don't update question code : import joined LSA to check it :)

(52784)
DenisChenu   
2019-07-08 10:51   

Adding related issue 15035: Lost expression manager alert about deprecated question code

(52785)
Mazi   
2019-07-08 10:59   

@ollehar: As Denis pointed out, this can't happen with the current setup. But with the mentioned adjustments this, theoretically, could cause problems. I only pointed to that because before starting to develop something like that, we should consider the additional effort it may take to make sure codes are unique when updating from older versions or when importing old LSS/LSA files.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15035 [Bug reports] Expression Manager minor have not tried 2019-07-08 10:50 2019-07-08 10:51
Reporter: DenisChenu Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.X
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: Lost expression manager alert about deprecated question code
Description:

With old LSA : we allow : Same question code and Question code with different caracter
When checking in 2.6: we see alert about same code and allowed char

Tags:
Steps To Reproduce:

Import included LSA : check survey logic file

Additional Information:

Title in 2.6lts:

This variable name has already been used.

and

Starting in 2.05, variable names should only contain letters and numbers; and may not start with a number. This variable name is deprecated.

Attached Files: survey_archive_brokenEMCode.lsa (3,995 bytes) 2019-07-08 10:50
https://bugs.limesurvey.org/file_download.php?file_id=11829&amp;type=bug
Capture d’écran du 2019-07-08 10-49-03.png (21,016 bytes) 2019-07-08 10:50
https://bugs.limesurvey.org/file_download.php?file_id=11830&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14820 [Bug reports] Survey design crash have not tried 2019-04-28 10:29 2019-07-08 10:34
Reporter: tammo Platform:  
Assigned To: tammo OS:  
Priority: urgent OS Version:  
Status: feedback Product Version: 4.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0-alpha
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL
Server OS (if known): Windows 10, Centos
Webserver software & version (if known): Apache
PHP Version: 7.2, 7.1
Summary: Survey creation not possible
Description:

As erronously described in another bug report survey creation seems to be impossible, both on XAMPP on Widows 10, as well as on Centos.

When trying to create survey, date format cannot be chosen (drop down fill not fold out) and after survey creation error 500 with text that Survey languages are not found.

In the end a survey is created, but with empty title and no way of adding groups.

Tags:
Steps To Reproduce:

Create survey, give name. Try to set date format, fail. Save. Error 500

Additional Information:
Attached Files: Capture d’écran du 2019-04-28 15-30-06.png (77,976 bytes) 2019-04-28 15:33
https://bugs.limesurvey.org/file_download.php?file_id=11568&amp;type=bug
png

error500.png (72,484 bytes) 2019-04-28 16:10
https://bugs.limesurvey.org/file_download.php?file_id=11570&amp;type=bug
png

LimeGit (2).png (16,243 bytes) 2019-04-28 16:23
https://bugs.limesurvey.org/file_download.php?file_id=11571&amp;type=bug
png

500 Internal Server Error (1).png (40,810 bytes) 2019-05-07 14:02
https://bugs.limesurvey.org/file_download.php?file_id=11607&amp;type=bug
png

14820 Survey creation not possible LimeSurvey bugs and feature requests.png (66,839 bytes) 2019-05-08 14:39
https://bugs.limesurvey.org/file_download.php?file_id=11618&amp;type=bug
png
Notes
(51612)
tammo   
2019-04-28 10:30   

More description is related issue.

(51615)
DenisChenu   
2019-04-28 15:33   

Check on your system : reproduce, see the console.log (i reset addet too).

I'm on ngynx, you are on apache if i don't make error. Can you set url to get and not path to see if it update something ?

(51617)
tammo   
2019-04-28 16:10   

Thank you for looking into it, very much appreciated. But I really do not understand what you are asking me to do. See attached image for what I see in developer tools.

(51618)
DenisChenu   
2019-04-28 16:14   

I search why i don't have this issue on my server then an idea can be:

I have this in application/config/config.php

        'urlManager' => array(
            'urlFormat' => 'get',
            'rules' => array(
                // You can add your own rules here
            ),
            'showScriptName' => true,
        ),

You have this

        'urlManager' => array(
            'urlFormat' => 'path',
            'rules' => array(
                // You can add your own rules here
            ),
            'showScriptName' => true,
        ),

Then maybe 'urlFormat' => 'path', is broken.
Another solution : i upgrade, and don't do a new install.

This just allow to find the final issue, with hope it was quickly fixed (currently : y only solution for new feature in dvelop is : do it, but don't test since develop is broken).

(51619)
tammo   
2019-04-28 16:18   

OK, I just did a git clone (unchanged) and checked out the develop branch. The I initialized and this happened. So it was a clean install.

I will wait until the sign: "All clear" is given for new testing of develop. Or is there any other branch that I should test for LS4?

(51620)
tammo   
2019-04-28 16:23   

I changed "path" to "get", but no difference.

Could it have anything to do with the data format not folding out?

(51698)
DenisChenu   
2019-04-30 12:20   

@tammo : sorry can not check with a new setup currently … https://bugs.limesurvey.org/view.php?id=14823 ;)

(51790)
tammo   
2019-05-07 14:02   

Reverted to "path".

Still: when I try to define new survey the date format dropdown does not drop down and I get error 500.

I will proceed when I hear that this has been fixed. It occurs for more than 3 weeks now.

(51794)
tammo   
2019-05-07 15:04   

Made new clone, new database (locally), but problem persists.

(51799)
tammo   
2019-05-07 16:32   

Exception
Selected Surveys language not found

V:\lsgit\framework\db\ar\CActiveRecord.php(145)

133 */
134 public function get($name)
135 {
136 if(isset($this->_attributes[$name]))
137 return $this->_attributes[$name];
138 elseif(isset($this->getMetaData()->columns[$name]))
139 return null;
140 elseif(isset($this->_related[$name]))
141 return $this->_related[$name];
142 elseif(isset($this->getMetaData()->relations[$name]))
143 return $this->getRelated($name);
144 else
145 return parent::
get($name);
146 }
147
148 /*
149
PHP setter magic method.
150 This method is overridden so that AR attributes can be accessed like properties.
151
@param string $name property name
152 @param mixed $value property value
153
@throws CException
154 */
155 public function __set($name,$value)
156 {
157 if($this->setAttribute($name,$value)===false)
Stack Trace
#0

  • V:\lsgit\framework\base\CComponent.php(111): Survey->getCurrentLanguageSettings()
    #1
  • V:\lsgit\framework\db\ar\CActiveRecord.php(145): CComponent->get("currentLanguageSettings")
    #2
    – V:\lsgit\application\controllers\admin\surveyadmin.php(440): CActiveRecord->
    get("currentLanguageSettings")
    435 // Ensure Last GetLastPrettyPrintExpression get info from this sid and default lang
    436 LimeExpressionManager::SetEMLanguage($baselang);
    437 LimeExpressionManager::SetSurveyId($iSurveyID);
    438 LimeExpressionManager::StartProcessingPage(false, true);
    439
    440 $aData['title_bar']['title'] = $survey->currentLanguageSettings->surveyls_title." (".gT("ID").":".$iSurveyID.")";
    441 $aData['surveyid'] = $iSurveyID;
    442 $aData['display']['surveysummary'] = true;
    443
    444 // Last survey visited
    445 $setting_entry = 'lastsurvey'.Yii::app()->user->getId();
    #3
    unknown(0): SurveyAdmin->view("146865", null, null)
    #4
  • V:\lsgit\framework\web\actions\CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, array("146865", null, null))
    #5
    – V:\lsgit\application\core\Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("surveyid" => "146865", "sa" => "view", "iSurveyId" => "146865", "iSurveyID" => "146865", ...))
    78 $oMethod = new ReflectionMethod($this, $sDefault);
    79 }
    80
    81 // We're all good to go, let's execute it
    82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
    83 return parent::runWithParamsInternal($this, $oMethod, $params);
    84 }
    85
    86 /*
    87
    Some functions have different parameters, which are just an alias of the
    88 * usual parameters we're getting in the url. This function just populates
    #6
  • V:\lsgit\framework\web\CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "146865", "sa" => "view", "iSurveyId" => "146865", "iSurveyID" => "146865", ...))
    #7
  • V:\lsgit\framework\web\CController.php(286): CController->runAction(SurveyAdmin)
    #8
  • V:\lsgit\framework\web\CController.php(265): CController->runActionWithFilters(SurveyAdmin, array())
    #9
    – V:\lsgit\application\controllers\AdminController.php(158): CController->run("survey")
    153 $this->redirect(array('/admin/authentication/sa/login'));
    154 }
    155 }
    156 }
    157
    158 return parent::run($action);
    159 }
    160
    161 /*
    162
    Routes all the actions to their respective places
    163 *
    #10
  • V:\lsgit\framework\web\CWebApplication.php(282): AdminController->run("survey")
    #11
  • V:\lsgit\framework\web\CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/view")
    #12
  • V:\lsgit\framework\base\CApplication.php(185): CWebApplication->processRequest()
    #13
  • V:\lsgit\index.php(195): CApplication->run()
(51800)
DenisChenu   
2019-05-07 16:38   

@tammo : one question what language did you set when install ? It's JUST a question, to check it too .

PS : if you can , with firefox , you can directly do Files/ Save As … and send the HTML produced with deug : 2

(51802)
tammo   
2019-05-07 16:42   

English

(51804)
tammo   
2019-05-07 16:43   

You mean this?

PHP notice
Undefined index: en

V:\lsgit\application\helpers\common_helper.php(114)

102 static $cached = null;
103 $bCheckIntegrity = false;
104 $timeadjust = getGlobalSetting('timeadjust');
105 App()->setLanguage((isset(Yii::app()->session['adminlang']) ? Yii::app()->session['adminlang'] : 'en'));
106 $surveynames = array();
107
108 if (is_null($cached)) {
109 $surveyidresult = Survey::model()
110 ->permission(Yii::app()->user->getId())
111 ->with('languagesettings')
112 ->findAll();
113 foreach ($surveyidresult as $result) {
114 $surveynames[] = array_merge($result->attributes, $result->languagesettings[$result->language]->attributes);
115 }
116
117 usort($surveynames, function($a, $b)
118 {
119 return strcmp($a['surveyls_title'], $b['surveyls_title']);
120 });
121 $cached = $surveynames;
122 } else {
123 $surveynames = $cached;
124 }
125 $surveyselecter = "";
126 if ($bReturnArray === true) {
Stack Trace
#0
– V:\lsgit\application\views\admin\survey\subview\tabCopy_view.php(17): getSurveyList(false)
12 <!-- Select survey -->
13 <div class="form-group">
14 <label for='copysurveylist' class=" control-label"><?php eT("Select survey to copy:"); ?> </label>
15 <div class="">
16 <select id='copysurveylist' name='copysurveylist' required="required" class="form-control">
17 <?php echo getSurveyList(false); ?>
18 </select>
19 </div>
20 <div class="">
21 <p class="form-control-static">
22 <span class='annotation text-warning'><?php echo gT("Required"); ?> </span>
#1

  • V:\lsgit\framework\web\CBaseController.php(126): require("V:\lsgit\application\views\admin\survey\subview\tabCopy_view.php")
    #2
  • V:\lsgit\framework\web\CBaseController.php(95): CBaseController->renderInternal("V:\lsgit\application\views/admin/survey/subview/tabCopy_view.php", array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), true)
    #3
  • V:\lsgit\framework\web\CController.php(872): CBaseController->renderFile("V:\lsgit\application\views/admin/survey/subview/tabCopy_view.php", array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), true)
    #4
    – V:\lsgit\application\views\admin\survey\newSurvey_view.php(44): CController->renderPartial("/admin/survey/subview/tabCopy_view", array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...))
    39 <?php $this->renderPartial('/admin/survey/subview/tabImport_view',$data); ?>
    40 </div>
    41
    42 <!-- Copy -->
    43 <div id='copy' class="tab-pane fade in <?php if($active=='copy'){echo ' active ';}?>" >
    44 <?php $this->renderPartial('/admin/survey/subview/tabCopy_view',$data); ?>
    45 </div>
    46 </div>
    47 </div>
    48 </div>
    49
    #5
  • V:\lsgit\framework\web\CBaseController.php(126): require("V:\lsgit\application\views\admin\survey\newSurvey_view.php")
    #6
  • V:\lsgit\framework\web\CBaseController.php(95): CBaseController->renderInternal("V:\lsgit\application\views/admin/survey/newSurvey_view.php", array("oSurvey" => Survey, "data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), "title_bar" => array("title" => "New survey"), "fullpagebar" => array("savebutton" => array("form" => "addnewsurvey"), "closebutton" => array("url" => "admin/index"))), true)
    #7
  • V:\lsgit\framework\web\CController.php(872): CBaseController->renderFile("V:\lsgit\application\views/admin/survey/newSurvey_view.php", array("oSurvey" => Survey, "data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), "title_bar" => array("title" => "New survey"), "fullpagebar" => array("savebutton" => array("form" => "addnewsurvey"), "closebutton" => array("url" => "admin/index"))), true)
    #8
    – V:\lsgit\application\core\Survey_Common_Action.php(267): CController->renderPartial("/admin/survey/newSurvey_view", array("oSurvey" => Survey, "data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), "title_bar" => array("title" => "New survey"), "fullpagebar" => array("savebutton" => array("form" => "addnewsurvey"), "closebutton" => array("url" => "admin/index"))), true)
    262 // Load views
    263 $content = "";
    264 foreach ($aViewUrls as $sViewKey => $viewUrl) {
    265 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) {
    266 if (is_numeric($sViewKey)) {
    267 $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true);
    268 } elseif (is_array($viewUrl)) {
    269 foreach ($viewUrl as $aSubData) {
    270 $aSubData = array_merge($aData, $aSubData);
    271 $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true);
    272 }
    #9
  • V:\lsgit\application\core\Survey_Common_Action.php(345): Survey_Common_Action->renderCentralContents("survey", array("newSurvey_view"), array("oSurvey" => Survey, "data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), "title_bar" => array("title" => "New survey"), "fullpagebar" => array("savebutton" => array("form" => "addnewsurvey"), "closebutton" => array("url" => "admin/index"))))
    #10
  • V:\lsgit\application\controllers\admin\surveyadmin.php(2251): Survey_Common_Action->_renderWrappedTemplate("survey", array("newSurvey_view"), array("oSurvey" => Survey, "data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), "title_bar" => array("title" => "New survey"), "fullpagebar" => array("savebutton" => array("form" => "addnewsurvey"), "closebutton" => array("url" => "admin/index"))), false)
    #11
  • V:\lsgit\application\controllers\admin\surveyadmin.php(201): SurveyAdmin->_renderWrappedTemplate("survey", array("newSurvey_view"), array("oSurvey" => Survey, "data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "admin", "password" => "$2y$10$KoTYiTgPaJthaG7rdlHPCukeJS9sCUqCRKzdHt3WbzsSHcTMWYsZy", "full_name" => "inherit", ...), "sRadixDefault" => 0, "sDateFormatDefault" => 9, ...), "title_bar" => array("title" => "New survey"), "fullpagebar" => array("savebutton" => array("form" => "addnewsurvey"), "closebutton" => array("url" => "admin/index"))))
    #12
    unknown(0): SurveyAdmin->newsurvey()
    #13
  • V:\lsgit\framework\web\actions\CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, array())
    #14
  • V:\lsgit\application\core\Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("sa" => "newsurvey"))
    #15
  • V:\lsgit\framework\web\CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "newsurvey"))
    #16
  • V:\lsgit\framework\web\CController.php(286): CController->runAction(SurveyAdmin)
    #17
  • V:\lsgit\framework\web\CController.php(265): CController->runActionWithFilters(SurveyAdmin, array())
    #18
  • V:\lsgit\application\controllers\AdminController.php(158): CController->run("survey")
    #19
  • V:\lsgit\framework\web\CWebApplication.php(282): AdminController->run("survey")
    #20
  • V:\lsgit\framework\web\CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/newsurvey")
    #21
  • V:\lsgit\framework\base\CApplication.php(185): CWebApplication->processRequest()
    #22
  • V:\lsgit\index.php(195): CApplication->run()
(51809)
DenisChenu   
2019-05-07 16:59   

Sorry don't see the en …

Else about file , i mean like this https://bugs.limesurvey.org/view.php?id=14854 the Error.html file open in a new tab on my Firefox with color and beautifull tab :)

(51833)
tammo   
2019-05-08 14:39   

Or is this not what you mean?

(52769)
markusfluer   
2019-07-05 16:45   

There has been a lot of development lately. Can you check if you still ahve this issue?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15032 [Bug reports] Survey design major have not tried 2019-07-05 17:02 2019-07-08 10:33
Reporter: markusfluer Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta2  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): 4.0.0-github
I will donate to the project if issue is resolved: No
Browser: Chrome/Firefox
Database & DB-Version: 432
Server OS (if known): ubuntu
Webserver software & version (if known): nginx/fpm
PHP Version: 7.2
Summary: Changing question type does not work with the simple question type selector
Description:

Change question type selector to simple.
Won't trigger a question type change

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15034 [Feature requests] Other feature have not tried 2019-07-07 02:10 2019-07-07 02:10
Reporter: fishfree2 Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Support media-recording in the file upload question type
Description:

Nowdays, many people do surveys on mobile phones. It's very convinient to take photos/videos/sounds. So it will be great to support the Media​Stream Recording API: https://developer.mozilla.org/en-US/docs/Web/API/MediaStream_Recording_API

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14990 [Bug reports] Survey design major have not tried 2019-06-18 15:11 2019-07-05 18:04
Reporter: MarvinLipinski Platform:  
Assigned To: cdorin OS:  
Priority: normal OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.5 & 190604
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: Database: mysql & DB-Version: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
Server OS (if known):
Webserver software & version (if known): nginx/1.10.3
PHP Version: 7.2.3-1+ubuntu16.04.1+deb.sury.org+1
Summary: Problem with question type: Array
Description:

Hello everybody,

I've made a survey with Limesurvey and encountered a problem when setting the subquestions for an array question.

When I add the subquestions using the "Quick add" button (including the subquestions code) it happens occasionally that some of the subquestions are deleted as soon as I save the question. Basically one (or sometimes more) of the subquestions changes its position after saving the question and kind of overwrites another subquestion. I've encountered this problem only, when I add more than 60 subquestions to a question. Unfortunately, I can't see an obvious criteria that determines which subquestion is overwritten by which subquestion and it also does not happen all the time. But if you add more than 100 subquestion, the bug is very likely to occur.

I hope someone can solve this mystery.

Greetings

Tags:
Steps To Reproduce:

Create an array question, add more than 60 subquestions to a question by using the "Quick add" function and save the question. I think the more subquestions you add, the higher is the likelihood of this bug to occur.

Additional Information:
Attached Files:
Notes
(52513)
cdorin   
2019-06-24 16:43   

Hello, could you please attach a working example? Is it a multilingual survey?

(52514)
cdorin   
2019-06-24 16:48   
(Last edited: 2019-06-24 17:00)

Nvm, I reproduced it following the instructions.

I have created 56 entries (using the quick add... button) . When I clicked on the Save button, SQ05 and SQ06 vanished (in their place being SQ046 and SQ044).

@p_teichmann, I will assign it to you.

(52573)
DenisChenu   
2019-06-26 19:07   
(Last edited: 2019-06-26 19:08)

https://manual.limesurvey.org/Troubleshooting#After_submitting_a_page.2C_you_end_up_on_the_general_index_page.2Fon_a_404_page_or_you_get_the_message_.27The_CSRF_token_could_not_be_verified.27

Check you max_input_vars

60 * 4 (or 5) * language number for each subquestion

(52589)
cdorin   
2019-06-27 14:59   
(Last edited: 2019-06-27 15:00)

Thanks, totally forgot about that wiki subsection. Good link and explanation.

@MarvinLipinski, could you please give it a try?

(52592)
DenisChenu   
2019-06-27 16:19   

@cdorin : on your test with 56 entries : what is you input_var and language number ?

(52594)
cdorin   
2019-06-27 17:37   

@DenisChenu: 1000
Only English

(52595)
DenisChenu   
2019-06-27 17:44   

8-o , really strange … 56 x 6 = 336 … 1000 is the default (and in general, it broke at ~ 250 answers)

PS: still a good idea to add a 'max_input_vars' controls , something like

  1. Adding a allInputSend hidden input value 1
  2. When save : subquestion or answer or label : check this input
  3. If this input is not here : show a big alert box
(52597)
cdorin   
2019-06-27 17:47   

Hmm, it happened only once. Tried to reproduce it with Patrick and couldn't.

(52774)
MarvinLipinski   
2019-07-05 17:53   

Hey guys,

thanks for looking into this issue. I've spoken to my admin and we looked into our settings and the max_input_var is 2000. It looks like that might not be the problem. Can you think of another reason. Why this kind of problem happens occassionaly when adding to many subquestions at once?

(52775)
DenisChenu   
2019-07-05 18:04   

@MarvinLipinski :

  1. Maybe try wiyh 10 000 ;)
  2. Can you send a sample of your Copy/paste ? What tool did you use (personally : always done with LibreOffice : rarely have issue, i do a 300 lines this month : take JS time, but it work)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15024 [Bug reports] Import/Export block have not tried 2019-07-04 11:23 2019-07-05 16:54
Reporter: bismark Platform:  
Assigned To: p_teichmann OS:  
Priority: high OS Version:  
Status: assigned Product Version: 4.0.0-beta  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): develop
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: 10.1.26-MariaDB
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.1.8
Summary: viewquexml internal server error
Description:

response list click queXML PDF export
admin/responses/sa/viewquexmlpdf/surveyid/{sid}/id/1/browselang/

produces:

Column not found: 1054 Unknown column 'language' in 'where clause'

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: survey_archive_874547.lsa (3,915 bytes) 2019-07-04 11:37
https://bugs.limesurvey.org/file_download.php?file_id=11822&amp;type=bug
Notes
(52720)
bismark   
2019-07-04 11:37   

sample survey

(52724)
Mazi   
2019-07-04 11:50   

@cdorin, this blocks https://bugs.limesurvey.org/view.php?id=14668. Please assign to the appropriate developer.

(52726)
cdorin   
2019-07-04 12:19   
(Last edited: 2019-07-04 12:20)

Reproduced it with my developer branch installation. Assigned.

(52771)
cdorin   
2019-07-05 16:54   

@p_teichmann, there is a bug also when you click on the first action button (view response details):

500: Internal Server Error
Property "SurveyDynamic.tokens" is not defined


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14851 [Bug reports] Survey design major have not tried 2019-05-07 12:15 2019-07-05 16:44
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version:  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Page not getting refreshed when the question type is changed
Description:

When I change the question type, the general and additional question attributes are not getting refreshed.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14923 [Bug reports] Survey design major have not tried 2019-05-21 17:54 2019-07-05 16:43
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): develop
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Need column headers for answer options
Description:

Can't save answer options in dual-scale question type

NOTE: This was my error, I tried to save assessment code instead of answer option text. Bug should be changed to: Need column headers.

Tags:
Steps To Reproduce:
  1. Import survey
  2. Edit question
  3. Edit two answer options
  4. Click "save"
  5. Ajax call returns 500:
500: Internal Server Error
Answer option couldn't be saved. Error: Array
(
[assessment_value] => Array
(
[0] => Assessment Value must be a number.
)

)

An internal error occurred while the Web server was processing your request.

Please contact Your Name to report this problem.
Additional Information:

Related to test SaveDualScaleAnswerOptionsTest.

Attached Files: limesurvey_survey_677328.lss (15,173 bytes) 2019-05-21 17:54
https://bugs.limesurvey.org/file_download.php?file_id=11672&amp;type=bug
Selection_709.png (30,679 bytes) 2019-05-21 18:01
https://bugs.limesurvey.org/file_download.php?file_id=11673&amp;type=bug
png
Notes
(52022)
ollehar   
2019-05-21 18:01   
(Last edited: 2019-05-21 18:01)

Unclear column - assessment or text?

(52048)
DenisChenu   
2019-05-22 14:32   

PS : even with clearer column header : need a clean error controller.

(52052)
ollehar   
2019-05-22 15:34   

Error controller?

(52055)
DenisChenu   
2019-05-22 16:23   

error cntrol :) sorry : id there are error in save : must return a clean error :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15027 [Bug reports] Other minor have not tried 2019-07-04 15:59 2019-07-05 16:42
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): develop
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Global option "Overwrite files with the same name" won't save
Description:

Title

Tags:
Steps To Reproduce:
  1. Go to global options
  2. Change "Overwrite files with the same name when uploaded"
  3. Save
  4. Option is not saved
Additional Information:
Attached Files: Selection_747.png (29,411 bytes) 2019-07-04 15:59
https://bugs.limesurvey.org/file_download.php?file_id=11825&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15031 [Bug reports] Survey design major have not tried 2019-07-05 13:37 2019-07-05 15:52
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): develop
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Can edit question even when survey is activated
Description:

Title.

Tags:
Steps To Reproduce:
  1. Activate survey
  2. Edit question
  3. Everything can be changed
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15030 [Bug reports] Other text have not tried 2019-07-05 13:16 2019-07-05 13:16
Reporter: RayhaneK Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelvant
Summary: Css and font issue, Arabic is not displayed properly.
Description:

See the attached screenshot.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: markus (89,238 bytes) 2019-07-05 13:16
https://bugs.limesurvey.org/file_download.php?file_id=11826&amp;type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15028 [Bug reports] LimeSurvey Website minor have not tried 2019-07-05 10:52 2019-07-05 10:52
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 999999
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: [mantis] No vote on Feature request
Description:

Before last migration of mantis we have vote system on feature request, now : no vote option.

Tags:
Steps To Reproduce:

Check https://bugs.limesurvey.org/view.php?id=15021 and serach to vote

Additional Information:

Source : https://www.limesurvey.org/community/feature-requests

How to vote for a feature

If you don't have a limesurvey.org account please create one first.
Log in to the feature tracker.
Open the desired feature issue in the feature tracker.
Scroll down and on the bottom you will find a section named 'Issue Community Support' where you can vote for this feature.
Please note that you can also vote against a feature.

Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14964 [Bug reports] Other major have not tried 2019-06-05 18:52 2019-07-04 17:24
Reporter: Extract Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.4
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: mysql
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.0.32
Summary: Thème par défaut qui se réinitialise lors de la sauvegarde des paramètres généraux de LS
Description:

Lorsque nous choisissons un thème personnalisé comme thème par défaut dans les paramètres généraux de LS et que nous retournons dans les paramètres après un certain temps, le thème par défaut se retrouve sélectionné alors que la valeur dans la base de données (table: lime_settings_global, variable: defaulttemplate) est bien celle du thème personnalisé. Lorsque nous sauvegardons à nouveau les paramètres, la valeur de la bd est remplacé par le thème par défaut.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: checkThemeUpdateBug.php (870 bytes) 2019-07-02 19:18
https://bugs.limesurvey.org/file_download.php?file_id=11812&amp;type=bug
Notes
(52306)
Extract   
2019-06-05 22:26   

La variable problématique semble en fait defaulttheme qui se réinitialise tout seul...

(52307)
Extract   
2019-06-06 04:18   

En fait, le thème semble se réinitialiser après un certain temps sans que nous retournions dans la section des paramètres généraux.

(52358)
dominikvitt   
2019-06-12 11:48   

@Extract:
Can you explain exact steps you used to reproduce this issue?

(52370)
Extract   
2019-06-12 15:54   

We noticed that the default theme reset occurs when running the cron task associated with the "SendMailCron" plugin. But we did not find the cause...

(52687)
DenisChenu   
2019-07-02 19:18   

I think it's a LimeSurvey issue related to plugins command action.

See included Plugins

Calling inside LimeSurvey directory : it's OK

$ php application/commands/console.php plugin --target=checkThemeUpdateBug
skelvanilla
skelvanilla

Calling outside LimeSurvey directory : it's OK


$ php www/limesurveyapplication/commands/console.php plugin --target=checkThemeUpdateBug
skelvanilla
vanilla
(52738)
DenisChenu   
2019-07-04 17:24   

https://github.com/LimeSurvey/LimeSurvey/commit/387fe4d16f87675dd860cd46e1b74e856eef778d

For previous LimeSurvey version : https://gitlab.com/SondagesPro/mailing/sendMailCron/commit/31165bf12201e3dc82b927df095a8f5221bb73d3


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15005 [Bug reports] Central participant database crash have not tried 2019-06-26 16:56 2019-07-04 17:14
Reporter: visionit Platform:  
Assigned To: p_teichmann OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.5+190604
I will donate to the project if issue is resolved: No
Browser: Mozilla Firefox 67.0.4
Database & DB-Version: postgres (PostgreSQL) 10.9 (Debian 10.9-1.pgdg90+1)
Server OS (if known): Debian 9.9 x86_64 4.15.0-52-generic
Webserver software & version (if known): Apache 2.4.25-3+deb9u6
PHP Version: PHP 7.2.16 (cli) (built: Mar 27 2019 01:46:25) ( NTS )
Summary: Viewing Central Participant database results in error when using Postgres
Description:

When viewing the Central Participant database after creating a Central Participant, the application (with Postgres) crashes with:

CDbCommand failed to execute the SQL statement: SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: character varying = integer
LINE 1: ...73b-0d74423e4fd9' AND (share_uid = 1 AND can_edit = 1) LIMIT...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

Tags:
Steps To Reproduce:
  1. Create fresh Limesurvey instance (version 3.17.5+190604) with a Postgres Database (postgres 10)
  2. Go to Configuration -> Central participant database -> Add new participant.
  3. Add the new participant
  4. Go to Configuration -> Central participant database
Additional Information:

Reproducable with docker-compose file: https://github.com/martialblog/docker-limesurvey/blob/master/docker-compose.pgsql.yml

Attached Files:
Notes
(52690)
p_teichmann   
2019-07-03 14:26   

fixed in https://github.com/LimeSurvey/LimeSurvey/commit/6c6f350774974ce6b6bab514c50d54cbded78598

(52736)
visionit   
2019-07-04 17:14   

Awesome! Thanks


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14975 [Bug reports] User/User groups major have not tried 2019-06-14 12:30 2019-07-04 15:58
Reporter: Mazi Platform:  
Assigned To: dominikvitt OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.0+190402
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: MySQL 5
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.2
Summary: Limesurvey users with limited rights get "undefined" error message when trying to upload a file at the survey theme options
Description:

If a user with limited rights (see screenshot for details) tries uploading a new logo file at the theme options of his survey, he gets a meaningless "undefined" error. The file is a simple png file.
If I take the same file and log in as a different user with extended rights uploading that file at the survey's theme options works fine.

Tags:
Steps To Reproduce:

Set a user with limited rights (see screenshot).
Create a survey.
Assign it a custom template.
Make sure that the user has rights to use the template (see screenshot 2)
Try uploading a logo file at the theme options.

Additional Information:

At the affected system, there are two custom themes available to all users, see second screenshot.

Attached Files: template_rights.png (72,980 bytes) 2019-06-14 12:30
https://bugs.limesurvey.org/file_download.php?file_id=11748&amp;type=bug
png

template_rights_user.png (14,582 bytes) 2019-06-14 12:30
https://bugs.limesurvey.org/file_download.php?file_id=11749&amp;type=bug
png
Notes
(52414)
Mazi   
2019-06-14 13:19   

@c_schmitz, FYI, this is a rather urgent issue since it prevents a large organization from using the themes we created for them. Would be awesome to see a fix at the next release.

(52725)
Mazi   
2019-07-04 11:53   

@cdorin, can you reproduce this one? It would be great if this can be fixed soon. I am visiting that customer on Tuesday and it would be nice to be able to tell them something like "We have tracked it down, a fix will be available at the next release.".

(52728)
dominikvitt   
2019-07-04 13:03   

@Mazi: I'll test it now.

(52731)
dominikvitt   
2019-07-04 15:58   

This issue is fixed.
The patch is available now on GitHub and would be available on next LimeSurvey release.

https://github.com/LimeSurvey/LimeSurvey/commit/387c667fea5452bbde34ede862b3b32e85a2fe91


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14829 [Bug reports] Other minor have not tried 2019-05-01 10:13 2019-07-04 15:55
Reporter: pmonstad Platform:  
Assigned To: ollehar OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.3+190429
I will donate to the project if issue is resolved: No
Browser: all
Database & DB-Version: all
Server OS (if known): all
Webserver software & version (if known): all
PHP Version: all
Summary: green bar with text "true" visible
Description:

Configuration -> Global settings -> Storage

Then hit the button Calculate storage. A green bar is then displayed with text string true. Disappears after a few seconds. See screenshot.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Skjermbilde 2019-05-01 kl. 10.10.41.png (62,219 bytes) 2019-05-01 10:13
https://bugs.limesurvey.org/file_download.php?file_id=11579&amp;type=bug
png
Notes
(51974)
pmonstad   
2019-05-16 22:39   

this one exists in 4.x as well.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15023 [Bug reports] Security minor have not tried 2019-07-03 19:11 2019-07-04 15:33
Reporter: greiling Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.7+190627
I will donate to the project if issue is resolved: No
Browser: Firefox 67.0.4 on macOS 10.14.5
Database & DB-Version: MySQL 5.5.62
Server OS (if known): debian
Webserver software & version (if known): apache 2
PHP Version: PHP Version 5.6.40-0+deb8u1
Summary: Umfrage Quoten -> Forwarded URL -> fail
Description:

Der vorzeitige Abbruch einer Umfrage nach einer spezifischen Antwort scheitert- der XHR-Aufruf geht los, es gibt eine Antwort von dem entfernten Server - immerhin der Aufruf wird ausgeführt. Es wird aber letztendlich trotz 302 und Location auf die Startseite der Umfrage zurückgeleitet. Um die same-origin-Richtlinien zu umschiffen, habe ich eine Datei auf dem gleichen www-Mount angelegt, die garantiert aufgerufen hätte werden sollen.

Tags:
Steps To Reproduce:

Umfrage anlegen, Frage mit spezifischer Antwort anlegen, Quote anlegen, die URL auf beliebigen Server zeigen lassen - fertig. Dann erhalte ich bei 200 vom entfernten Server den Screenschot von 18.51.03.
Mit beliebiger Datei auf gleichem System 18.51.28

POST

HTTP/1.1 302 Found
Date: Wed, 03 Jul 2019 17:06:47 GMT
Server: Apache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
Last-Modified: Wed, 03 Jul 2019 17:06:47 GMT
Cache-Control: post-check=0, pre-check=0
Location: https://umfrage.uni-wuppertal.de/ff.php
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

GET von definierter Location

HTTP/1.1 200 OK
Date: Wed, 03 Jul 2019 17:06:47 GMT
Server: Apache
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 24836
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

Ergebnis: Gewechselt zu https://umfrage.uni-wuppertal.de/index.php/979434

Kein Fehler in der Konsole

Additional Information:
Attached Files: Bildschirmfoto 2019-07-03 um 18.51.03.png (111,818 bytes) 2019-07-03 19:11
https://bugs.limesurvey.org/file_download.php?file_id=11819&amp;type=bug
Bildschirmfoto 2019-07-03 um 18.51.28.png (99,560 bytes) 2019-07-03 19:11
https://bugs.limesurvey.org/file_download.php?file_id=11820&amp;type=bug
png

Bildschirmfoto 2019-07-03 um 18.54.39.png (113,318 bytes) 2019-07-03 19:11
https://bugs.limesurvey.org/file_download.php?file_id=11821&amp;type=bug
Bildschirmfoto 2019-07-04 um 15.32.23.png (141,182 bytes) 2019-07-04 15:33
https://bugs.limesurvey.org/file_download.php?file_id=11824&amp;type=bug
Notes
(52730)
greiling   
2019-07-04 15:33   

works as expected with Microsoft Edge on WIN10 - but not in firefox or chrome


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14871 [Bug reports] Survey design major have not tried 2019-05-09 13:18 2019-07-04 13:58
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version:  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Delete question button not working
Description:

See screenshot

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Selection_146.png (48,849 bytes) 2019-05-09 13:18
https://bugs.limesurvey.org/file_download.php?file_id=11632&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14953 [Bug reports] Survey design major have not tried 2019-05-29 15:39 2019-07-04 13:13
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0-beta  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): develop
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: "Create question" button leads to create question group form
Description:

Title. Should lead to create question form.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Selection_724.png (52,258 bytes) 2019-05-29 15:39
https://bugs.limesurvey.org/file_download.php?file_id=11703&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15011 [Bug reports] Other major have not tried 2019-07-02 14:14 2019-07-04 11:38
Reporter: cdorin Platform:  
Assigned To: dominikvitt OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Regular expression - issue - LimeSurvey "removes" 0
Description:

Check the attached survey, and then test it in regex101 (ecmascript/javascript).

It works there, but not in LimeSurvey. (import the attached .lss)

Tested expression: /^[0-9]{4,5}$/

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: limesurvey_survey_921581.lss (14,422 bytes) 2019-07-02 14:14
https://bugs.limesurvey.org/file_download.php?file_id=11808&amp;type=bug
Notes
(52688)
dominikvitt   
2019-07-03 08:03   

@DenisChenu:
It looks that LEMval method converts '0000' into 0.
Is there any way around it?

(52689)
DenisChenu   
2019-07-03 09:07   

See new issue here : https://bugs.limesurvey.org/view.php?id=15009

In 3.X : TEXT.NAOK : 0001 => 1
In 2. X : TEXT.NAOK : 0001 => 0001

In 3.X seems TEXT.shown : 0001 => 0001

I think the issue is here : https://github.com/LimeSurvey/LimeSurvey/blob/db0310d6559f8114beaced4222c0bd7321caa204/assets/scripts/expressions/em_javascript.js#L712-L725
Line 720 never happen

In 2.6 : https://github.com/SondagesPro/LimeSurvey-SondagesPro/blob/2.06_SondagesPro/scripts/expressions/em_javascript.js#L463-L471

There are an issue in 2.6 too :
TEXT.NAOK 1.1 become 1,1 : i really think it's bad , must be done only if it's a number.

(52692)
dominikvitt   
2019-07-03 14:53   

This issue is fixed.
The patch is available now on GitHub and will be available on next LimeSurvey release.

https://github.com/LimeSurvey/LimeSurvey/commit/1ce7be1c707a7beb51ee80dfbceaf49cb7838548

(52721)
dominikvitt   
2019-07-04 11:38   

Correction:
https://github.com/LimeSurvey/LimeSurvey/commit/e4912fdbb480de2e1272afc3b47ca364d623c474


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13749 [Bug reports] Theme editor minor have not tried 2018-06-08 00:47 2019-07-03 18:05
Reporter: DenisChenu Platform:  
Assigned To: LouisGac OS:  
Priority: low OS Version:  
Status: assigned Product Version: 3.9.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.9.0 github
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: FTP rename default theme : send error at all survey with this template
Description:

After FTP rename of default theme all survey related to this theme (opr another renamed theme) broke

Tags:
Steps To Reproduce:

set a default theme to extend_vanilla
set some survey to extend_vanilla
rename to my_beautifull_theme
launch a survey

Additional Information:

Second pass is OK
Need to filter defaulttheme always

It's happen too without FTP, but don't find the exact way to reproduce without FTP

Attached Files: PHP notice -default template.html (23,889 bytes) 2018-06-08 00:47
https://bugs.limesurvey.org/file_download.php?file_id=10379&amp;type=bug
Notes
(48027)
DenisChenu   
2018-06-08 01:08   
(Last edited: 2018-06-08 01:10)

@LouisGac : i think fixing it at
https://github.com/LimeSurvey/LimeSurvey/blob/83e3fb711b3db89a9383cdbb73f94f9acc45dc75/application/core/LSYii_Application.php#L151
/ Always fix default theme /
$this->setConfig('defaulttheme',Template::templateNameFilter($this->getConfig('defaulttheme')));

But you totally rework templateNameFilter and fix DB inside …

Then need to fix it each time we load defaulttheme, then i update here https://github.com/LimeSurvey/LimeSurvey/blob/83e3fb711b3db89a9383cdbb73f94f9acc45dc75/application/models/TemplateConfiguration.php#L164
$oInstance = self::getInstanceFromTemplateName(Template::templateNameFilter(App()->getConfig('defaulttheme')));

But same issue

(48035)
DenisChenu   
2018-06-09 17:20   

And currently the name of template is filtered each time Survey is loaded, then :

At end : parent template didn't exist, then don't have option …

(48189)
DenisChenu   
2018-06-15 19:48   

Since travis has this issue since we use it …
https://travis-ci.org/LimeSurvey/LimeSurvey/jobs/392787314#L801

I really think we must have a finally fedult template option come from core, even if all are null/empty

(52717)
DenisChenu   
2019-07-03 18:05   

Remind Second pass is OK

It's only at 1st call.

It meens the theme is totally fixed after HTML broke …


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
10703 [Bug reports] Data Entry (non public) minor have not tried 2016-03-07 19:19 2019-07-03 17:55
Reporter: pmonstad Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 2.50.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 160307
I will donate to the project if issue is resolved: No
Browser: Chrome
Database & DB-Version: irrelevant
Server OS (if known): irrelevant
Webserver software & version (if known): irrelevant
PHP Version: irrelevant
Summary: design: hard to enter data manually in data entry screen
Description:

I want to manually enter data as admin in data entry screen. It is very hard to find which answer option belongs to which question as the questions are left aligned while the drop down for answers are right aligned. Could there be some adjustments here to keep it clear which question I give an answer?

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Skjermbilde 2016-03-07 kl. 20.49.35.png (136,905 bytes) 2016-03-07 20:50
https://bugs.limesurvey.org/file_download.php?file_id=7522&amp;type=bug
screenshot-consigno no 2016-05-26 10-41-05.jpg (162,579 bytes) 2016-05-26 10:41
https://bugs.limesurvey.org/file_download.php?file_id=8056&amp;type=bug
Notes
(36104)
pmonstad   
2016-03-07 20:50   

Why has this screen to be different than the dataentry screen? See screenshot.

(38911)
pmonstad   
2016-05-25 22:25   

Could the enclosed screen be used for editing answers? The design is so bad I really dont want to edit answers as it is hard to decide which question I gave an answer to.

(38914)
LouisGac   
2016-05-26 10:00   

yep that screen must be totally redesigned....

(38916)
c_schmitz   
2016-05-26 10:05   

pmonstad: you mean the response edit screen that looks better, right?

(38927)
pmonstad   
2016-05-26 10:41   

The uploaded screenshot with date 2016-03-07 20:50 shows how it should look like while the screenshot of today shows how it should NOT look like.

(39400)
LouisGac   
2016-06-10 11:36   
(Last edited: 2016-06-10 11:37)

First impressions :

It's going to be a long task.

Two functions are implied :

  • dataentry::editdata() Edition of an response
  • dataentry::view()        Creation of a response (should be renamed to create() )

Both generate their own HTML inside dataentry controller, in the old quanda style (switch based on the question type, then HTML generation).

Of course, editdata() prefill the form with the response datas, whereas view() just show an empty form. So editdata() is much more complex than view().

If editdata() would have been the best looking one, it would have been "quiet easy" to use use its HTML for view() (just parsing empty value for all inputs). But here, it's the contrary. We should use the view() HTML for dataedit()....

So, here how I'm going to proceed:

  1. Like I did for quanda, I will create views for the editdata() function, so the HTML will easier to read and modify.
  2. Then I'll update those views for them to look like view() (or better)
  3. THen I'll use those very same views for the function view(), so the same HTML will be used to edit a response or to add a response.
(45355)
DenisChenu   
2017-12-21 08:50   

I think a plugin can be very insteresting for this.

My idea :

  1. Edit an answer using srid : https://gitlab.com/SondagesPro/questionExtraSurvey/blob/master/questionExtraSurvey.php#L154
  2. Use beforeSurveyPage to allow or not loadResponse and set survey to All in one page

Really less devloppment to do. Hope fine time start of 2018 for this

(52706)
cdorin   
2019-07-03 17:23   

@LouisGac, shall I assign it to you?

(52714)
DenisChenu   
2019-07-03 17:55   

PS : now i use https://gitlab.com/SondagesPro/coreAndTools/reloadAnyResponse/blob/master/reloadAnyResponse.php#L52

Really best : edit answer use Real survey behaviour :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14704 [Bug reports] Plugins crash have not tried 2019-03-29 11:49 2019-07-03 17:50
Reporter: bismark Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): master
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: 10.1.26-MariaDB
Server OS (if known):
Webserver software & version (if known):
PHP Version: 7.1.8
Summary: DbStorage not found
Description:

$ php application/commands/console.php plugin --target=Processor
PHP Error[2]: include(DbStorage.php): failed to open stream: No such file or directory
in file C:\Users\marko\Limesurvey\plugins\framework\YiiBase.php at line 463

class Processorextends PluginBase
{
    ...
    protected $storage = 'DbStorage';
   ...
}
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(51203)
DenisChenu   
2019-03-29 16:47   

I use this workaround : https://gitlab.com/SondagesPro/mailing/sendMailCron/blob/master/DbStorage.php

But still a workaround

(51207)
bismark   
2019-03-29 17:40   

namespace of DbStorage, DummyStorage must be LimeSurvey\PluginManager\Storage

in PluginManager it should be:

public function getStore($storageClass)
    {
        if (!class_exists($storageClass)
                && class_exists('LimeSurvey\\PluginManager\\Storage\\'.$storageClass)) {
            $storageClass = 'LimeSurvey\\PluginManager\\Storage\\'.$storageClass;
        }

        if (!isset($this->stores[$storageClass])) {
            $this->stores[$storageClass] = new $storageClass();
        }
        return $this->stores[$storageClass];
    }

DummyStorage does not implement iPluginStorage correctly

Storages must use LimeSurvey\PluginManager\iPlugin;

rename iPluginStorage to PluginStorageInterface

rename iPlugin to PluginInterface

(52480)
DenisChenu   
2019-06-20 07:20   

Great if you can provide a pull request :)
I'm happy to merge it (for https://bugs.limesurvey.org/view.php?id=14931 too)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
12764 [Bug reports] Translation minor have not tried 2017-10-11 13:32 2019-07-03 17:33
Reporter: tuxmaster Platform:  
Assigned To: LouisGac OS:  
Priority: low OS Version:  
Status: assigned Product Version: 2.7x.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 2.72.0+171010
I will donate to the project if issue is resolved:
Browser:
Database & DB-Version:
Server OS (if known):
Webserver software & version (if known):
PHP Version:
Summary: The AuthLDAP configuration page are not translated.
Description:

The AuthLDAP configuration page are not translated.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(45845)
DenisChenu   
2018-01-16 16:53   

To make translation on Plugin settings page on any plugin :

Need to extend getPluginSettings and set the label and help here.

Example here : https://framagit.org/SondagePro-LimeSurvey-plugin/extendRemoteControl/blob/develop/extendRemoteControl.php#L108 (but no translation here, i don't translate super admin page a lot …)

(52707)
cdorin   
2019-07-03 17:31   

We will focus more on plugins in the near future. This will have to be solved at some point. Assigned.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15022 [Bug reports] Other minor have not tried 2019-07-03 16:35 2019-07-03 16:35
Reporter: tassoman Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.master
I will donate to the project if issue is resolved: No
Browser: Firefox
Database & DB-Version: MySql
Server OS (if known): Docker
Webserver software & version (if known): Apache 2.4
PHP Version: PHP 7.3
Summary: KCFinder not working behind reversed proxy » REF: issue 12629
Description:

Ciao,
we have problems using KCFinder file uploader applet as described in issue 12629. That's because KCFinder is crafting cookies for internal url while our LS installation respond to external URL aka: $config['publicurl'] setting.

It happens Inside survey's «Resource» page, and trying to upload attachments in email templates.

The result is the applet gui is loaded but it's empty (no Files directory) and when you click any button (for example Reload) it breaks giving back the protocol error (using Firefox).

Tags:
Steps To Reproduce:

Install limesurvey inside a container
Serve it behind another url, reverse proxied
Visit Survey's Resource page
Click any KCFinder GUI button

Additional Information:

There are more informations on KCFinder cookie session management documentation
https://kcfinder.sunhater.com/integrate#session

I've attached screenshots to this issue:
[1] Survey's Resources after click
[2] LS cookies set using $config['publicurl']
[3] KCFinder cookies set for internal url

Attached Files: ls-tq.png (76,543 bytes) 2019-07-03 16:35
https://bugs.limesurvey.org/file_download.php?file_id=11816&amp;type=bug
png

c-tq.png (70,528 bytes) 2019-07-03 16:35
https://bugs.limesurvey.org/file_download.php?file_id=11817&amp;type=bug
png

c-lstaw.png (68,129 bytes) 2019-07-03 16:35
https://bugs.limesurvey.org/file_download.php?file_id=11818&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14846 [Bug reports] Survey design major have not tried 2019-05-07 10:54 2019-07-03 15:56
Reporter: cdorin Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): irrelevant
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: irrelevant
Server OS (if known):
Webserver software & version (if known):
PHP Version: irrelevant
Summary: Cannot upload Images
Description:

Cannot upload any image in any field (tried in welcome, description, question text field, etc.)

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14853 [Bug reports] Survey design minor have not tried 2019-05-07 16:23 2019-07-03 01:37
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: assigned Product Version: 4.0.0dev  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github 28594df
I will donate to the project if issue is resolved: No
Browser: FF 66
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: New question always added to 1st group
Description:

See summary

Tags:
Steps To Reproduce:

Create a survey , add a group, add a question
Add another group, move it to bottom
Select this group
Add a question
Question is added in 1st group

Additional Information:

Maybe related https://bugs.limesurvey.org/view.php?id=14852

Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14784 [Development ] Survey Design block have not tried 2019-04-17 14:20 2019-07-02 17:32
Reporter: dominikvitt Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version: 4.0.0dev  
    Target Version: 4.0.0dev  
Summary: Question can't be saved using new question editor
Description:

Two issues:

  1. When trying to save existing question, error message is shown:
    "Question could not be stored. Reloading page."
    See attached image.

  2. When trying to create a new question, there is no save button.

Tags:
Steps To Reproduce:

Open existing question, try to save it.

Create a new question.

Additional Information:
Attached Files: Screenshot_2019-04-17_14-06-54.png (31,915 bytes) 2019-04-17 14:20
https://bugs.limesurvey.org/file_download.php?file_id=11525&amp;type=bug
png
Notes
(51560)
DenisChenu   
2019-04-24 10:38   

One more …

(51563)
dominikvitt   
2019-04-24 11:37   

@markusfluer:
Question saving works now, but after clicking on "Save" button, survey toolbar can't be clicked any more and also Question overview button click doesn't open overview.

(52676)
markusfluer   
2019-07-02 16:24   

This should be fixed as well, can't reproduce it.

(52684)
DenisChenu   
2019-07-02 17:17   

Seems OK

(52686)
dominikvitt   
2019-07-02 17:32   

It works as expected


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14834 [Bug reports] Survey design minor have not tried 2019-05-02 13:17 2019-07-02 17:31
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: feedback Product Version: 4.0.0dev  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github a78c81e
I will donate to the project if issue is resolved: No
Browser: FF 66
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: Lack of save Question 1st load
Description:

Button to save questions are not inside HTML the 1st time, need a reload.

Tags:
Steps To Reproduce:

When clicking add question from right menu button : no buttons to save.
Need to click again or reload page

Additional Information:
Attached Files: Capture d’écran du 2019-05-02 13-15-22.png (57,961 bytes) 2019-05-02 13:17
https://bugs.limesurvey.org/file_download.php?file_id=11585&amp;type=bug
png

Capture d’écran du 2019-07-02 17-23-37.png (30,246 bytes) 2019-07-02 17:31
https://bugs.limesurvey.org/file_download.php?file_id=11810&amp;type=bug
png
Notes
(52685)
DenisChenu   
2019-07-02 17:30   
(Last edited: 2019-07-02 17:30)

I still have it again with

  1. Create new survey
  2. Go to Structure
  3. Create group with button on left menu
  4. Save
  5. New Add question button appear : click
  6. Search Save / Save & close …

Reload (F5) : button save appear

$ git reset --hard origin/develop
HEAD est maintenant à 41e670290f Dev: deactivate all ckeditor4 occurences by force
$ git pull
Déjà à jour.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15014 [Bug reports] Survey design minor have not tried 2019-07-02 17:19 2019-07-02 17:19
Reporter: DenisChenu Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github 41e670290f
I will donate to the project if issue is resolved: No
Browser: not relevant ?
Database & DB-Version: not relevant ?
Server OS (if known): not relevant ?
Webserver software & version (if known): not relevant ?
PHP Version: not relevant ?
Summary: Minor : Save and close Question : com back to survey summary
Description:

Maybe need a decision here. But in 3 and previously : Save and close : back to Question summary, current 4.X back to Survey summary.

Tags:
Steps To Reproduce:

Click on Save and close in question edit

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14761 [Bug reports] Survey taking block have not tried 2019-04-09 17:43 2019-07-02 17:16
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github c1cd05c7f9
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant ?
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: Class 'RenderListRadio' not found
Description:

Error when try to test a survey

Tags:
Steps To Reproduce:

Import included survey, launch …

Additional Information:

have a totally broken develop make harder to add new feature or fix issue‘s

Attached Files: limesurvey_survey_curl-more.lss (22,472 bytes) 2019-04-09 17:43
https://bugs.limesurvey.org/file_download.php?file_id=11502&amp;type=bug
Error.html (21,023 bytes) 2019-04-09 17:43
https://bugs.limesurvey.org/file_download.php?file_id=11503&amp;type=bug
Notes
(52675)
markusfluer   
2019-07-02 16:13   

I couldn't replicate this behaviour.
Is this still an issue?

(52683)
DenisChenu   
2019-07-02 17:16   

OK :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14741 [Bug reports] Survey design minor have not tried 2019-04-04 09:50 2019-07-02 17:14
Reporter: DenisChenu Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version:  
Complete LimeSurvey version number (& build): 4.0.0 github
I will donate to the project if issue is resolved: No
Browser: FF
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: php7.2
Summary: Unable to edit survey texts
Description:

See screenshot, page is not really reloaded

Tags:
Steps To Reproduce:

Create a survey, edit survey text, save

Additional Information:

User settings about editor change nothings

Attached Files: Capture d’écran du 2019-04-04 09-48-18.png (97,793 bytes) 2019-04-04 09:50
https://bugs.limesurvey.org/file_download.php?file_id=11478&amp;type=bug
png
Notes
(52674)
markusfluer   
2019-07-02 16:09   

Is this problem still unresolved?
Can you try again?

(52682)
DenisChenu   
2019-07-02 17:14   

Seems OK :)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15013 [Bug reports] Installation minor have not tried 2019-07-02 17:10 2019-07-02 17:10
Reporter: DenisChenu Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 4.0.0-beta2  
Complete LimeSurvey version number (& build): 3.17.9
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): windows or SUSE/linux
Webserver software & version (if known): IIS 8 and Apache
PHP Version: PHP7.0 or PHP7.2
Summary: Installer didn't check FileInfo
Description:

See https://bugs.limesurvey.org/view.php?id=14989 «Problem can't upload file»
And the proposed fix : https://github.com/LimeSurvey/LimeSurvey/pull/1301 : disable checking if FileInfo don't exist => security issue.

Tags:
Steps To Reproduce:

Hue … disable FileInfo from your php setup ?

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15012 [Development ] Survey design minor have not tried 2019-07-02 17:05 2019-07-02 17:05
Reporter: DenisChenu Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Must add test for min max EM function
Description:

See https://bugs.limesurvey.org/view.php?id=14198

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14198 [Bug reports] Expression Manager minor have not tried 2018-10-31 09:22 2019-07-02 17:05
Reporter: DenisChenu Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.15.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.1 github
I will donate to the project if issue is resolved: No
Browser: not relevant
Database & DB-Version: not relevant
Server OS (if known): not relevant
Webserver software & version (if known): not relevant
PHP Version: not relevant
Summary: max function broken : diff in JS and PHP, diff with previous behaviour
Description:

Using max with "not answered" question show different behaviour in JS and PHP

Tags:
Steps To Reproduce:

Import included survey : mpve next : see the difference with max(that.Q00.NAOK) : in js show empty, in PHP show 4.

It work in 2.73 : show 4 for the 2 part

Additional Information:

Surely related with : https://github.com/LimeSurvey/LimeSurvey/commit/a83531f716f4584272dc3aaf5d214880c6579de4

Attached Files: limesurvey_survey_maxBrokenJS.lss (20,941 bytes) 2018-10-31 09:22
https://bugs.limesurvey.org/file_download.php?file_id=10885&amp;type=bug
limesurvey_survey_maxBroken2_273issueToo.lss (25,426 bytes) 2018-10-31 09:30
https://bugs.limesurvey.org/file_download.php?file_id=10886&amp;type=bug
limesurvey_survey_EmMinMaxTest.lss (44,876 bytes) 2019-06-05 13:51
https://bugs.limesurvey.org/file_download.php?file_id=11719&amp;type=bug
Capture d’écran du 2019-06-05 13-48-50.png (4,526 bytes) 2019-06-05 13:51
https://bugs.limesurvey.org/file_download.php?file_id=11720&amp;type=bug
png

Capture d’écran du 2019-06-05 13-49-16.png (6,646 bytes) 2019-06-05 13:51
https://bugs.limesurvey.org/file_download.php?file_id=11721&amp;type=bug
png
Notes
(49500)
DenisChenu   
2018-10-31 09:30   

Send a second lss , with max for a multiple short text question.

2.73 have a issue : show NAN in JS, Anything in PHP.

Unsure for the way to fix for TEXT + NUMERIC value, but for sure : with numeric value (return of multinumeric is numeric) : comparaison must be done with number.

(52301)
DenisChenu   
2019-06-05 07:55   
(Last edited: 2019-06-05 07:56)

https://github.com/LimeSurvey/LimeSurvey/pull/1289
OK with both numeric and both string

(52303)
DenisChenu   
2019-06-05 13:51   

See current js behaviour against php behaviour.
Include survey with min too

Min with '' : send always '', min with alpha only send the minimal alpha

(52681)
DenisChenu   
2019-07-02 17:04   

https://github.com/LimeSurvey/LimeSurvey/commit/db0310d6559f8114beaced4222c0bd7321caa204


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14810 [Bug reports] Survey design minor have not tried 2019-04-24 17:58 2019-07-02 15:29
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Left menu disappears after sorting question list
Description:

See pic.

Tags:
Steps To Reproduce:
  1. Go to question list
  2. Sort by e.g. code
  3. Half of the side-menu is gone
Additional Information:
Attached Files: Selection_669.png (70,733 bytes) 2019-04-24 17:58
https://bugs.limesurvey.org/file_download.php?file_id=11555&amp;type=bug
png
Notes
(51579)
DenisChenu   
2019-04-24 23:19   

Near same issue in 3.X (reported)
https://bugs.limesurvey.org/view.php?id=14604


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14811 [Bug reports] Survey participants (Tokens) major have not tried 2019-04-24 18:03 2019-07-02 15:19
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Side-menu is off screen at participant list view
Description:

See pic.

Tags:
Steps To Reproduce:
  1. Go to survey participants
  2. Create 100 dummy participants
  3. Side-menu is off screen
Additional Information:
Attached Files: Selection_670.png (79,445 bytes) 2019-04-24 18:03
https://bugs.limesurvey.org/file_download.php?file_id=11556&amp;type=bug
png
Notes
(52670)
ollehar   
2019-07-02 15:19   

Still buggy on my machine. Or didn't you push yet?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14807 [Bug reports] Survey design minor have not tried 2019-04-24 17:36 2019-07-02 15:04
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Data policy description is "null", should be empty string?
Description:

See pic.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Selection_666.png (97,542 bytes) 2019-04-24 17:36
https://bugs.limesurvey.org/file_download.php?file_id=11552&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14806 [Bug reports] Survey design major have not tried 2019-04-24 17:34 2019-07-02 15:04
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: No save button in question organizer
Description:

See pic.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Selection_665.png (63,338 bytes) 2019-04-24 17:34
https://bugs.limesurvey.org/file_download.php?file_id=11551&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14805 [Bug reports] Survey design minor have not tried 2019-04-24 17:31 2019-07-02 14:54
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: Save buttons are to the left, should be to the right
Description:

See pic.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Selection_664.png (101,397 bytes) 2019-04-24 17:31
https://bugs.limesurvey.org/file_download.php?file_id=11550&amp;type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14804 [Bug reports] Survey design major have not tried 2019-04-24 17:30 2019-07-02 14:54
Reporter: ollehar Platform:  
Assigned To: markusfluer OS:  
Priority: none OS Version:  
Status: resolved Product Version: 4.0.0dev  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 4.0.0-beta2  
    Target Version: 4.0.0-beta  
Complete LimeSurvey version number (& build): 4.0.0dev
I will donate to the project if issue is resolved: No
Browser: -
Database & DB-Version: -
Server OS (if known): -
Webserver software & version (if known): -
PHP Version: -
Summary: JS exception when clicking "Save" in question editor
Description:

Unhandled promise rejection TypeError: "result.data is undefined"

Tags:
Steps To Reproduce:

Edit question, click save.
Question group has no title.

Additional Information:
Attached Files: Selection_663.png (23,969 bytes) 2019-04-24 17:30
https://bugs.limesurvey.org/file_download.php?file_id=11549&amp;type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14690 [Bug reports] _ Unknown minor have not tried 2019-03-26 11:57 2019-07-02 14:48
Reporter: lfuchs Platform:  
Assigned To: p_teichmann OS:  
Priority: low OS Version:  
Status: resolved Product Version: 3.15.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): 3.15.8+190130
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: unknown
Server OS (if known):
Webserver software & version (if known):
PHP Version: unknown
Summary: Deleting answer options in matrix question type
Description:

When I add several answer options in a matrix question type and I would like to delete one of them again, more than one answer options are deleted. This falure occurs when I don't have saved in the meantime. See video.

Tags:
Steps To Reproduce:
Additional Information:

Yes, I can confirm its existence. Will assign it now.

Attached Files: Delete answer options.mp4 (154,970 bytes) 2019-03-26 11:57
https://bugs.limesurvey.org/file_download.php?file_id=11412&amp;type=bug
Notes
(52516)
cdorin   
2019-06-24 17:08   

Yes, I can confirm its existence. Will assign it now.

(52662)
p_teichmann   
2019-07-02 14:48   

fixed in https://github.com/LimeSurvey/LimeSurvey/commit/f6fd538461f2adc7732b63eb64b4d42b85a91fab


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14993 [Bug reports] Statistics minor have not tried 2019-06-19 09:41 2019-07-02 14:29
Reporter: fradeff Platform:  
Assigned To: dominikvitt OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): Version 3.17.4+190529
I will donate to the project if issue is resolved: No
Browser: Firefox 67.0.2 (64 bits)
Database & DB-Version: mysqlnd 5.0.12-dev - 20150407
Server OS (if known): Debian GNU/Linux 9.9 (stretch)
Webserver software & version (if known): Apache 2.0 Handler 20120211
PHP Version: PHP Version 7.0.33-0+deb9u3
Summary: Bug on saving / exporting Statistics
Description:

The graphs display well on screen, but I have 2 bugs, confirmed by other admins on the same ls instance:

  1. When exporting all graphs, the zip contain .png files with transparent images of the graphs, without any text/numeric datas...
  2. When exporting the PDF (why pdf?) question by question, it always export the same first graph of the 1st question

My solution, printscreens, works but not very practical

Maybe linked with bug 14655

Tags:
Steps To Reproduce:

Create survey, activate, collect some results, go to https://.../index.php/admin/statistics/sa/index/surveyid/SURVEYID

Additional Information:
Attached Files:
Notes
(52660)
dominikvitt   
2019-07-02 14:23   

Export images function actually works, so it isn't really a bug.
I just need to explain how images export really works.
When you click on "Export images" button, program collects all images that are already displayed on the screen.
So, if you go the bottom of the screen too quickly to click on the button, no images or only some images would be exported.

I added a short explanatory message just before this button, so it should be clear how it works.:
"Make sure all images on this screen are loaded before clicking on the button."

https://github.com/LimeSurvey/LimeSurvey/commit/c00e4e99411cb0c6d541873b8205f5bcebb6b688

Also, I can't reproduce the second point.

(52661)
fradeff   
2019-07-02 14:29   

thanks Dominik, you're great (and I'm a fool... had to think to it before! but as a user forwarded my this issue that she considered as a bug it is maybe usefull you made that fix)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15010 [Bug reports] Import/Export minor have not tried 2019-07-02 11:54 2019-07-02 11:54
Reporter: rjpinto Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: new Product Version: 3.17.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.7+190627
I will donate to the project if issue is resolved: No
Browser:
Database & DB-Version: Postgresql-10.9 DB 356
Server OS (if known): Ubuntu 18.04 LTS
Webserver software & version (if known): Apache
PHP Version: 7.2
Summary: After upgrade importing questions results in a CHttpException
Description:

Going into a survey and selecting Structure->Add question->Import question returns a HTTP 400 error.
Turning debug on showed that a CHttpException was happening.

Last known working version was 3.15.x.

There is a custom template and it is deprecated. Could this be the problem?

Tags:
Steps To Reproduce:

Select a survey
Click the import question button in Structure->Add question

Additional Information:
Attached Files: CHttpException.html (15,002 bytes) 2019-07-02 11:54
https://bugs.limesurvey.org/file_download.php?file_id=11807&amp;type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14998 [Bug reports] Survey taking major have not tried 2019-06-21 14:09 2019-07-01 12:07
Reporter: DenisChenu Platform:  
Assigned To: DenisChenu OS:  
Priority: none OS Version:  
Status: resolved Product Version: 3.17.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 3.17.x  
    Target Version:  
Complete LimeSurvey version number (& build): 3.17.5 github & 3.17.4
I will donate to the project if issue is resolved: No
Browser: ff
Database & DB-Version: mariadb
Server OS (if known): fedora/linux
Webserver software & version (if known): nginx
PHP Version: PHP7
Summary: Usage of self.NAOK insique all question part are broken
Description:

self.NAOK return the 1st value in page

Tags:
Steps To Reproduce:

Import included survey
Check logic of Q01 : see Q01
Check logic of survey : see Q00 everywhere
Launch survey : all {self.NAOK} use {Q00.NAOK}

Additional Information:

3.17.4+190529 broken
3.17.3+190429 OK

Attached Files: Capture d’écran du 2019-06-21 14-04-58.png (19,344 bytes) 2019-06-21 14:09
https://bugs.limesurvey.org/file_download.php?file_id=11774&amp;type=bug
png

limesurvey_survey_selfBroken.lss (20,416 bytes) 2019-06-21 14:09
https://bugs.limesurvey.org/file_download.php?file_id=11775&amp;type=bug
Notes
(52488)
DenisChenu   
2019-06-21 14:19   
(Last edited: 2019-06-21 14:19)

@ollehar Dev: Memoize result from ExpandThisVar (not 100% sure this is a bottleneck) is the issue
must be disabled for self and this at minima …
https://github.com/LimeSurvey/LimeSurvey/commit/445313913cbfec6addc85618108e728a13f81794

(52489)
DenisChenu   
2019-06-21 14:23   

Must be disable if HAVE self or this
((sum(!(!is_empty(self.NAOK))) == 0)) and ((sum(!(!is_empty(self.NAOK))) == 0)) goes into cache

(52491)
DenisChenu   
2019-06-21 23:14   

https://github.com/LimeSurvey/LimeSurvey/commit/7a0112999b2dff5a54e51e0c28ac562ef3992150

(52624)
DenisChenu   
2019-06-28 12:27   

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

(52646)
ollehar   
2019-07-01 10:15   

Thanks, Denis! Very good catch.

(52647)
ollehar   
2019-07-01 10:16   

I can make a regression test for this bug.

(52648)
DenisChenu   
2019-07-01 10:57   

I have this one : https://bugs.limesurvey.org/view.php?id=14995 to do too (relevance on preview).

(52649)
ollehar   
2019-07-01 11:04   

Group preview? Hm.

(52653)
DenisChenu   
2019-07-01 12:07   

Question preview too (for subquestion and prefilling via URL)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15001 [Bug reports] Import/Export block have not tried 2019-06-24 21:01 2019-06-28 12:33
Reporter: stvm_36 Platform:  
Assigned To: c_schmitz OS:  
Priority: high OS Version:  
Status: resolved Product Version: 3.17.x