View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05696Bug reportsOtherpublic2012-02-14 14:10
Reportertpartner Assigned ToTMSWhite  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.92RC2 
Target Version1.92RC4Fixed in Version1.92RC4 
Summary05696: Embedded JavaScript is fired when editing questions
Description

Scripts that are placed in the question or help source are now being fired when viewing or editing a question in the back end.

They now seem to be included in the menu bar and the question description as well as in the textarea/editor.

Depending on the script, this may disable or remove elements of the interface.

Steps To Reproduce

Load the attached survey and edit the question in Group 1.

An alert will appear twice indicating that the script in the source of the question has fired.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)12208
I will donate to the project if issue is resolvedNo
BrowserN/A
Database type & versionMySQL 5.1.41
Server OS (if known)Win
Webserver software & version (if known)Apache/2.2.14
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

tpartner

tpartner

2012-01-26 16:14

partner   ~16985

Note: This does not occur in the Yii branch.

TMSWhite

TMSWhite

2012-01-26 16:53

reporter   ~16986

I think this is a difference in the versions of FlattenText used.

TMSWhite

TMSWhite

2012-01-26 18:01

reporter   ~16988

Actually, it's that FlattenText isn't called in all the right places in _dev. Working on it.

TMSWhite

TMSWhite

2012-01-26 18:55

reporter   ~16992

Fixed in revision 12217

c_schmitz

c_schmitz

2012-02-14 14:10

administrator   ~17439

1.92RC4 released

Issue History

Date Modified Username Field Change
2012-01-26 16:11 tpartner New Issue
2012-01-26 16:11 tpartner File Added: limesurvey_survey_scriptTest.lss
2012-01-26 16:14 tpartner Note Added: 16985
2012-01-26 16:53 TMSWhite Note Added: 16986
2012-01-26 18:01 TMSWhite Note Added: 16988
2012-01-26 18:55 TMSWhite Note Added: 16992
2012-01-26 18:55 TMSWhite Status new => resolved
2012-01-26 18:55 TMSWhite Resolution open => fixed
2012-01-26 18:55 TMSWhite Assigned To => TMSWhite
2012-01-27 19:35 TMSWhite Target Version 1.92RC3 => 1.92RC4
2012-01-30 18:46 c_schmitz Fixed in Version => 1.92RC4
2012-02-14 14:10 c_schmitz Note Added: 17439
2012-02-14 14:10 c_schmitz Status resolved => closed