View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06530Bug reportsOtherpublic2012-09-09 15:35
Reportermillsy1975 Assigned ToDenisChenu  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06530: Since latest update unable to upload documents in survey
Description

Upload File in survey takes you thought the motions but does not upload a file. This was working pre the latest update

Steps To Reproduce

Create a survey and try to upload a file

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120822
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySql 5.1.36
Server OS (if known)Qnap TS 212
Webserver software & version (if known)Apache 2.0
PHP VersionPHP/5.3.14

Relationships

related to 06536 closedc_schmitz HTML editor converts special characters to html entities within equations 

Users monitoring this issue

There are no users monitoring this issue.

Activities

startx25

startx25

2012-08-30 21:39

reporter   ~20601

Last edited: 2012-08-30 21:39

I think that file is uploaded, with survey completed, but no file in the result page (when you browse result) (can you confirm that? )

something gone wrong with json parameters, and probably with the last bug : quote in title or comment field.

DenisChenu

DenisChenu

2012-08-31 17:14

developer   ~20608

It's: http://git.io/XwuKyg

Patch:
Replace
$result = $this->sProcessStringContainingExpressionsHelper($result,$questionNum, $staticReplacement);
BY
$result = $this->sProcessStringContainingExpressionsHelper(htmlspecialchars_decode($result,ENT_QUOTES),$questionNum, $staticReplacement);

In classes/expressions/ExpressionManager.php

millsy1975

millsy1975

2012-08-31 19:08

reporter   ~20613

Thanks for answering this so quickly.

Patch:
Replace
$result = $this->sProcessStringContainingExpressionsHelper($result,$questionNum, $staticReplacement);
BY
$result = $this->sProcessStringContainingExpressionsHelper(htmlspecialchars_decode($result,ENT_QUOTES),$questionNum, $staticReplacement);

In classes/expressions/ExpressionManager.php

The above code amendment has fixed the problem.

Cheers

startx25

startx25

2012-09-03 11:25

reporter   ~20621

Last edited: 2012-09-03 14:31

this patch is already present in last update :Version 1.92+ Build 120822

It doesn't work

startx25

startx25

2012-09-03 14:47

reporter   ~20622

I have notice that file is present, but not appear in response page (admin section)

DenisChenu

DenisChenu

2012-09-06 11:21

developer   ~20626

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

DenisChenu

DenisChenu

2012-09-06 11:35

developer   ~20627

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

DenisChenu

DenisChenu

2012-09-06 11:35

developer   ~20628

Patch only javascript.

Related Changesets

LimeSurvey: master cc8f6d90

2012-09-06 02:17:35

DenisChenu

Details Diff
Fixed issue 06530 : Since latest update unable to upload documents in survey
Dev: replace & by & before split. Work with or without 06536 patch
Affected Issues
06530
mod - scripts/modaldialog.js Diff File

LimeSurvey: Yii 5f26bca7

2012-09-06 02:28:41

DenisChenu

Details Diff
Fixed issue 06530 : Since latest update unable to upload documents in survey
Dev: replace & by & before split. Work with or without 06536 patch
Dev: upload have some other bug
Affected Issues
06530
mod - scripts/modaldialog.js Diff File

Issue History

Date Modified Username Field Change
2012-08-30 16:37 millsy1975 New Issue
2012-08-30 21:39 startx25 Note Added: 20601
2012-08-30 21:39 startx25 Note Edited: 20601
2012-08-31 17:14 DenisChenu Note Added: 20608
2012-08-31 19:08 millsy1975 Note Added: 20613
2012-09-01 19:31 TMSWhite Relationship added related to 06536
2012-09-03 11:25 startx25 Note Added: 20621
2012-09-03 14:31 startx25 Note Edited: 20621
2012-09-03 14:47 startx25 Note Added: 20622
2012-09-06 11:21 DenisChenu Changeset attached => LimeSurvey master cc8f6d90
2012-09-06 11:21 DenisChenu Note Added: 20626
2012-09-06 11:21 DenisChenu Assigned To => DenisChenu
2012-09-06 11:21 DenisChenu Resolution open => fixed
2012-09-06 11:35 DenisChenu Changeset attached => LimeSurvey Yii 5f26bca7
2012-09-06 11:35 DenisChenu Note Added: 20627
2012-09-06 11:35 DenisChenu Note Added: 20628
2012-09-06 11:35 DenisChenu Status new => resolved
2012-09-06 11:35 DenisChenu Fixed in Version => 1.92+
2012-09-09 15:35 c_schmitz Status resolved => closed