View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06290Bug reportsData Entry (non public)public2012-07-18 16:33
Reportermisterdot Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06290: Array (texts) responses with single quotes are truncated on data entry screen
Description

When editing responses for Array (texts) questions on the data entry screen, if the response contains a single quote, it is truncated to everything before the single quote. Responses are correct (non-truncated) on the browse data screen.

Steps To Reproduce
  1. Create a new survey with one Array (texts) question and activate
  2. Fill in 5'4" as the value
  3. Edit the response (on dataentry.php)
  4. The question value should be 5
Additional Information

This survey demonstrates the issue:
http://demo.limesurvey.org/admin/admin.php?sid=38852

Other question types (Short free text and Multiple short texts) do not exhibit the problem.
Note that I can't determine the build number of demo.limesurvey.org.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)000000
I will donate to the project if issue is resolvedNo
BrowserChrome 19.0.1084.54
Database type & versionmysql 5.1.63
Server OS (if known)Linux limesurvey-1.limesurvey.org 2.6.32-41-server #90-Ubuntu SMP Tue May 22 12:41:40 UTC 2012 x86_64
Webserver software & version (if known)Apache
PHP VersionPHP Version 5.3.2-1ubuntu4.15

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-07-06 15:20

administrator   ~19654

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

c_schmitz

c_schmitz

2012-07-18 16:33

administrator   ~19779

1.92+ version released.

Related Changesets

LimeSurvey: master a86a9846

2012-07-06 06:19:57

c_schmitz

Details Diff
Fixed issue 06290: Array (texts) responses with single quotes are truncated on data entry screen
Fixed issue: When magic quotes enabled on the server then quoting was not correct on the response data
Affected Issues
06290
mod - admin/dataentry.php Diff File
mod - classes/expressions/LimeExpressionManager.php Diff File

Issue History

Date Modified Username Field Change
2012-06-28 22:19 misterdot New Issue
2012-07-06 14:25 c_schmitz Assigned To => c_schmitz
2012-07-06 14:25 c_schmitz Status new => assigned
2012-07-06 15:20 c_schmitz Status assigned => resolved
2012-07-06 15:20 c_schmitz Fixed in Version => 1.92+
2012-07-06 15:20 c_schmitz Resolution open => fixed
2012-07-06 15:20 c_schmitz Changeset attached => LimeSurvey master a86a9846
2012-07-06 15:20 c_schmitz Note Added: 19654
2012-07-18 16:33 c_schmitz Note Added: 19779
2012-07-18 16:33 c_schmitz Status resolved => closed