View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06448Bug reportsOtherpublic2012-08-16 10:23
Reporterdjrpascu Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC8 
Target Version2.00RC9Fixed in Version2.00RC9 
Summary06448: Issues with Global Settings on Admin Interface
Description

Problem #1 - Getting JS error message on line 34 of \scripts\admin\globalsettings.js when trying to submit form. See commented line below. Quick "fix" for me was to just comment it out.

function UpdateRestrictedLanguages(){
aString='';
$("#includedLanguages option").each(function(){
aString=aString+' '+$(this).val();
});
//$('#restrictToLanguages').val(aString.trim());
}

Problem #2 - Columns in lime_settings_global set to NOT NULL. Found that the code was passing in NULL values for 'emailsmtpdebug' and 'emailsmtpssl'.

Modified the following lines in \application\views\admin\globalSettings_view.php

Line 238/239: <option value='3'
<?php if (getGlobalSetting('emailsmtpdebug')=='3') { echo "selected='selected'";} ?>

Note: Values is passed through sanitize_int function which seems to convert a 0 to NULL.

Line 259: <option value='off'

Steps To Reproduce

Fresh Installation

Additional Information

Also, navigating the admin panel seems slow. Not sure why.

Hope this helps!

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)120803
I will donate to the project if issue is resolvedNo
Browser
Database type & versionSQL Server 2008
Server OS (if known)Windows Server 2008 R2
Webserver software & version (if known)IIS 7.5
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

djrpascu

djrpascu

2012-08-08 00:14

reporter   ~20268

Forgot to mention, the lines I pasted in have the changes I made to get it working. I think the original lines where passing in null ('') values.

c_schmitz

c_schmitz

2012-08-08 12:33

administrator   ~20278

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

c_schmitz

c_schmitz

2012-08-16 10:23

administrator   ~20462

Version 2.00 RC 9 released.

Related Changesets

LimeSurvey: Yii ba64ed43

2012-08-08 05:32

c_schmitz


Details Diff
Fixed issue 06448: Error when saving global settings on MSSQL Affected Issues
06448
mod - application/views/admin/globalSettings_view.php Diff File

Issue History

Date Modified Username Field Change
2012-08-08 00:10 djrpascu New Issue
2012-08-08 00:14 djrpascu Note Added: 20268
2012-08-08 12:05 c_schmitz Assigned To => c_schmitz
2012-08-08 12:05 c_schmitz Status new => assigned
2012-08-08 12:33 c_schmitz Changeset attached => LimeSurvey Yii ba64ed43
2012-08-08 12:33 c_schmitz Note Added: 20278
2012-08-08 12:33 c_schmitz Resolution open => fixed
2012-08-08 12:33 c_schmitz Status assigned => resolved
2012-08-08 12:33 c_schmitz Fixed in Version => 2.00+
2012-08-12 15:32 c_schmitz Fixed in Version 2.00+ => 2.00RC9
2012-08-15 00:22 c_schmitz Target Version => 2.00RC9
2012-08-16 10:23 c_schmitz Note Added: 20462
2012-08-16 10:23 c_schmitz Status resolved => closed