View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05045Bug reportsData Entry (non public)public2011-04-11 11:30
ReportermagiclkoAssigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC5 
Fixed in Version1.91RC6 
Summary05045: List survey publicly always set to "No" while creating survey
Description

"List survey publicly:" is always set to No when a survey is created regardless of what is the value chosen at back-end. Editing survey settings although do update database.

Steps To Reproduce
  1. Create a new survey.
  2. In Publication & access control tab, select List survey publicly to Yes.
  3. Activate the survey after satisfying basic needs. Survey won't be publicly visible.

Also, if you click on edit survey settings , "List survey publicly" will be set to No.

Additional Information

When $action == 'insertsurvey' , than instead of setting 'listpublic' we are setting 'public' field which doesn't even exist.

TagsNo tags attached.
Attached Files
05045_dev.patch (764 bytes)   
Index: admin/database.php
===================================================================
--- admin/database.php	(revision 9890)
+++ admin/database.php	(working copy)
@@ -1371,7 +1371,7 @@
                             'printanswers'=>$_POST['printanswers'],
         //                            'usetokens'=>$_POST['usetokens'],
                             'datecreated'=>date("Y-m-d"),
-                            'public'=>$_POST['public'],
+                            'listpublic'=>$_POST['public'],
                             'htmlemail'=>$_POST['htmlemail'],
                             'tokenanswerspersistence'=>$_POST['tokenanswerspersistence'],
                             'alloweditaftercompletion'=>$_POST['alloweditaftercompletion'],
05045_dev.patch (764 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)9872
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome, Mozilla Firefox, Microsoft IE
Database type & versionMySQL(i) 5.1.37
Server OS (if known)Windows 7
Webserver software & version (if known)IIS 6.0
PHP Version5.2.13

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2011-03-21 00:29

updater   ~14481

Thibault, can you check the attached patch?

lemeur

lemeur

2011-03-22 21:00

developer   ~14517

Fixed in rev 9903 and 9904

c_schmitz

c_schmitz

2011-04-11 11:30

administrator   ~14765

1.91RC6 released.

Issue History

Date Modified Username Field Change
2011-03-20 14:02 magiclko New Issue
2011-03-20 14:03 magiclko File Added: 05045_dev.patch
2011-03-21 00:28 Mazi Assigned To => lemeur
2011-03-21 00:28 Mazi Status new => assigned
2011-03-21 00:29 Mazi Note Added: 14481
2011-03-22 21:00 lemeur Note Added: 14517
2011-03-22 21:00 lemeur Status assigned => resolved
2011-03-22 21:00 lemeur Fixed in Version => 1.91RC6
2011-03-22 21:00 lemeur Resolution open => fixed
2011-04-11 11:30 c_schmitz Note Added: 14765
2011-04-11 11:30 c_schmitz Status resolved => closed