View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05075Bug reportsSurvey editingpublic2011-04-11 11:30
Reportermedicnick Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91RC5 
Fixed in Version1.91RC6 
Summary05075: HELP inserts empty string
Description

When a new question is created an empty string (blank space) is inserted into the HELP field when the user did not interact with the help text box. The blank space then tells LS that a help text exists so it places the help icon and adds additional space for a help statement even if no visible help statement exists.

I think this could be handled in two different ways. One is to prevent an empty string from being inserted into the db when a new question is created but the help box is not used. The other is to make the HELP text box only appear sometimes when the admin wants to enter a help text-and allow the question options to be visible everytime without having to click question options. The options are not optional but the help box is. Make sense?

Steps To Reproduce

Create a new question.

Additional Information

You can find these values with this script in MSSQL and then can replace ALL help fields with NULL values with this simple script:
[code]
SELECT TOP 1000 [help]
FROM <database>.[dbo].[<surveyname>_questions]
WHERE help IS not NULL
--update <surveyname>_questions set help=NULL where help is not null
[/code]

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)9919
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMSSQL 2008 R2
Server OS (if known)Windows NT WEB708 6.0 build 6002
Webserver software & version (if known)IIS 7.0
PHP Version5.2.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-04-03 23:34

administrator   ~14642

I can't reproduce. When checking here with Chrome and adding a new question there is a space shown in the text editor but it is not saved. Maybe this is a leftover from an old version? Please check again.

medicnick

medicnick

2011-04-04 01:30

reporter   ~14643

I've checked it in Chrome, IE9, and FF4 with this week's SVN. This occurs when using the FCK Editor when creating new questions. Sometimes it reoccurs when editing a question. I used the above script to clear the db of the spaces but will keep watching to see if it comes up again.

c_schmitz

c_schmitz

2011-04-04 11:17

administrator   ~14645

Fixed in build 9959

c_schmitz

c_schmitz

2011-04-11 11:30

administrator   ~14751

1.91RC6 released.

Issue History

Date Modified Username Field Change
2011-04-02 22:00 medicnick New Issue
2011-04-03 23:25 c_schmitz Assigned To => c_schmitz
2011-04-03 23:25 c_schmitz Status new => assigned
2011-04-03 23:34 c_schmitz Note Added: 14642
2011-04-03 23:34 c_schmitz Status assigned => feedback
2011-04-04 01:30 medicnick Note Added: 14643
2011-04-04 01:30 medicnick Status feedback => assigned
2011-04-04 11:17 c_schmitz Note Added: 14645
2011-04-04 11:17 c_schmitz Status assigned => resolved
2011-04-04 11:17 c_schmitz Fixed in Version => 1.91RC6
2011-04-04 11:17 c_schmitz Resolution open => fixed
2011-04-11 11:30 c_schmitz Note Added: 14751
2011-04-11 11:30 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing