View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06273Bug reportsSurvey editingpublic2012-06-26 15:10
Reporterulysse68 Assigned ToMazi  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version1.92+ 
Summary06273: Option Show X Questions unchangeable
Description

If you let the survey admin choose if s/he wants to display "There are X questions in this survey", the admin can choose, but the answer always come back to "Yes".

In the database (table lime_surveys), the 'showXquestions' is set to 'N', but in the display, it is set to 'Yes' -- and the number of questions is displayed for the user.

Steps To Reproduce

In the global configuration, let the administrator choose this parameter. For a particular survey, choose 'No' and Save. Go back to this parameter: it is 'Yes' again (tested on 2 different servers).

TagsNo tags attached.
Attached Files
showxquestions.png (246,300 bytes)
showxquestions-database.png (10,690 bytes)   
showxquestions-database.png (10,690 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)120623
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMySQL 5
Server OS (if known)GNU/Linux
Webserver software & version (if known)Apache 2
PHP Version5.3
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-06-25 16:01

reporter   ~19543

I can't reproduce this. I tried every combination of the global admin presentation option for 'Show "There are X questions in this survey', and matching the survey-specific 'Presentation & navigation" option, and in each case, it worked exactly as expected.

Any chance you manually changed your database?

Can you attach screen shots of the configuration that causes the problem as well as the survey itself?

ulysse68

ulysse68

2012-06-25 16:40

reporter   ~19547

OK, I tested again... same result. Here are some more points:

  • my surveys are in French (something to check, here?)
  • I haven't manually edited the database
  • if I select 'Yes', then 'No' in the parameters, the database is correctly adapted, but the parameters displayed are always set to 'Yes' -- and of course, during the survey, the number of questions is displayed in the welcome screen

Could it be a problem with the files' rights? On one of the servers, I set 'chmod 666' for all the files, without change.

HTH,
Greg

TMSWhite

TMSWhite

2012-06-25 16:50

reporter   ~19548

Greg-
Can you try a fresh install without changing the files' rights and see if you continue to see the problem?

ulysse68

ulysse68

2012-06-25 17:16

reporter   ~19550

OK, I installed a fresh version on my computer (localhost), and the problem doesn't exist. Do you think it could be due to the (many) updates and upgrades I made on my servers?

I'll try delete all files and put fresh ones -- but in some days: there are running surveys.

Thanks,
Greg

Mazi

Mazi

2012-06-26 15:10

updater   ~19566

I also can't reproduce this problem.

As a workaround: Create a copy of your template and remove the {THEREAREXQUESTIONS} placeholder from the welcome.pstpl file.
Then assign the template copy to your survey.

I'm closing this one. Feel free to re-open the ticket if you can reproduce the problem at our demo:
http://demo.limesurvey.org/admin
Username: admin
Password: test

Issue History

Date Modified Username Field Change
2012-06-25 15:16 ulysse68 New Issue
2012-06-25 16:01 TMSWhite Note Added: 19543
2012-06-25 16:01 TMSWhite Status new => feedback
2012-06-25 16:31 ulysse68 File Added: limesurvey_survey_31258.lss
2012-06-25 16:31 ulysse68 File Added: showxquestions.png
2012-06-25 16:35 ulysse68 File Added: showxquestions-database.png
2012-06-25 16:40 ulysse68 Note Added: 19547
2012-06-25 16:40 ulysse68 Status feedback => new
2012-06-25 16:50 TMSWhite Note Added: 19548
2012-06-25 17:16 ulysse68 Note Added: 19550
2012-06-26 15:10 Mazi Note Added: 19566
2012-06-26 15:10 Mazi Status new => closed
2012-06-26 15:10 Mazi Assigned To => Mazi
2012-06-26 15:10 Mazi Resolution open => unable to reproduce
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing